Searched refs:bytecodeIndex (Results 1 - 25 of 54) sorted by relevance

123

/macosx-10.9.5/JavaScriptCore-7537.78.1/profiler/
H A DProfilerBytecode.h42 Bytecode(unsigned bytecodeIndex, OpcodeID opcodeID, const CString& description) argument
43 : m_bytecodeIndex(bytecodeIndex)
49 unsigned bytecodeIndex() const { return m_bytecodeIndex; } function in class:JSC::Profiler::Bytecode
60 inline unsigned getBytecodeIndexForBytecode(Bytecode* bytecode) { return bytecode->bytecodeIndex(); }
H A DProfilerBytecodeSequence.cpp52 for (unsigned bytecodeIndex = 0; bytecodeIndex < codeBlock->instructions().size();) {
54 codeBlock->dumpBytecode(out, bytecodeIndex);
55 m_sequence.append(Bytecode(bytecodeIndex, codeBlock->vm()->interpreter->getOpcodeID(codeBlock->instructions()[bytecodeIndex].u.opcode), out.toCString()));
56 bytecodeIndex += opcodeLength(
58 codeBlock->instructions()[bytecodeIndex].u.opcode));
66 unsigned BytecodeSequence::indexForBytecodeIndex(unsigned bytecodeIndex) const
68 return binarySearch<Bytecode, unsigned>(m_sequence, m_sequence.size(), bytecodeIndex, getBytecodeIndexForBytecode) - m_sequence.begin();
71 const Bytecode& BytecodeSequence::forBytecodeIndex(unsigned bytecodeIndex) cons
[all...]
H A DProfilerOrigin.cpp37 Origin::Origin(Database& database, CodeBlock* codeBlock, unsigned bytecodeIndex) argument
39 , m_bytecodeIndex(bytecodeIndex)
52 result->putDirect(exec->vm(), exec->propertyNames().bytecodeIndex, jsNumber(m_bytecodeIndex));
H A DProfilerBytecodeSequence.h51 unsigned indexForBytecodeIndex(unsigned bytecodeIndex) const;
52 const Bytecode& forBytecodeIndex(unsigned bytecodeIndex) const;
H A DProfilerOrigin.h55 Origin(Bytecodes* bytecodes, unsigned bytecodeIndex) argument
57 , m_bytecodeIndex(bytecodeIndex)
62 Origin(Database&, CodeBlock*, unsigned bytecodeIndex);
67 unsigned bytecodeIndex() const { return m_bytecodeIndex; }
H A DProfilerBytecode.cpp38 result->putDirect(exec->vm(), exec->propertyNames().bytecodeIndex, jsNumber(m_bytecodeIndex));
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/
H A DCodeOrigin.h49 unsigned bytecodeIndex : 29; member in struct:JSC::CodeOrigin
57 : bytecodeIndex(maximumBytecodeIndex)
63 explicit CodeOrigin(unsigned bytecodeIndex, InlineCallFrame* inlineCallFrame = 0, unsigned valueProfileOffset = 0) argument
64 : bytecodeIndex(bytecodeIndex)
68 RELEASE_ASSERT(bytecodeIndex <= maximumBytecodeIndex);
72 bool isSet() const { return bytecodeIndex != maximumBytecodeIndex; }
76 return bytecodeIndex + valueProfileOffset;
143 return bytecodeIndex == other.bytecodeIndex
[all...]
H A DCallLinkStatus.cpp84 CallLinkStatus CallLinkStatus::computeFromLLInt(CodeBlock* profiledBlock, unsigned bytecodeIndex) argument
87 UNUSED_PARAM(bytecodeIndex);
89 Instruction* instruction = profiledBlock->instructions().begin() + bytecodeIndex;
98 CallLinkStatus CallLinkStatus::computeFor(CodeBlock* profiledBlock, unsigned bytecodeIndex) argument
101 UNUSED_PARAM(bytecodeIndex);
104 return computeFromLLInt(profiledBlock, bytecodeIndex);
106 if (profiledBlock->couldTakeSlowCase(bytecodeIndex))
109 CallLinkInfo& callLinkInfo = profiledBlock->getCallLinkInfo(bytecodeIndex);
115 return computeFromLLInt(profiledBlock, bytecodeIndex);
H A DByValInfo.h137 ByValInfo(unsigned bytecodeIndex, CodeLocationJump badTypeJump, JITArrayMode arrayMode, int16_t badTypeJumpToDone, int16_t returnAddressToSlowPath) argument
138 : bytecodeIndex(bytecodeIndex)
147 unsigned bytecodeIndex; member in struct:JSC::ByValInfo
158 return info->bytecodeIndex;
H A DDFGExitProfile.h134 Vector<FrequentExitSite> exitSitesFor(unsigned bytecodeIndex);
145 bool hasExitSite(unsigned bytecodeIndex, ExitKind kind) const argument
147 return hasExitSite(FrequentExitSite(bytecodeIndex, kind));
171 bool hasExitSite(unsigned bytecodeIndex, ExitKind kind) const argument
173 return hasExitSite(FrequentExitSite(bytecodeIndex, kind));
H A DGetByIdStatus.cpp37 GetByIdStatus GetByIdStatus::computeFromLLInt(CodeBlock* profiledBlock, unsigned bytecodeIndex, Identifier& ident) argument
40 UNUSED_PARAM(bytecodeIndex);
43 Instruction* instruction = profiledBlock->instructions().begin() + bytecodeIndex;
113 GetByIdStatus GetByIdStatus::computeFor(CodeBlock* profiledBlock, unsigned bytecodeIndex, Identifier& ident) argument
116 UNUSED_PARAM(bytecodeIndex);
120 return computeFromLLInt(profiledBlock, bytecodeIndex, ident);
124 StructureStubInfo& stubInfo = profiledBlock->getStubInfo(bytecodeIndex);
126 return computeFromLLInt(profiledBlock, bytecodeIndex, ident);
153 if (profiledBlock->likelyToTakeSlowCase(bytecodeIndex))
161 return computeFromLLInt(profiledBlock, bytecodeIndex, iden
[all...]
H A DPutByIdStatus.cpp38 PutByIdStatus PutByIdStatus::computeFromLLInt(CodeBlock* profiledBlock, unsigned bytecodeIndex, Identifier& ident) argument
41 UNUSED_PARAM(bytecodeIndex);
44 Instruction* instruction = profiledBlock->instructions().begin() + bytecodeIndex;
81 PutByIdStatus PutByIdStatus::computeFor(CodeBlock* profiledBlock, unsigned bytecodeIndex, Identifier& ident) argument
84 UNUSED_PARAM(bytecodeIndex);
88 return computeFromLLInt(profiledBlock, bytecodeIndex, ident);
90 if (profiledBlock->likelyToTakeSlowCase(bytecodeIndex))
93 StructureStubInfo& stubInfo = profiledBlock->getStubInfo(bytecodeIndex);
95 return computeFromLLInt(profiledBlock, bytecodeIndex, ident);
H A DDFGExitProfile.cpp58 Vector<FrequentExitSite> ExitProfile::exitSitesFor(unsigned bytecodeIndex) argument
66 if (m_frequentExitSites->at(i).bytecodeOffset() == bytecodeIndex)
H A DCallLinkStatus.h75 static CallLinkStatus computeFor(CodeBlock*, unsigned bytecodeIndex);
122 static CallLinkStatus computeFromLLInt(CodeBlock*, unsigned bytecodeIndex);
H A DCodeOrigin.cpp73 out.print("bc#", stack[i].bytecodeIndex);
107 out.print(briefFunctionInformation(), ":<", RawPointer(executable.get()), ", bc#", caller.bytecodeIndex, ", ", specializationKind());
H A DGetByIdStatus.h74 static GetByIdStatus computeFor(CodeBlock*, unsigned bytecodeIndex, Identifier&);
94 static GetByIdStatus computeFromLLInt(CodeBlock*, unsigned bytecodeIndex, Identifier&);
H A DPutByIdStatus.h93 static PutByIdStatus computeFor(CodeBlock*, unsigned bytecodeIndex, Identifier&);
110 static PutByIdStatus computeFromLLInt(CodeBlock*, unsigned bytecodeIndex, Identifier&);
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/
H A DDFGDriver.h44 bool tryCompile(ExecState*, CodeBlock*, JITCode&, unsigned bytecodeIndex);
45 bool tryCompileFunction(ExecState*, CodeBlock*, JITCode&, MacroAssemblerCodePtr& jitCodeWithArityCheck, unsigned bytecodeIndex);
H A DDFGOSREntry.h53 void* prepareOSREntry(ExecState*, CodeBlock*, unsigned bytecodeIndex);
H A DDFGOSREntry.cpp39 void* prepareOSREntry(ExecState* exec, CodeBlock* codeBlock, unsigned bytecodeIndex) argument
48 dataLog("OSR in ", *codeBlock->alternative(), " -> ", *codeBlock, " from bc#", bytecodeIndex, "\n");
52 OSREntryData* entry = codeBlock->dfgOSREntryDataForBytecodeIndex(bytecodeIndex);
61 ASSERT(entry->m_bytecodeIndex == bytecodeIndex);
169 UNUSED_PARAM(bytecodeIndex);
H A DDFGDriver.cpp175 bool tryCompile(ExecState* exec, CodeBlock* codeBlock, JITCode& jitCode, unsigned bytecodeIndex) argument
177 return compile(CompileOther, exec, codeBlock, jitCode, 0, bytecodeIndex);
180 bool tryCompileFunction(ExecState* exec, CodeBlock* codeBlock, JITCode& jitCode, MacroAssemblerCodePtr& jitCodeWithArityCheck, unsigned bytecodeIndex) argument
182 return compile(CompileFunction, exec, codeBlock, jitCode, &jitCodeWithArityCheck, bytecodeIndex);
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DExecutionHarness.h39 inline bool prepareForExecution(ExecState* exec, OwnPtr<CodeBlockType>& codeBlock, JITCode& jitCode, JITCode::JITType jitType, unsigned bytecodeIndex) argument
51 return jitCompileIfAppropriate(exec, codeBlock, jitCode, jitType, bytecodeIndex, JITCode::isBaselineCode(jitType) ? JITCompilationMustSucceed : JITCompilationCanFail);
54 inline bool prepareFunctionForExecution(ExecState* exec, OwnPtr<FunctionCodeBlock>& codeBlock, JITCode& jitCode, MacroAssemblerCodePtr& jitCodeWithArityCheck, JITCode::JITType jitType, unsigned bytecodeIndex, CodeSpecializationKind kind) argument
68 return jitCompileFunctionIfAppropriate(exec, codeBlock, jitCode, jitCodeWithArityCheck, jitType, bytecodeIndex, JITCode::isBaselineCode(jitType) ? JITCompilationMustSucceed : JITCompilationCanFail);
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DJITDisassembler.h49 void setForBytecodeMainPath(unsigned bytecodeIndex, MacroAssembler::Label label) argument
51 m_labelForBytecodeIndexInMainPath[bytecodeIndex] = label;
53 void setForBytecodeSlowPath(unsigned bytecodeIndex, MacroAssembler::Label label) argument
55 m_labelForBytecodeIndexInSlowPath[bytecodeIndex] = label;
H A DJITDriver.h41 inline bool jitCompileIfAppropriate(ExecState* exec, OwnPtr<CodeBlockType>& codeBlock, JITCode& jitCode, JITCode::JITType jitType, unsigned bytecodeIndex, JITCompilationEffort effort) argument
57 dfgCompiled = DFG::tryCompile(exec, codeBlock.get(), jitCode, bytecodeIndex);
78 inline bool jitCompileFunctionIfAppropriate(ExecState* exec, OwnPtr<FunctionCodeBlock>& codeBlock, JITCode& jitCode, MacroAssemblerCodePtr& jitCodeWithArityCheck, JITCode::JITType jitType, unsigned bytecodeIndex, JITCompilationEffort effort) argument
95 dfgCompiled = DFG::tryCompileFunction(exec, codeBlock.get(), jitCode, jitCodeWithArityCheck, bytecodeIndex);
H A DCompactJITCodeMap.h60 BytecodeAndMachineOffset(unsigned bytecodeIndex, unsigned machineCodeOffset) argument
61 : m_bytecodeIndex(bytecodeIndex)
140 void append(unsigned bytecodeIndex, unsigned machineCodeOffset);
162 void read(unsigned& bytecodeIndex, unsigned& machineCodeOffset);
203 inline void CompactJITCodeMap::Encoder::append(unsigned bytecodeIndex, unsigned machineCodeOffset)
205 ASSERT(bytecodeIndex >= m_previousBytecodeIndex);
208 encodeNumber(bytecodeIndex - m_previousBytecodeIndex);
210 m_previousBytecodeIndex = bytecodeIndex;
284 inline void CompactJITCodeMap::Decoder::read(unsigned& bytecodeIndex, unsigned& machineCodeOffset)
290 bytecodeIndex
[all...]

Completed in 131 milliseconds

123