Home
last modified time | relevance | path

Searched refs:scopeChain (Results 1 – 25 of 58) sorted by relevance

123

/external/webkit/Source/WebCore/bindings/js/
DJSJavaScriptCallFrameCustom.cpp68 JSValue JSJavaScriptCallFrame::scopeChain(ExecState* exec) const in scopeChain() function in WebCore::JSJavaScriptCallFrame
70 if (!impl()->scopeChain()) in scopeChain()
73 ScopeChainNode* scopeChain = impl()->scopeChain(); in scopeChain() local
74 ScopeChainIterator iter = scopeChain->begin(); in scopeChain()
75 ScopeChainIterator end = scopeChain->end(); in scopeChain()
91 if (!impl()->scopeChain()) in scopeType()
98 ScopeChainNode* scopeChain = impl()->scopeChain(); in scopeType() local
99 ScopeChainIterator end = scopeChain->end(); in scopeType()
102 for (ScopeChainIterator iter = scopeChain->begin(); iter != end; ++iter) { in scopeType()
DJavaScriptCallFrame.cpp59 JSC::ScopeChainNode* JavaScriptCallFrame::scopeChain() const in scopeChain() function in WebCore::JavaScriptCallFrame
64 return m_debuggerCallFrame.scopeChain(); in scopeChain()
DJavaScriptCallFrame.h72 JSC::ScopeChainNode* scopeChain() const;
/external/webkit/Source/JavaScriptCore/runtime/
DScopeChain.h120 ASSERT(scopeChain()->globalData); in globalData()
121 return *scopeChain()->globalData; in globalData()
126 return scopeChain()->globalObject.get(); in lexicalGlobalObject()
131 return scopeChain()->globalThis.get(); in globalThisValue()
134 ALWAYS_INLINE ScopeChainNode* Register::scopeChain() const in scopeChain() function
139 ALWAYS_INLINE Register& Register::operator=(ScopeChainNode* scopeChain)
141 *this = JSValue(scopeChain);
DCompletion.cpp50 Completion evaluate(ExecState* exec, ScopeChainNode* scopeChain, const SourceCode& source, JSValue … in evaluate() argument
64 JSValue result = exec->interpreter()->execute(program, exec, scopeChain, thisObj); in evaluate()
DJSFunction.h62 void setScope(JSGlobalData& globalData, ScopeChainNode* scopeChain) in setScope() argument
65 m_scopeChain.set(globalData, this, scopeChain); in setScope()
DFunctionConstructor.cpp108 …ScopeChainNode* scopeChain = new (exec) ScopeChainNode(0, globalObject, &globalData, globalObject,… in constructFunction() local
109 return new (exec) JSFunction(exec, function, scopeChain); in constructFunction()
DConstructData.h56 ScopeChainNode* scopeChain; member
DCallData.h56 ScopeChainNode* scopeChain; member
/external/webkit/Source/JavaScriptCore/bytecode/
DEvalCodeCache.h48 …wner, bool inStrictContext, const UString& evalSource, ScopeChainNode* scopeChain, JSValue& except… in get() argument
52 …if (!inStrictContext && evalSource.length() < maxCacheableSourceLength && (*scopeChain->begin())->… in get()
57 exceptionValue = evalExecutable->compile(exec, scopeChain); in get()
61 …inStrictContext && evalSource.length() < maxCacheableSourceLength && (*scopeChain->begin())->isVar… in get()
/external/webkit/Source/JavaScriptCore/interpreter/
DCallFrame.h43 ScopeChainNode* scopeChain() const in scopeChain() function
45 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain()); in scopeChain()
46 return this[RegisterFile::ScopeChain].Register::scopeChain(); in scopeChain()
102 …void setScopeChain(ScopeChainNode* scopeChain) { static_cast<Register*>(this)[RegisterFile::ScopeC… in setScopeChain() argument
104 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, in init() argument
111 setScopeChain(scopeChain); in init()
DInterpreter.cpp97 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolve() local
98 ScopeChainIterator iter = scopeChain->begin(); in resolve()
99 ScopeChainIterator end = scopeChain->end(); in resolve()
128 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveSkip() local
129 ScopeChainIterator iter = scopeChain->begin(); in resolveSkip()
130 ScopeChainIterator end = scopeChain->end(); in resolveSkip()
208 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveGlobalDynamic() local
209 ScopeChainIterator iter = scopeChain->begin(); in resolveGlobalDynamic()
210 ScopeChainIterator end = scopeChain->end(); in resolveGlobalDynamic()
280 JSValue result = JSC::resolveBase(callFrame, ident, callFrame->scopeChain(), isStrictPut); in resolveBase()
[all …]
DCallFrameClosure.h38 ScopeChainNode* scopeChain; member
52 newCallFrame->setScopeChain(scopeChain); in resetCallFrame()
DCachedCall.h59 callFrame->setScopeChain(exec->scopeChain()); in newCallFrame()
/external/webkit/Source/WebCore/bindings/v8/
DJavaScriptCallFrame.cpp101 v8::Handle<v8::Value> JavaScriptCallFrame::scopeChain() const in scopeChain() function in WebCore::JavaScriptCallFrame
103 …v8::Handle<v8::Array> scopeChain = v8::Handle<v8::Array>::Cast(m_callFrame.get()->Get(v8String("sc… in scopeChain() local
104 v8::Handle<v8::Array> result = v8::Array::New(scopeChain->Length()); in scopeChain()
105 for (uint32_t i = 0; i < scopeChain->Length(); i++) in scopeChain()
106 result->Set(i, scopeChain->Get(i)); in scopeChain()
DDebuggerScript.js216 var scopeChain = [];
248 scopeChain.push(scopeObject);
261 "scopeChain": scopeChain,
DJavaScriptCallFrame.h57 v8::Handle<v8::Value> scopeChain() const;
/external/webkit/Source/WebCore/inspector/front-end/
DScopeChainSidebarPane.js60 var scopeChain = callFrame.scopeChain;
61 for (var i = 0; i < scopeChain.length; ++i) {
62 var scope = scopeChain[i];
/external/webkit/Source/WebCore/inspector/
DInjectedScriptSource.js478 this.scopeChain = this._wrapScopeChain(callFrame);
497 var scopeChain = callFrame.scopeChain;
500 for (var i = 0; i < scopeChain.length; i++) {
502 scope.object = injectedScript._wrapObject(scopeChain[i], "backtrace");
523 var scopeChain = callFrame.scopeChain;
524 for (var i = 0; i < scopeChain.length; ++i) {
525 if (member in scopeChain[i])
/external/webkit/Source/JavaScriptCore/debugger/
DDebuggerCallFrame.h52 ScopeChainNode* scopeChain() const { return m_callFrame->scopeChain(); } in scopeChain() function
DDebuggerCallFrame.cpp98 …sult = globalData.interpreter->execute(eval, m_callFrame, thisObject(), m_callFrame->scopeChain()); in evaluate()
/external/webkit/Source/WebKit/mac/WebView/
DWebScriptDebugDelegate.mm172 - (NSArray *)scopeChain
179 ScopeChainNode* scopeChain = _private->debuggerCallFrame->scopeChain();
180 if (!scopeChain->next) // global frame
185 ScopeChainIterator end = scopeChain->end();
186 for (ScopeChainIterator it = scopeChain->begin(); it != end; ++it) {
189 … object = new (scopeChain->globalData) DebuggerActivation(*scopeChain->globalData, object);
/external/webkit/Source/JavaScriptCore/bytecompiler/
DBytecodeGenerator.cpp201 BytecodeGenerator::BytecodeGenerator(ProgramNode* programNode, ScopeChainNode* scopeChain, SymbolTa… in BytecodeGenerator() argument
202 : m_shouldEmitDebugHooks(scopeChain->globalObject->debugger()) in BytecodeGenerator()
203 , m_shouldEmitProfileHooks(scopeChain->globalObject->supportsProfiling()) in BytecodeGenerator()
204 , m_shouldEmitRichSourceInfo(scopeChain->globalObject->supportsRichSourceInfo()) in BytecodeGenerator()
205 , m_scopeChain(*scopeChain->globalData, scopeChain) in BytecodeGenerator()
220 , m_globalData(scopeChain->globalData) in BytecodeGenerator()
239 JSGlobalObject* globalObject = scopeChain->globalObject.get(); in BytecodeGenerator()
291 JSValue value = new (exec) JSFunction(exec, makeFunction(exec, function), scopeChain); in BytecodeGenerator()
307 …ction->ident(), new (exec) JSFunction(exec, makeFunction(exec, function), scopeChain), DontDelete); in BytecodeGenerator()
323 BytecodeGenerator::BytecodeGenerator(FunctionBodyNode* functionBody, ScopeChainNode* scopeChain, Sy… in BytecodeGenerator() argument
[all …]
/external/webkit/Source/JavaScriptCore/jit/
DJITStubs.cpp847 …JIT::compilePutByIdTransition(callFrame->scopeChain()->globalData, codeBlock, stubInfo, structure-… in tryCachePutByID()
870 … JIT::compilePatchGetArrayLength(callFrame->scopeChain()->globalData, codeBlock, returnAddress); in tryCacheGetByID()
929 …JIT::compileGetByIdProto(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, stru… in tryCacheGetByID()
942 …JIT::compileGetByIdChain(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, stru… in tryCacheGetByID()
1574 …alData(), codeBlock, methodCallLinkInfo, callee, structure, callFrame->scopeChain()->globalObject-… in DEFINE_STUB_FUNCTION()
1641 …JIT::compileGetByIdSelfList(callFrame->scopeChain()->globalData, codeBlock, stubInfo, polymorphicS… in DEFINE_STUB_FUNCTION()
1753 …JIT::compileGetByIdProtoList(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, … in DEFINE_STUB_FUNCTION()
1765 …JIT::compileGetByIdChainList(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, … in DEFINE_STUB_FUNCTION()
1923 …turn stackFrame.args[0].function()->make(stackFrame.callFrame, stackFrame.callFrame->scopeChain()); in DEFINE_STUB_FUNCTION()
2161 stackFrame.callFrame->setScopeChain(stackFrame.callFrame->scopeChain()->push(activation)); in DEFINE_STUB_FUNCTION()
[all …]
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8JavaScriptCallFrameCustom.cpp53 return impl->scopeChain(); in scopeChainAccessorGetter()

123