Searched refs:scopeChain (Results 1 - 25 of 39) sorted by relevance

12

/external/webkit/Source/WebCore/bindings/js/
H A DJSJavaScriptCallFrameCustom.cpp68 JSValue JSJavaScriptCallFrame::scopeChain(ExecState* exec) const function in class:WebCore::JSJavaScriptCallFrame
70 if (!impl()->scopeChain())
73 ScopeChainNode* scopeChain = impl()->scopeChain();
74 ScopeChainIterator iter = scopeChain->begin();
75 ScopeChainIterator end = scopeChain->end();
91 if (!impl()->scopeChain())
98 ScopeChainNode* scopeChain = impl()->scopeChain(); local
99 ScopeChainIterator end = scopeChain
[all...]
H A DJavaScriptCallFrame.cpp59 JSC::ScopeChainNode* JavaScriptCallFrame::scopeChain() const function in class:WebCore::JavaScriptCallFrame
64 return m_debuggerCallFrame.scopeChain();
H A DJavaScriptCallFrame.h72 JSC::ScopeChainNode* scopeChain() const;
/external/webkit/Source/JavaScriptCore/debugger/
H A DDebuggerCallFrame.h52 ScopeChainNode* scopeChain() const { return m_callFrame->scopeChain(); } function in class:JSC::DebuggerCallFrame
H A DDebuggerCallFrame.cpp98 JSValue result = globalData.interpreter->execute(eval, m_callFrame, thisObject(), m_callFrame->scopeChain());
/external/webkit/Source/JavaScriptCore/interpreter/
H A DCallFrameClosure.h38 ScopeChainNode* scopeChain; member in struct:JSC::CallFrameClosure
52 newCallFrame->setScopeChain(scopeChain);
H A DCallFrame.h43 ScopeChainNode* scopeChain() const function in class:JSC::ExecState
45 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain());
46 return this[RegisterFile::ScopeChain].Register::scopeChain();
102 void setScopeChain(ScopeChainNode* scopeChain) { static_cast<Register*>(this)[RegisterFile::ScopeChain] = scopeChain; } argument
104 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, argument
111 setScopeChain(scopeChain);
H A DInterpreter.cpp97 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
98 ScopeChainIterator iter = scopeChain->begin();
99 ScopeChainIterator end = scopeChain->end();
128 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
129 ScopeChainIterator iter = scopeChain->begin();
130 ScopeChainIterator end = scopeChain->end();
208 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
294 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
404 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
545 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
703 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
728 execute(ProgramExecutable* program, CallFrame* callFrame, ScopeChainNode* scopeChain, JSObject* thisObj) argument
853 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
945 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
971 prepareForRepeatCall(FunctionExecutable* FunctionExecutable, CallFrame* callFrame, JSFunction* function, int argCount, ScopeChainNode* scopeChain) argument
1052 execute(EvalExecutable* eval, CallFrame* callFrame, JSObject* thisObj, ScopeChainNode* scopeChain) argument
1060 execute(EvalExecutable* eval, CallFrame* callFrame, JSObject* thisObj, int globalRegisterOffset, ScopeChainNode* scopeChain) argument
[all...]
H A DCachedCall.h59 callFrame->setScopeChain(exec->scopeChain());
/external/webkit/Source/JavaScriptCore/bytecode/
H A DEvalCodeCache.h48 EvalExecutable* get(ExecState* exec, ScriptExecutable* owner, bool inStrictContext, const UString& evalSource, ScopeChainNode* scopeChain, JSValue& exceptionValue) argument
52 if (!inStrictContext && evalSource.length() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject())
57 exceptionValue = evalExecutable->compile(exec, scopeChain);
61 if (!inStrictContext && evalSource.length() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject() && m_cacheMap.size() < maxCacheEntries)
/external/webkit/Source/JavaScriptCore/runtime/
H A DScopeChain.h120 ASSERT(scopeChain()->globalData);
121 return *scopeChain()->globalData;
126 return scopeChain()->globalObject.get();
131 return scopeChain()->globalThis.get();
134 ALWAYS_INLINE ScopeChainNode* Register::scopeChain() const function in class:JSC::Register
139 ALWAYS_INLINE Register& Register::operator=(ScopeChainNode* scopeChain) argument
141 *this = JSValue(scopeChain);
H A DCallData.h56 ScopeChainNode* scopeChain; member in struct:JSC::CallData::__anon14378
H A DConstructData.h56 ScopeChainNode* scopeChain; member in struct:JSC::ConstructData::__anon14380
H A DCompletion.cpp50 Completion evaluate(ExecState* exec, ScopeChainNode* scopeChain, const SourceCode& source, JSValue thisValue) argument
64 JSValue result = exec->interpreter()->execute(program, exec, scopeChain, thisObj);
H A DFunctionConstructor.cpp108 ScopeChainNode* scopeChain = new (exec) ScopeChainNode(0, globalObject, &globalData, globalObject, exec->globalThisValue()); local
109 return new (exec) JSFunction(exec, function, scopeChain);
H A DJSFunction.h62 void setScope(JSGlobalData& globalData, ScopeChainNode* scopeChain) argument
65 m_scopeChain.set(globalData, this, scopeChain);
/external/webkit/Source/WebCore/inspector/front-end/
H A DScopeChainSidebarPane.js60 var scopeChain = callFrame.scopeChain;
61 for (var i = 0; i < scopeChain.length; ++i) {
62 var scope = scopeChain[i];
/external/webkit/Source/WebKit/mac/WebView/
H A 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/WebCore/inspector/
H A DJavaScriptCallFrame.idl47 readonly attribute [CustomGetter] Array scopeChain;
H A 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/WebCore/bindings/v8/
H A DJavaScriptCallFrame.cpp101 v8::Handle<v8::Value> JavaScriptCallFrame::scopeChain() const function in class:WebCore::JavaScriptCallFrame
103 v8::Handle<v8::Array> scopeChain = v8::Handle<v8::Array>::Cast(m_callFrame.get()->Get(v8String("scopeChain"))); local
104 v8::Handle<v8::Array> result = v8::Array::New(scopeChain->Length());
105 for (uint32_t i = 0; i < scopeChain->Length(); i++)
106 result->Set(i, scopeChain->Get(i));
H A DJavaScriptCallFrame.h57 v8::Handle<v8::Value> scopeChain() const;
H A DDebuggerScript.js216 var scopeChain = [];
248 scopeChain.push(scopeObject);
261 "scopeChain": scopeChain,
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8JavaScriptCallFrameCustom.cpp53 return impl->scopeChain();
/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DBytecodeGenerator.cpp201 BytecodeGenerator::BytecodeGenerator(ProgramNode* programNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, ProgramCodeBlock* codeBlock) argument
202 : m_shouldEmitDebugHooks(scopeChain->globalObject->debugger())
203 , m_shouldEmitProfileHooks(scopeChain->globalObject->supportsProfiling())
204 , m_shouldEmitRichSourceInfo(scopeChain->globalObject->supportsRichSourceInfo())
205 , m_scopeChain(*scopeChain->globalData, scopeChain)
220 , m_globalData(scopeChain->globalData)
239 JSGlobalObject* globalObject = scopeChain->globalObject.get();
291 JSValue value = new (exec) JSFunction(exec, makeFunction(exec, function), scopeChain);
307 globalObject->putWithAttributes(exec, function->ident(), new (exec) JSFunction(exec, makeFunction(exec, function), scopeChain), DontDelet
323 BytecodeGenerator(FunctionBodyNode* functionBody, ScopeChainNode* scopeChain, SymbolTable* symbolTable, CodeBlock* codeBlock) argument
487 BytecodeGenerator(EvalNode* evalNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, EvalCodeBlock* codeBlock) argument
[all...]

Completed in 211 milliseconds

12