Lines Matching refs:scopeChain

97     ScopeChainNode* scopeChain = callFrame->scopeChain();
98 ScopeChainIterator iter = scopeChain->begin();
99 ScopeChainIterator end = scopeChain->end();
128 ScopeChainNode* scopeChain = callFrame->scopeChain();
129 ScopeChainIterator iter = scopeChain->begin();
130 ScopeChainIterator end = scopeChain->end();
208 ScopeChainNode* scopeChain = callFrame->scopeChain();
209 ScopeChainIterator iter = scopeChain->begin();
210 ScopeChainIterator end = scopeChain->end();
280 JSValue result = JSC::resolveBase(callFrame, ident, callFrame->scopeChain(), isStrictPut);
294 ScopeChainNode* scopeChain = callFrame->scopeChain();
295 ScopeChainIterator iter = scopeChain->begin();
296 ScopeChainIterator end = scopeChain->end();
404 ScopeChainNode* scopeChain = callFrame->scopeChain();
406 EvalExecutable* eval = codeBlock->evalCodeCache().get(callFrame, codeBlock->ownerExecutable(), codeBlock->isStrictMode(), programSource, scopeChain, exceptionValue);
412 return callFrame->globalData().interpreter->execute(eval, callFrame, callFrame->uncheckedR(codeBlock->thisRegister()).jsValue().toThisObject(callFrame), callFrame->registers() - registerFile->start() + registerOffset, scopeChain);
448 RegisterFile* registerFile = &callFrame->scopeChain()->globalObject->globalData().interpreter->registerFile();
489 printf("[ScopeChain] | %10p | %p \n", it, (*it).scopeChain()); ++it;
545 ScopeChainNode* scopeChain = callFrame->scopeChain();
559 scopeChain = callFrame->scopeChain();
561 while (!scopeChain->object->inherits(&JSActivation::s_info))
562 scopeChain = scopeChain->pop();
564 callFrame->setScopeChain(scopeChain);
565 JSActivation* activation = asActivation(scopeChain->object.get());
566 activation->copyRegisters(*scopeChain->globalData);
703 ScopeChainNode* scopeChain = callFrame->scopeChain();
707 scopeDelta = depth(codeBlock, scopeChain) - handler->scopeDepth;
710 scopeChain = scopeChain->pop();
711 callFrame->setScopeChain(scopeChain);
728 JSValue Interpreter::execute(ProgramExecutable* program, CallFrame* callFrame, ScopeChainNode* scopeChain, JSObject* thisObj)
730 ASSERT(!scopeChain->globalData->exception);
735 DynamicGlobalObjectScope globalObjectScope(*scopeChain->globalData, scopeChain->globalObject.get());
737 JSObject* error = program->compile(callFrame, scopeChain);
753 newCallFrame->init(codeBlock, 0, scopeChain, CallFrame::noCaller(), codeBlock->m_numParameters, 0);
767 result = program->generatedJITCode().execute(&m_registerFile, newCallFrame, scopeChain->globalData);
808 ScopeChainNode* callDataScopeChain = callData.js.scopeChain;
853 ScopeChainNode* scopeChain = callFrame->scopeChain();
855 newCallFrame->init(0, 0, scopeChain, callFrame->addHostCallFrameFlag(), argCount, function);
857 DynamicGlobalObjectScope globalObjectScope(*scopeChain->globalData, scopeChain->globalObject.get());
897 ScopeChainNode* constructDataScopeChain = constructData.js.scopeChain;
945 ScopeChainNode* scopeChain = callFrame->scopeChain();
947 newCallFrame->init(0, 0, scopeChain, callFrame->addHostCallFrameFlag(), argCount, constructor);
949 DynamicGlobalObjectScope globalObjectScope(*scopeChain->globalData, scopeChain->globalObject.get());
971 CallFrameClosure Interpreter::prepareForRepeatCall(FunctionExecutable* FunctionExecutable, CallFrame* callFrame, JSFunction* function, int argCount, ScopeChainNode* scopeChain)
973 ASSERT(!scopeChain->globalData->exception);
996 JSObject* error = FunctionExecutable->compileForCall(callFrame, scopeChain);
1010 newCallFrame->init(codeBlock, 0, scopeChain, callFrame->addHostCallFrameFlag(), argc, function);
1011 CallFrameClosure result = { callFrame, newCallFrame, function, FunctionExecutable, scopeChain->globalData, oldEnd, scopeChain, codeBlock->m_numParameters, argc };
1052 JSValue Interpreter::execute(EvalExecutable* eval, CallFrame* callFrame, JSObject* thisObj, ScopeChainNode* scopeChain)
1054 JSObject* compileError = eval->compile(callFrame, scopeChain);
1057 return execute(eval, callFrame, thisObj, m_registerFile.size() + eval->generatedBytecode().m_numParameters + RegisterFile::CallFrameHeaderSize, scopeChain);
1060 JSValue Interpreter::execute(EvalExecutable* eval, CallFrame* callFrame, JSObject* thisObj, int globalRegisterOffset, ScopeChainNode* scopeChain)
1062 ASSERT(!scopeChain->globalData->exception);
1064 DynamicGlobalObjectScope globalObjectScope(*scopeChain->globalData, scopeChain->globalObject.get());
1069 JSObject* compileError = eval->compile(callFrame, scopeChain);
1075 for (ScopeChainNode* node = scopeChain; ; node = node->next.get()) {
1089 scopeChain = scopeChain->push(variableObject);
1106 variableObject->put(callFrame, function->name(), function->make(callFrame, scopeChain), slot);
1114 scopeChain->pop();
1121 newCallFrame->init(codeBlock, 0, scopeChain, callFrame->addHostCallFrameFlag(), codeBlock->m_numParameters, 0);
1138 result = eval->generatedJITCode().execute(&m_registerFile, newCallFrame, scopeChain->globalData);
1154 scopeChain->pop();
1196 return callFrame->scopeChain()->push(scope);
1545 callFrame->uncheckedR(dst) = JSValue(new (globalData) RegExpObject(callFrame->lexicalGlobalObject(), callFrame->scopeChain()->globalObject->regExpStructure(), regExp));
2379 ScopeChainNode* scopeChain = callFrame->scopeChain();
2380 ScopeChainIterator iter = scopeChain->begin();
2381 ScopeChainIterator end = scopeChain->end();
2409 ScopeChainNode* scopeChain = callFrame->scopeChain();
2410 ScopeChainIterator iter = scopeChain->begin();
2411 ScopeChainIterator end = scopeChain->end();
3778 callFrame->uncheckedR(dst) = JSValue(codeBlock->functionDecl(func)->make(callFrame, callFrame->scopeChain()));
3796 JSFunction* func = function->make(callFrame, callFrame->scopeChain());
3837 JSGlobalObject* globalObject = callFrame->scopeChain()->globalObject.get();
3874 ScopeChainNode* callDataScopeChain = callData.js.scopeChain;
3904 ScopeChainNode* scopeChain = callFrame->scopeChain();
3911 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call), scopeChain, callFrame, argCount, asObject(v));
4033 ScopeChainNode* callDataScopeChain = callData.js.scopeChain;
4063 ScopeChainNode* scopeChain = callFrame->scopeChain();
4069 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call_varargs), scopeChain, callFrame, argCount, asObject(v));
4234 callFrame->setScopeChain(callFrame->scopeChain()->push(activation));
4374 ScopeChainNode* callDataScopeChain = constructData.js.scopeChain;
4402 ScopeChainNode* scopeChain = callFrame->scopeChain();
4408 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_construct), scopeChain, callFrame, argCount, asObject(v));
4468 callFrame->setScopeChain(callFrame->scopeChain()->push(o));
4478 callFrame->setScopeChain(callFrame->scopeChain()->pop());
4556 ScopeChainNode* tmp = callFrame->scopeChain();