Searched defs:scopeChain (Results 1 - 18 of 18) sorted by path

/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/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...]
/external/webkit/Source/JavaScriptCore/debugger/
H A DDebuggerCallFrame.h52 ScopeChainNode* scopeChain() const { return m_callFrame->scopeChain(); } function in class:JSC::DebuggerCallFrame
/external/webkit/Source/JavaScriptCore/interpreter/
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 DCallFrameClosure.h38 ScopeChainNode* scopeChain; member in struct:JSC::CallFrameClosure
52 newCallFrame->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...]
/external/webkit/Source/JavaScriptCore/jit/
H A DJITStubs.cpp847 JIT::compilePutByIdTransition(callFrame->scopeChain()->globalData, codeBlock, stubInfo, structure->previousID(), structure, slot.cachedOffset(), prototypeChain, returnAddress, direct);
870 JIT::compilePatchGetArrayLength(callFrame->scopeChain()->globalData, codeBlock, returnAddress);
929 JIT::compileGetByIdProto(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, structure, slotBaseObject->structure(), propertyName, slot, offset, returnAddress);
942 JIT::compileGetByIdChain(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, structure, prototypeChain, count, propertyName, slot, offset, returnAddress);
1574 JIT::patchMethodCallProto(callFrame->globalData(), codeBlock, methodCallLinkInfo, callee, structure, callFrame->scopeChain()->globalObject->methodCallDummy(), STUB_RETURN_ADDRESS);
1641 JIT::compileGetByIdSelfList(callFrame->scopeChain()->globalData, codeBlock, stubInfo, polymorphicStructureList, listIndex, baseValue.asCell()->structure(), ident, slot, slot.cachedOffset());
1753 JIT::compileGetByIdProtoList(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, prototypeStructureList, listIndex, structure, slotBaseObject->structure(), propertyName, slot, offset);
1765 JIT::compileGetByIdChainList(callFrame->scopeChain()->globalData, callFrame, codeBlock, stubInfo, prototypeStructureList, listIndex, structure, protoChain, count, propertyName, slot, offset);
1923 return stackFrame.args[0].function()->make(stackFrame.callFrame, stackFrame.callFrame->scopeChain());
2161 stackFrame.callFrame->setScopeChain(stackFrame.callFrame->scopeChain()
2278 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
2707 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
3041 ScopeChainNode* scopeChain = callFrame->scopeChain(); local
[all...]
/external/webkit/Source/JavaScriptCore/runtime/
H A DCallData.h56 ScopeChainNode* scopeChain; member in struct:JSC::CallData::__anon14378
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 DConstructData.h56 ScopeChainNode* scopeChain; member in struct:JSC::ConstructData::__anon14380
H A DExecutable.h308 JSFunction* make(ExecState* exec, ScopeChainNode* scopeChain) argument
310 return new (exec) JSFunction(exec, this, scopeChain);
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);
H A DOperations.h462 ALWAYS_INLINE JSValue resolveBase(CallFrame* callFrame, Identifier& property, ScopeChainNode* scopeChain, bool isStrictPut) argument
464 ScopeChainIterator iter = scopeChain->begin();
467 ScopeChainIterator end = scopeChain->end();
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);
/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();
/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));

Completed in 245 milliseconds