/external/webkit/Source/JavaScriptCore/debugger/ |
DebuggerCallFrame.cpp | 33 #include "CodeBlock.h" 41 if (!m_callFrame->codeBlock()) 55 if (!m_callFrame->codeBlock()) 75 CodeBlock* codeBlock = m_callFrame->codeBlock(); 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()) [all...] |
/external/webkit/Source/JavaScriptCore/interpreter/ |
Register.h | 38 class CodeBlock; 60 Register& operator=(CodeBlock*); 67 CodeBlock* codeBlock() const; 85 CodeBlock* codeBlock; 132 ALWAYS_INLINE Register& Register::operator=(CodeBlock* codeBlock) 134 u.codeBlock = codeBlock; [all...] |
Interpreter.cpp | 37 #include "CodeBlock.h" 79 static int depth(CodeBlock* codeBlock, ScopeChainNode* sc) 81 if (!codeBlock->needsFullScopeChain()) 102 CodeBlock* codeBlock = callFrame->codeBlock(); 103 Identifier& ident = codeBlock->identifier(property); 122 CodeBlock* codeBlock = callFrame->codeBlock() [all...] |
CallFrame.h | 42 CodeBlock* codeBlock() const { return this[RegisterFile::CodeBlock].Register::codeBlock(); } 104 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, 110 setCodeBlock(codeBlock); 118 // Read a register from the codeframe (or constant from the CodeBlock). 144 void setCodeBlock(CodeBlock* codeBlock) { static_cast<Register*>(this)[RegisterFile::CodeBlock] = codeBlock; [all...] |
/external/webkit/Source/JavaScriptCore/bytecompiler/ |
Label.h | 32 #include "CodeBlock.h" 42 explicit Label(CodeBlock* codeBlock) 45 , m_codeBlock(codeBlock) 84 CodeBlock* m_codeBlock;
|
BytecodeGenerator.cpp | 201 BytecodeGenerator::BytecodeGenerator(ProgramNode* programNode, ScopeChainNode* scopeChain, SymbolTable* symbolTable, ProgramCodeBlock* codeBlock) 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) 330 , m_codeBlock(codeBlock) 353 codeBlock->setGlobalData(m_globalData); 371 codeBlock->setArgumentsRegister(argumentsRegister->index()) [all...] |
/external/webkit/Source/JavaScriptCore/dfg/ |
DFGGraph.cpp | 29 #include "CodeBlock.h" 44 void Graph::dump(NodeIndex nodeIndex, CodeBlock* codeBlock) 70 // $# - the index in the CodeBlock of a constant { for numeric constants the value is displayed | for integers, in both decimal and hex }. 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 [all...] |
DFGJITCompiler.h | 32 #include <bytecode/CodeBlock.h> 39 class CodeBlock; 109 JITCompiler(JSGlobalData* globalData, Graph& dfg, CodeBlock* codeBlock) 112 , m_codeBlock(codeBlock) 120 CodeBlock* codeBlock() { return m_codeBlock; } 283 return codeBlock()->constantRegister(FirstConstantRegisterIndex + constantIndex).get(); 318 // The codeBlock currently being generated, used to access information such as constant values, immediates. 319 CodeBlock* m_codeBlock [all...] |
DFGByteCodeParser.cpp | 33 #include "CodeBlock.h" 46 // This class is used to compile the dataflow graph from a CodeBlock. 49 ByteCodeParser(JSGlobalData* globalData, CodeBlock* codeBlock, Graph& graph) 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 [all...] |
DFGNonSpeculativeJIT.cpp | 529 callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByValStrict : operationPutByValNonStrict, arg1GPR, arg2GPR, arg3GPR); 553 callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdStrict : operationPutByIdNonStrict, valueGPR, baseGPR, identifier(node.identifierNumber())); 565 callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdDirectStrict : operationPutByIdDirectNonStrict, valueGPR, baseGPR, identifier(node.identifierNumber())); 573 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject(); 585 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject();
|
DFGSpeculativeJIT.cpp | 730 callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdStrict : operationPutByIdNonStrict, valueGPR, baseGPR, identifier(node.identifierNumber())); 742 callOperation(m_jit.codeBlock()->isStrictMode() ? operationPutByIdDirectStrict : operationPutByIdDirectNonStrict, valueGPR, baseGPR, identifier(node.identifierNumber())); 750 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject(); 762 JSVariableObject* globalObject = m_jit.codeBlock()->globalObject();
|
/external/webkit/Source/JavaScriptCore/bytecode/ |
SamplingTool.cpp | 32 #include "CodeBlock.h" 160 void ScriptSampleRecord::sample(CodeBlock* codeBlock, Instruction* vPC) 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()) { [all...] |
SamplingTool.h | 91 class CodeBlock; 114 void sample(CodeBlock*, Instruction*); 117 CodeBlock* m_codeBlock; 164 CodeBlock* m_savedCodeBlock; 219 void sample(CodeBlock* codeBlock, Instruction* vPC) 222 m_codeBlock = codeBlock; 226 CodeBlock** codeBlockSlot() { return &m_codeBlock; } 240 Sample(volatile intptr_t sample, CodeBlock* volatile codeBlock) [all...] |
CodeBlock.h | 53 // 0x40000000-0x7FFFFFFF Positive indices from 0x40000000 specify entries in the constant pool on the CodeBlock. 202 class CodeBlock { 206 CodeBlock(ScriptExecutable* ownerExecutable, CodeType, JSGlobalObject*, PassRefPtr<SourceProvider>, unsigned sourceOffset, SymbolTable* symbolTable, bool isConstructor); 212 virtual ~CodeBlock(); 568 class GlobalCodeBlock : public CodeBlock { 571 : CodeBlock(ownerExecutable, codeType, globalObject, sourceProvider, sourceOffset, &m_unsharedSymbolTable, false) 610 class FunctionCodeBlock : public CodeBlock { 613 // as we need to initialise the CodeBlock before we could initialise any RefPtr to hold the shared 617 : CodeBlock(ownerExecutable, codeType, globalObject, sourceProvider, sourceOffset, SharedSymbolTable::create().leakRef(), isConstructor) 628 CodeBlock* codeBlock = this->codeBlock() [all...] |
CodeBlock.cpp | 31 #include "CodeBlock.h" 83 CString CodeBlock::registerName(ExecState* exec, int r) const 141 void CodeBlock::printUnaryOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const 149 void CodeBlock::printBinaryOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const 157 void CodeBlock::printConditionalJump(ExecState* exec, const Vector<Instruction>::const_iterator&, Vector<Instruction>::const_iterator& it, int location, const char* op) const 164 void CodeBlock::printGetByIdOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const 173 void CodeBlock::printPutByIdOp(ExecState* exec, int location, Vector<Instruction>::const_iterator& it, const char* op) const 279 void CodeBlock::printStructure(const char* name, const Instruction* vPC, int operand) const 285 void CodeBlock::printStructures(const Instruction* vPC) const 331 void CodeBlock::dump(ExecState* exec) cons [all...] |
/external/webkit/Source/JavaScriptCore/jit/ |
JITStubs.cpp | 38 #include "CodeBlock.h" 806 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddressPtr returnAddress, JSValue baseValue, const PutPropertySlot& slot, StructureStubInfo* stubInfo, bool direct) 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) [all...] |
JIT.cpp | 37 #include "CodeBlock.h" 53 void ctiPatchNearCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction) 55 RepatchBuffer repatchBuffer(codeblock); 59 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction) 61 RepatchBuffer repatchBuffer(codeblock); 65 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, FunctionPtr newCalleeFunction) 67 RepatchBuffer repatchBuffer(codeblock); [all...] |
JIT.h | 41 #include "CodeBlock.h" 50 class CodeBlock; 164 void ctiPatchNearCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction); 165 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, MacroAssemblerCodePtr newCalleeFunction); 166 void ctiPatchCallByReturnAddress(CodeBlock* codeblock, ReturnAddressPtr returnAddress, FunctionPtr newCalleeFunction); 181 static JITCode compile(JSGlobalData* globalData, CodeBlock* codeBlock, CodePtr* functionEntryArityCheck = 0, void* offsetBase = 0 [all...] |
JITPropertyAccess.cpp | 32 #include "CodeBlock.h" 636 void JIT::patchGetByIdSelf(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress) 638 RepatchBuffer repatchBuffer(codeBlock); 651 void JIT::patchMethodCallProto(JSGlobalData& globalData, CodeBlock* codeBlock, MethodCallLinkInfo& methodCallLinkInfo, JSFunction* callee, Structure* structure, JSObject* proto, ReturnAddressPtr returnAddress) 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, ReturnAddressP (…) [all...] |
JITPropertyAccess32_64.cpp | 32 #include "CodeBlock.h" 659 void JIT::patchGetByIdSelf(CodeBlock* codeBlock, StructureStubInfo* stubInfo, Structure* structure, size_t cachedOffset, ReturnAddressPtr returnAddress) 661 RepatchBuffer repatchBuffer(codeBlock); 675 void JIT::patchMethodCallProto(JSGlobalData& globalData, CodeBlock* codeBlock, MethodCallLinkInfo& methodCallLinkInfo, JSFunction* callee, Structure* structure, JSObject* proto, ReturnAddressPtr returnAddress) 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, ReturnAddressP (…) [all...] |
JITInlineMethods.h | 349 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock) 352 storePtr(TrustedImmPtr(codeBlock), X86Registers::ecx); 355 ALWAYS_INLINE void JIT::sampleCodeBlock(CodeBlock* codeBlock) 357 storePtr(TrustedImmPtr(codeBlock), m_interpreter->sampler()->codeBlockSlot());
|
/external/webkit/Source/JavaScriptCore/assembler/ |
RepatchBuffer.h | 46 RepatchBuffer(CodeBlock* codeBlock) 48 JITCode& code = codeBlock->getJITCode();
|
/external/webkit/Source/JavaScriptCore/runtime/ |
Executable.cpp | 30 #include "CodeBlock.h" 197 static bool tryDFGCompile(JSGlobalData* globalData, CodeBlock* codeBlock, JITCode& jitCode, MacroAssemblerCodePtr& jitCodeWithArityCheck) 203 if (codeBlock->numberOfJumpTargets() || codeBlock->numberOfStructureStubInfos()) 208 if (!parse(dfg, globalData, codeBlock)) 211 DFG::JITCompiler dataFlowJIT(globalData, dfg, codeBlock); 216 UNUSED_PARAM(codeBlock);
|
RegExp.cpp | 253 Yarr::YarrCodeBlock& codeBlock = m_representation->m_regExpJITCode; 260 snprintf(jitAddr, jitAddrSize, "0x%014lx", reinterpret_cast<unsigned long int>(codeBlock.getAddr()));
|
Arguments.h | 182 d->isStrictMode = callFrame->codeBlock()->isStrictMode(); 215 d->isStrictMode = callFrame->codeBlock()->isStrictMode();
|