Searched defs:codeBlock (Results 1 - 22 of 22) sorted by relevance

/external/webkit/Source/JavaScriptCore/debugger/
H A DDebuggerCallFrame.cpp41 if (!m_callFrame->codeBlock())
55 if (!m_callFrame->codeBlock())
75 CodeBlock* codeBlock = m_callFrame->codeBlock(); local
76 if (!codeBlock)
79 JSValue thisValue = m_callFrame->uncheckedR(codeBlock->thisRegister()).jsValue();
88 if (!m_callFrame->codeBlock())
92 EvalExecutable* eval = EvalExecutable::create(m_callFrame, makeSource(script), m_callFrame->codeBlock()->isStrictMode());
/external/webkit/Source/JavaScriptCore/dfg/
H A DDFGByteCodeParser.cpp49 ByteCodeParser(JSGlobalData* globalData, CodeBlock* codeBlock, Graph& graph) argument
51 , m_codeBlock(codeBlock)
58 , m_constants(codeBlock->numberOfConstantRegisters())
59 , m_arguments(codeBlock->m_numParameters)
60 , m_variables(codeBlock->m_numVars)
61 , m_temporaries(codeBlock->m_numCalleeRegisters - codeBlock->m_numVars)
1068 bool parse(Graph& graph, JSGlobalData* globalData, CodeBlock* codeBlock)
1073 UNUSED_PARAM(codeBlock);
1076 return ByteCodeParser(globalData, codeBlock, grap
[all...]
H A DDFGGraph.cpp44 void Graph::dump(NodeIndex nodeIndex, CodeBlock* codeBlock) argument
71 // id# - the index in the CodeBlock of an identifier { if codeBlock is passed to dump(), the string representation is displayed }.
87 if (codeBlock)
88 printf("%sid%u{%s}", hasPrinted ? ", " : "", node.identifierNumber(), codeBlock->identifier(node.identifierNumber()).ustring().utf8().data());
96 printf("%sarg%u", hasPrinted ? ", " : "", local - codeBlock->thisRegister());
125 void Graph::dump(CodeBlock* codeBlock) argument
131 dump(i, codeBlock);
/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DLabel.h42 explicit Label(CodeBlock* codeBlock) argument
45 , m_codeBlock(codeBlock)
H A DBytecodeGenerator.cpp201 BytecodeGenerator::BytecodeGenerator(ProgramNode* programNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, ProgramCodeBlock* codeBlock) argument
208 , m_codeBlock(codeBlock)
233 codeBlock->setGlobalData(m_globalData);
320 codeBlock->m_numCapturedVars = codeBlock->m_numVars;
323 BytecodeGenerator::BytecodeGenerator(FunctionBodyNode* functionBody, ScopeChainNode* scopeChain, SymbolTable* symbolTable, CodeBlock* codeBlock) argument
330 , m_codeBlock(codeBlock)
353 codeBlock->setGlobalData(m_globalData);
371 codeBlock->setArgumentsRegister(argumentsRegister->index());
372 ASSERT_UNUSED(unmodifiedArgumentsRegister, unmodifiedArgumentsRegister->index() == JSC::unmodifiedArgumentsRegister(codeBlock
487 BytecodeGenerator(EvalNode* evalNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, EvalCodeBlock* codeBlock) argument
[all...]
/external/webkit/Source/JavaScriptCore/interpreter/
H A DRegister.h67 CodeBlock* codeBlock() const;
85 CodeBlock* codeBlock; member in union:JSC::Register::__anon15594
132 ALWAYS_INLINE Register& Register::operator=(CodeBlock* codeBlock) argument
134 u.codeBlock = codeBlock;
154 ALWAYS_INLINE CodeBlock* Register::codeBlock() const function in class:JSC::Register
156 return u.codeBlock;
H A DCallFrame.h42 CodeBlock* codeBlock() const { return this[RegisterFile::CodeBlock].Register::codeBlock(); } function in class:JSC::ExecState
104 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, argument
110 setCodeBlock(codeBlock);
144 void setCodeBlock(CodeBlock* codeBlock) { static_cast<Register*>(this)[RegisterFile::CodeBlock] = codeBlock; } argument
H A DInterpreter.cpp79 static int depth(CodeBlock* codeBlock, ScopeChainNode* sc) argument
81 if (!codeBlock->needsFullScopeChain())
102 CodeBlock* codeBlock = callFrame->codeBlock(); local
103 Identifier& ident = codeBlock->identifier(property);
122 CodeBlock* codeBlock = callFrame->codeBlock(); local
132 bool checkTopLevel = codeBlock->codeType() == FunctionCode && codeBlock->needsFullScopeChain();
135 if (callFrame->uncheckedR(codeBlock
163 CodeBlock* codeBlock = callFrame->codeBlock(); local
200 CodeBlock* codeBlock = callFrame->codeBlock(); local
302 CodeBlock* codeBlock = callFrame->codeBlock(); local
447 CodeBlock* codeBlock = callFrame->codeBlock(); local
542 unwindCallFrame(CallFrame*& callFrame, JSValue exceptionValue, unsigned& bytecodeOffset, CodeBlock*& codeBlock) argument
607 CodeBlock* codeBlock = callFrame->codeBlock(); local
649 CodeBlock* codeBlock = callFrame->codeBlock(); local
694 CodeBlock* codeBlock = callerFrame->codeBlock(); local
1002 CodeBlock* codeBlock = &FunctionExecutable->generatedBytecodeForCall(); local
1190 CodeBlock* codeBlock = callFrame->codeBlock(); local
1199 tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, Instruction* vPC, JSValue baseValue, const PutPropertySlot& slot) argument
1274 tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, Instruction* vPC, JSValue baseValue, const Identifier& propertyName, const PropertySlot& slot) argument
[all...]
/external/webkit/Source/JavaScriptCore/assembler/
H A DRepatchBuffer.h46 RepatchBuffer(CodeBlock* codeBlock) argument
48 JITCode& code = codeBlock->getJITCode();
/external/webkit/Source/JavaScriptCore/runtime/
H A DRegExp.cpp253 Yarr::YarrCodeBlock& codeBlock = m_representation->m_regExpJITCode; local
260 snprintf(jitAddr, jitAddrSize, "0x%014lx", reinterpret_cast<unsigned long int>(codeBlock.getAddr()));
H A DExecutable.cpp197 static bool tryDFGCompile(JSGlobalData* globalData, CodeBlock* codeBlock, JITCode& jitCode, MacroAssemblerCodePtr& jitCodeWithArityCheck) argument
203 if (codeBlock->numberOfJumpTargets() || codeBlock->numberOfStructureStubInfos())
208 if (!parse(dfg, globalData, codeBlock))
211 DFG::JITCompiler dataFlowJIT(globalData, dfg, codeBlock);
216 UNUSED_PARAM(codeBlock);
/external/webkit/Source/JavaScriptCore/bytecode/
H A DSamplingTool.cpp160 void ScriptSampleRecord::sample(CodeBlock* codeBlock, Instruction* vPC) argument
163 m_size = codeBlock->instructions().size();
165 m_codeBlock = codeBlock;
170 unsigned offest = vPC - codeBlock->instructions().begin();
171 // Since we don't read and write codeBlock and vPC atomically, this check
198 if (CodeBlock* codeBlock = sample.codeBlock()) {
200 ScriptSampleRecord* record = m_scopeSampleMap->get(codeBlock->ownerExecutable());
202 record->sample(codeBlock, sample.vPC());
334 CodeBlock* codeBlock local
[all...]
H A DSamplingTool.h219 void sample(CodeBlock* codeBlock, Instruction* vPC) argument
222 m_codeBlock = codeBlock;
240 Sample(volatile intptr_t sample, CodeBlock* volatile codeBlock) argument
242 , m_codeBlock(codeBlock)
247 CodeBlock* codeBlock() { return m_codeBlock; } function in class:JSC::SamplingTool::Sample
H A DCodeBlock.cpp1292 CodeBlock* codeBlock = *it; local
1294 #define GET_STATS(name) if (!codeBlock->m_##name.isEmpty()) { name##IsNotEmpty++; name##TotalSize += sizeInBytes(codeBlock->m_##name); }
1298 if (!codeBlock->m_symbolTable.isEmpty()) {
1300 symbolTableTotalSize += (codeBlock->m_symbolTable.capacity() * (sizeof(SymbolTable::KeyType) + sizeof(SymbolTable::MappedType)));
1303 if (codeBlock->m_rareData) {
1305 #define GET_STATS(name) if (!codeBlock->m_rareData->m_##name.isEmpty()) { name##IsNotEmpty++; name##TotalSize += sizeInBytes(codeBlock->m_rareData->m_##name); }
1309 if (!codeBlock->m_rareData->m_evalCodeCache.isEmpty())
1313 switch (codeBlock
[all...]
H A DCodeBlock.h628 CodeBlock* codeBlock = this->codeBlock(); local
629 if (codeBlock->isConstantRegisterIndex(index))
630 return *reinterpret_cast<Register*>(&codeBlock->constantRegister(index));
/external/webkit/Source/JavaScriptCore/jit/
H A DJIT.cpp71 JIT::JIT(JSGlobalData* globalData, CodeBlock* codeBlock, void* linkerOffset) argument
74 , m_codeBlock(codeBlock)
75 , m_labels(codeBlock ? codeBlock->instructions().size() : 0)
76 , m_propertyAccessCompilationInfo(codeBlock ? codeBlock->numberOfStructureStubInfos() : 0)
77 , m_callStructureStubCompilationInfo(codeBlock ? codeBlock->numberOfCallLinkInfos() : 0)
H A DJITStubs.h71 CodeBlock* codeBlock() { return static_cast<CodeBlock*>(asPointer); } function in union:JSC::JITStubArg
H A DJIT.h181 static JITCode compile(JSGlobalData* globalData, CodeBlock* codeBlock, CodePtr* functionEntryArityCheck = 0, void* offsetBase = 0) argument
183 return JIT(globalData, codeBlock, offsetBase).privateCompile(functionEntryArityCheck);
186 static void compileGetByIdProto(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, Structure* prototypeStructure, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset, ReturnAddressPtr returnAddress) argument
188 JIT jit(globalData, codeBlock);
192 static void compileGetByIdSelfList(JSGlobalData* globalData, CodeBlock* codeBlock, StructureStubInfo* stubInfo, PolymorphicAccessStructureList* polymorphicStructures, int currentIndex, Structure* structure, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset) argument
194 JIT jit(globalData, codeBlock);
197 static void compileGetByIdProtoList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlock, StructureStubInfo* stubInfo, PolymorphicAccessStructureList* prototypeStructureList, int currentIndex, Structure* structure, Structure* prototypeStructure, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset) argument
199 JIT jit(globalData, codeBlock);
202 static void compileGetByIdChainList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlock, StructureStubInfo* stubInfo, PolymorphicAccessStructureList* prototypeStructureList, int currentIndex, Structure* structure, StructureChain* chain, size_t count, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset) argument
204 JIT jit(globalData, codeBlock);
208 compileGetByIdChain(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, StructureChain* chain, size_t count, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset, ReturnAddressPtr returnAddress) argument
214 compilePutByIdTransition(JSGlobalData* globalData, CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* oldStructure, Structure* newStructure, size_t cachedOffset, StructureChain* chain, ReturnAddressPtr returnAddress, bool direct) argument
240 compilePatchGetArrayLength(JSGlobalData* globalData, CodeBlock* codeBlock, ReturnAddressPtr returnAddress) argument
[all...]
H A DJITInlineMethods.h349 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock) argument
352 storePtr(TrustedImmPtr(codeBlock), X86Registers::ecx);
355 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock) argument
357 storePtr(TrustedImmPtr(codeBlock), m_interpreter->sampler()->codeBlockSlot());
H A DJITPropertyAccess.cpp636 void JIT::patchGetByIdSelf(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress) argument
638 RepatchBuffer repatchBuffer(codeBlock);
651 void JIT::patchMethodCallProto(JSGlobalData& globalData, CodeBlock* codeBlock, MethodCallLinkInfo& methodCallLinkInfo, JSFunction* callee, Structure* structure, JSObject* proto, ReturnAddressPtr returnAddress) argument
653 RepatchBuffer repatchBuffer(codeBlock);
656 methodCallLinkInfo.cachedStructure.set(globalData, codeBlock->ownerExecutable(), structure);
659 methodCallLinkInfo.cachedPrototypeStructure.set(globalData, codeBlock->ownerExecutable(), prototypeStructure);
669 void JIT::patchPutByIdReplace(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress, bool direct) argument
671 RepatchBuffer repatchBuffer(codeBlock);
H A DJITPropertyAccess32_64.cpp659 void JIT::patchGetByIdSelf(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress) argument
661 RepatchBuffer repatchBuffer(codeBlock);
675 void JIT::patchMethodCallProto(JSGlobalData& globalData, CodeBlock* codeBlock, MethodCallLinkInfo& methodCallLinkInfo, JSFunction* callee, Structure* structure, JSObject* proto, ReturnAddressPtr returnAddress) argument
677 RepatchBuffer repatchBuffer(codeBlock);
680 methodCallLinkInfo.cachedStructure.set(globalData, codeBlock->ownerExecutable(), structure);
682 methodCallLinkInfo.cachedPrototypeStructure.set(globalData, codeBlock->ownerExecutable(), prototypeStructure);
692 void JIT::patchPutByIdReplace(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress, bool direct) argument
694 RepatchBuffer repatchBuffer(codeBlock);
H A DJITStubs.cpp806 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot& slot, StructureStubInfo* stubInfo, bool direct) argument
815 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct_generic : cti_op_put_by_id_generic));
823 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct_generic : cti_op_put_by_id_generic));
829 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct_generic : cti_op_put_by_id_generic));
838 ctiPatchCallByReturnAddress(codeBlock, returnAddress, FunctionPtr(direct ? cti_op_put_by_id_direct_generic : cti_op_put_by_id_generic));
846 stubInfo->initPutByIdTransition(callFrame->globalData(), codeBlock->ownerExecutable(), structure->previousID(), structure, prototypeChain);
847 JIT::compilePutByIdTransition(callFrame->scopeChain()->globalData, codeBlock, stubInfo, structure->previousID(), structure, slot.cachedOffset(), prototypeChain, returnAddress, direct);
851 stubInfo->initPutByIdReplace(callFrame->globalData(), codeBlock->ownerExecutable(), structure);
853 JIT::patchPutByIdReplace(codeBlock, stubInfo, structure, slot.cachedOffset(), returnAddress, direct);
856 NEVER_INLINE void JITThunks::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPt argument
1441 CodeBlock* codeBlock = stackFrame.callFrame->codeBlock(); local
1460 CodeBlock* codeBlock = stackFrame.callFrame->codeBlock(); local
1523 CodeBlock* codeBlock = stackFrame.callFrame->codeBlock(); local
1594 CodeBlock* codeBlock = stackFrame.callFrame->codeBlock(); local
1623 CodeBlock* codeBlock = callFrame->codeBlock(); local
1731 CodeBlock* codeBlock = callFrame->codeBlock(); local
2095 CodeBlock* codeBlock = 0; local
2129 CodeBlock* codeBlock = 0; local
2714 CodeBlock* codeBlock = callFrame->codeBlock(); local
2745 CodeBlock* codeBlock = callFrame->codeBlock(); local
3433 CodeBlock* codeBlock = callFrame->codeBlock(); local
3454 CodeBlock* codeBlock = callFrame->codeBlock(); local
3475 CodeBlock* codeBlock = callFrame->codeBlock(); local
[all...]

Completed in 300 milliseconds