/external/webkit/Source/JavaScriptCore/interpreter/ |
D | Interpreter.cpp | 79 static int depth(CodeBlock* codeBlock, ScopeChainNode* sc) in depth() argument 81 if (!codeBlock->needsFullScopeChain()) in depth() 102 CodeBlock* codeBlock = callFrame->codeBlock(); in resolve() local 103 Identifier& ident = codeBlock->identifier(property); in resolve() 122 CodeBlock* codeBlock = callFrame->codeBlock(); in resolveSkip() local 132 bool checkTopLevel = codeBlock->codeType() == FunctionCode && codeBlock->needsFullScopeChain(); in resolveSkip() 135 if (callFrame->uncheckedR(codeBlock->activationRegister()).jsValue()) in resolveSkip() 142 Identifier& ident = codeBlock->identifier(property); in resolveSkip() 163 CodeBlock* codeBlock = callFrame->codeBlock(); in resolveGlobal() local 164 JSGlobalObject* globalObject = codeBlock->globalObject(); in resolveGlobal() [all …]
|
D | Register.h | 67 CodeBlock* codeBlock() const; 85 CodeBlock* codeBlock; member 132 ALWAYS_INLINE Register& Register::operator=(CodeBlock* codeBlock) 134 u.codeBlock = codeBlock; 154 ALWAYS_INLINE CodeBlock* Register::codeBlock() const in codeBlock() function 156 return u.codeBlock; in codeBlock()
|
D | CallFrame.h | 42 CodeBlock* codeBlock() const { return this[RegisterFile::CodeBlock].Register::codeBlock(); } in codeBlock() function 104 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, in init() argument 110 setCodeBlock(codeBlock); in init() 144 …void setCodeBlock(CodeBlock* codeBlock) { static_cast<Register*>(this)[RegisterFile::CodeBlock] = … in setCodeBlock() argument
|
/external/webkit/Source/JavaScriptCore/debugger/ |
D | DebuggerCallFrame.cpp | 41 if (!m_callFrame->codeBlock()) in functionName() 55 if (!m_callFrame->codeBlock()) in calculatedFunctionName() 75 CodeBlock* codeBlock = m_callFrame->codeBlock(); in thisObject() local 76 if (!codeBlock) in thisObject() 79 JSValue thisValue = m_callFrame->uncheckedR(codeBlock->thisRegister()).jsValue(); in thisObject() 88 if (!m_callFrame->codeBlock()) in evaluate() 92 … = EvalExecutable::create(m_callFrame, makeSource(script), m_callFrame->codeBlock()->isStrictMode(… in evaluate()
|
/external/webkit/Source/JavaScriptCore/jit/ |
D | JITStubs.cpp | 806 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddr… in tryCachePutByID() argument 815 …ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct… in tryCachePutByID() 823 …ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct… in tryCachePutByID() 829 …ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct… in tryCachePutByID() 838 …ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct… in tryCachePutByID() 846 …stubInfo->initPutByIdTransition(callFrame->globalData(), codeBlock->ownerExecutable(), structure->… in tryCachePutByID() 847 …JIT::compilePutByIdTransition(callFrame->scopeChain()->globalData, codeBlock, stubInfo, structure-… in tryCachePutByID() 851 stubInfo->initPutByIdReplace(callFrame->globalData(), codeBlock->ownerExecutable(), structure); in tryCachePutByID() 853 …JIT::patchPutByIdReplace(codeBlock, stubInfo, structure, slot.cachedOffset(), returnAddress, direc… in tryCachePutByID() 856 NEVER_INLINE void JITThunks::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddr… in tryCacheGetByID() argument [all …]
|
D | JIT.h | 181 …static JITCode compile(JSGlobalData* globalData, CodeBlock* codeBlock, CodePtr* functionEntryArity… 183 return JIT(globalData, codeBlock, offsetBase).privateCompile(functionEntryArityCheck); 186 …GetByIdProto(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlock, StructureStubIn… in compileGetByIdProto() argument 188 JIT jit(globalData, codeBlock); in compileGetByIdProto() 192 …static void compileGetByIdSelfList(JSGlobalData* globalData, CodeBlock* codeBlock, StructureStubIn… in compileGetByIdSelfList() argument 194 JIT jit(globalData, codeBlock); in compileGetByIdSelfList() 197 …yIdProtoList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlock, StructureStubIn… in compileGetByIdProtoList() argument 199 JIT jit(globalData, codeBlock); in compileGetByIdProtoList() 202 …yIdChainList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlock, StructureStubIn… in compileGetByIdChainList() argument 204 JIT jit(globalData, codeBlock); in compileGetByIdChainList() [all …]
|
D | JIT.cpp | 71 JIT::JIT(JSGlobalData* globalData, CodeBlock* codeBlock, void* linkerOffset) in JIT() argument 74 , m_codeBlock(codeBlock) in JIT() 75 , m_labels(codeBlock ? codeBlock->instructions().size() : 0) in JIT() 76 , m_propertyAccessCompilationInfo(codeBlock ? codeBlock->numberOfStructureStubInfos() : 0) in JIT() 77 , m_callStructureStubCompilationInfo(codeBlock ? codeBlock->numberOfCallLinkInfos() : 0) in JIT()
|
D | JITPropertyAccess.cpp | 636 void JIT::patchGetByIdSelf(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure,… in patchGetByIdSelf() argument 638 RepatchBuffer repatchBuffer(codeBlock); in patchGetByIdSelf() 651 void JIT::patchMethodCallProto(JSGlobalData& globalData, CodeBlock* codeBlock, MethodCallLinkInfo& … in patchMethodCallProto() argument 653 RepatchBuffer repatchBuffer(codeBlock); in patchMethodCallProto() 656 methodCallLinkInfo.cachedStructure.set(globalData, codeBlock->ownerExecutable(), structure); in patchMethodCallProto() 659 …methodCallLinkInfo.cachedPrototypeStructure.set(globalData, codeBlock->ownerExecutable(), prototyp… in patchMethodCallProto() 669 void JIT::patchPutByIdReplace(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structu… in patchPutByIdReplace() argument 671 RepatchBuffer repatchBuffer(codeBlock); in patchPutByIdReplace()
|
D | JITPropertyAccess32_64.cpp | 659 void JIT::patchGetByIdSelf(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure,… in patchGetByIdSelf() argument 661 RepatchBuffer repatchBuffer(codeBlock); in patchGetByIdSelf() 675 void JIT::patchMethodCallProto(JSGlobalData& globalData, CodeBlock* codeBlock, MethodCallLinkInfo& … in patchMethodCallProto() argument 677 RepatchBuffer repatchBuffer(codeBlock); in patchMethodCallProto() 680 methodCallLinkInfo.cachedStructure.set(globalData, codeBlock->ownerExecutable(), structure); in patchMethodCallProto() 682 …methodCallLinkInfo.cachedPrototypeStructure.set(globalData, codeBlock->ownerExecutable(), prototyp… in patchMethodCallProto() 692 void JIT::patchPutByIdReplace(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structu… in patchPutByIdReplace() argument 694 RepatchBuffer repatchBuffer(codeBlock); in patchPutByIdReplace()
|
D | JITInlineMethods.h | 349 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock) in sampleCodeBlock() argument 352 storePtr(TrustedImmPtr(codeBlock), X86Registers::ecx); in sampleCodeBlock() 355 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock) in sampleCodeBlock() argument 357 storePtr(TrustedImmPtr(codeBlock), m_interpreter->sampler()->codeBlockSlot()); in sampleCodeBlock()
|
/external/webkit/Source/JavaScriptCore/bytecode/ |
D | SamplingTool.cpp | 160 void ScriptSampleRecord::sample(CodeBlock* codeBlock, Instruction* vPC) in sample() argument 163 m_size = codeBlock->instructions().size(); in sample() 165 m_codeBlock = codeBlock; in sample() 170 unsigned offest = vPC - codeBlock->instructions().begin(); in sample() 198 if (CodeBlock* codeBlock = sample.codeBlock()) { in doRun() local 200 ScriptSampleRecord* record = m_scopeSampleMap->get(codeBlock->ownerExecutable()); in doRun() 202 record->sample(codeBlock, sample.vPC()); in doRun() 334 CodeBlock* codeBlock = record->m_codeBlock; in dump() local 340 …ld (%.3f%%)\n", i + 1, record->m_executable->sourceURL().utf8().data(), codeBlock->lineNumberForBy… in dump() 343 codeBlock->dump(exec); in dump() [all …]
|
D | SamplingTool.h | 219 void sample(CodeBlock* codeBlock, Instruction* vPC) in sample() argument 222 m_codeBlock = codeBlock; in sample() 240 Sample(volatile intptr_t sample, CodeBlock* volatile codeBlock) in Sample() argument 242 , m_codeBlock(codeBlock) in Sample() 247 CodeBlock* codeBlock() { return m_codeBlock; } in codeBlock() function
|
D | CodeBlock.h | 628 CodeBlock* codeBlock = this->codeBlock(); in r() local 629 if (codeBlock->isConstantRegisterIndex(index)) in r() 630 return *reinterpret_cast<Register*>(&codeBlock->constantRegister(index)); in r()
|
D | CodeBlock.cpp | 1292 CodeBlock* codeBlock = *it; in dumpStatistics() local 1294 …#define GET_STATS(name) if (!codeBlock->m_##name.isEmpty()) { name##IsNotEmpty++; name##TotalSize … in dumpStatistics() 1298 if (!codeBlock->m_symbolTable.isEmpty()) { in dumpStatistics() 1300 …symbolTableTotalSize += (codeBlock->m_symbolTable.capacity() * (sizeof(SymbolTable::KeyType) + siz… in dumpStatistics() 1303 if (codeBlock->m_rareData) { in dumpStatistics() 1305 …ne GET_STATS(name) if (!codeBlock->m_rareData->m_##name.isEmpty()) { name##IsNotEmpty++; name##Tot… in dumpStatistics() 1309 if (!codeBlock->m_rareData->m_evalCodeCache.isEmpty()) in dumpStatistics() 1313 switch (codeBlock->codeType()) { in dumpStatistics()
|
/external/webkit/Source/JavaScriptCore/dfg/ |
D | DFGGraph.cpp | 44 void Graph::dump(NodeIndex nodeIndex, CodeBlock* codeBlock) in dump() argument 87 if (codeBlock) in dump() 88 …printf("%sid%u{%s}", hasPrinted ? ", " : "", node.identifierNumber(), codeBlock->identifier(node.i… in dump() 96 printf("%sarg%u", hasPrinted ? ", " : "", local - codeBlock->thisRegister()); in dump() 125 void Graph::dump(CodeBlock* codeBlock) in dump() argument 131 dump(i, codeBlock); in dump()
|
D | DFGJITCompiler.h | 109 JITCompiler(JSGlobalData* globalData, Graph& dfg, CodeBlock* codeBlock) in JITCompiler() argument 112 , m_codeBlock(codeBlock) in JITCompiler() 120 CodeBlock* codeBlock() { return m_codeBlock; } in codeBlock() function 283 return codeBlock()->constantRegister(FirstConstantRegisterIndex + constantIndex).get(); in valueOfJSConstant()
|
D | DFGByteCodeParser.cpp | 49 ByteCodeParser(JSGlobalData* globalData, CodeBlock* codeBlock, Graph& graph) in ByteCodeParser() argument 51 , m_codeBlock(codeBlock) in ByteCodeParser() 58 , m_constants(codeBlock->numberOfConstantRegisters()) in ByteCodeParser() 59 , m_arguments(codeBlock->m_numParameters) in ByteCodeParser() 60 , m_variables(codeBlock->m_numVars) in ByteCodeParser() 61 , m_temporaries(codeBlock->m_numCalleeRegisters - codeBlock->m_numVars) in ByteCodeParser() 1068 bool parse(Graph& graph, JSGlobalData* globalData, CodeBlock* codeBlock) in parse() argument 1073 UNUSED_PARAM(codeBlock); in parse() 1076 return ByteCodeParser(globalData, codeBlock, graph).parse(); in parse()
|
D | DFGNonSpeculativeJIT.cpp | 529 …callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByValStrict : operationPutByValNonSt… in compile() 553 …callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdStrict : operationPutByIdNonStri… in compile() 565 …callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdDirectStrict : operationPutByIdD… in compile() 573 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject(); in compile() 585 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject(); in compile()
|
D | DFGSpeculativeJIT.cpp | 730 …callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdStrict : operationPutByIdNonStri… in compile() 742 …callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdDirectStrict : operationPutByIdD… in compile() 750 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject(); in compile() 762 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject(); in compile()
|
/external/webkit/Source/JavaScriptCore/bytecompiler/ |
D | Label.h | 42 explicit Label(CodeBlock* codeBlock) in Label() argument 45 , m_codeBlock(codeBlock) in Label()
|
D | BytecodeGenerator.cpp | 201 …de* programNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, ProgramCodeBlock* codeBlock) in BytecodeGenerator() argument 208 , m_codeBlock(codeBlock) in BytecodeGenerator() 233 codeBlock->setGlobalData(m_globalData); in BytecodeGenerator() 320 codeBlock->m_numCapturedVars = codeBlock->m_numVars; in BytecodeGenerator() 323 …BodyNode* functionBody, ScopeChainNode* scopeChain, SymbolTable* symbolTable, CodeBlock* codeBlock) in BytecodeGenerator() argument 330 , m_codeBlock(codeBlock) in BytecodeGenerator() 353 codeBlock->setGlobalData(m_globalData); in BytecodeGenerator() 371 codeBlock->setArgumentsRegister(argumentsRegister->index()); in BytecodeGenerator() 372 …nmodifiedArgumentsRegister->index() == JSC::unmodifiedArgumentsRegister(codeBlock->argumentsRegist… in BytecodeGenerator() 424 codeBlock->m_numCapturedVars = codeBlock->m_numVars; in BytecodeGenerator() [all …]
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | Executable.cpp | 197 static bool tryDFGCompile(JSGlobalData* globalData, CodeBlock* codeBlock, JITCode& jitCode, MacroAs… in tryDFGCompile() argument 203 if (codeBlock->numberOfJumpTargets() || codeBlock->numberOfStructureStubInfos()) in tryDFGCompile() 208 if (!parse(dfg, globalData, codeBlock)) in tryDFGCompile() 211 DFG::JITCompiler dataFlowJIT(globalData, dfg, codeBlock); in tryDFGCompile() 216 UNUSED_PARAM(codeBlock); in tryDFGCompile()
|
D | RegExp.cpp | 253 Yarr::YarrCodeBlock& codeBlock = m_representation->m_regExpJITCode; in printTraceData() local 260 …printf(jitAddr, jitAddrSize, "0x%014lx", reinterpret_cast<unsigned long int>(codeBlock.getAddr())); in printTraceData()
|
D | Arguments.h | 182 d->isStrictMode = callFrame->codeBlock()->isStrictMode(); in Arguments() 215 d->isStrictMode = callFrame->codeBlock()->isStrictMode(); in Arguments()
|
/external/webkit/Source/JavaScriptCore/assembler/ |
D | RepatchBuffer.h | 46 RepatchBuffer(CodeBlock* codeBlock) in RepatchBuffer() argument 48 JITCode& code = codeBlock->getJITCode(); in RepatchBuffer()
|