Home
last modified time | relevance | path

Searched refs:m_codeBlock (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/JavaScriptCore/jit/
DJIT.cpp74 , m_codeBlock(codeBlock) in JIT()
170 Instruction* instructionsBegin = m_codeBlock->instructions().begin(); in privateCompileMainPass()
171 unsigned instructionCount = m_codeBlock->instructions().size(); in privateCompileMainPass()
346 ASSERT(m_propertyAccessInstructionIndex == m_codeBlock->numberOfStructureStubInfos()); in privateCompileMainPass()
347 ASSERT(m_callLinkInfoIndex == m_codeBlock->numberOfCallLinkInfos()); in privateCompileMainPass()
366 Instruction* instructionsBegin = m_codeBlock->instructions().begin(); in privateCompileSlowCases()
450 ASSERT(m_propertyAccessInstructionIndex == m_codeBlock->numberOfStructureStubInfos()); in privateCompileSlowCases()
452 ASSERT(m_callLinkInfoIndex == m_codeBlock->numberOfCallLinkInfos()); in privateCompileSlowCases()
468 sampleCodeBlock(m_codeBlock); in privateCompile()
470 sampleInstruction(m_codeBlock->instructions().begin()); in privateCompile()
[all …]
DJITInlineMethods.h44 return m_codeBlock->isConstantRegisterIndex(src) && getConstantOperand(src).isDouble(); in isOperandConstantImmediateDouble()
49 ASSERT(m_codeBlock->isConstantRegisterIndex(src)); in getConstantOperand()
50 return m_codeBlock->getConstant(src); in getConstantOperand()
266 if (!m_codeBlock->isKnownNotImmediate(vReg)) in linkSlowCaseIfNotJSCell()
364 …return m_codeBlock->isConstantRegisterIndex(src) && getConstantOperand(src).isString() && asString… in isOperandConstantImmediateChar()
378 if (m_codeBlock->isConstantRegisterIndex(index)) { in emitLoadTag()
397 if (m_codeBlock->isConstantRegisterIndex(index)) { in emitLoadPayload()
447 if (m_codeBlock->isConstantRegisterIndex(index)) { in emitLoadDouble()
448 WriteBarrier<Unknown>& inConstantPool = m_codeBlock->constantRegister(index); in emitLoadDouble()
456 if (m_codeBlock->isConstantRegisterIndex(index)) { in emitLoadInt32ToDouble()
[all …]
DJITPropertyAccess.cpp236 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_put_getter()
245 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_put_setter()
254 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[3].u.operand))); in emit_op_del_by_id()
274 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand)); in emit_op_get_by_id()
293 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[2].u.operand)); in emit_op_put_by_id()
327 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand)); in emit_op_method_check()
375 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand)); in emitSlow_op_method_check()
395 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand)); in emit_op_get_by_id()
437 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand)); in emitSlow_op_get_by_id()
509 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[2].u.operand)); in emitSlow_op_put_by_id()
[all …]
DJITOpcodes.cpp315 if (m_codeBlock->isConstantRegisterIndex(src)) { in emit_op_mov()
454 JSVariableObject* globalObject = m_codeBlock->globalObject(); in emit_op_get_global_var()
463 JSVariableObject* globalObject = m_codeBlock->globalObject(); in emit_op_put_global_var()
473 …bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain(); in emit_op_get_scoped_var()
478 … activationNotCreated = branchTestPtr(Zero, addressFor(m_codeBlock->activationRegister())); in emit_op_get_scoped_var()
497 …bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain(); in emit_op_put_scoped_var()
502 … activationNotCreated = branchTestPtr(Zero, addressFor(m_codeBlock->activationRegister())); in emit_op_put_scoped_var()
608 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_resolve()
639 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_resolve_base()
647 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_ensure_property_exists()
[all …]
DJITPropertyAccess32_64.cpp73 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(property))); in emit_op_put_getter()
86 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(property))); in emit_op_put_setter()
99 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(property))); in emit_op_del_by_id()
158 stubCall.addArgument(TrustedImmPtr(&(m_codeBlock->identifier(ident)))); in emit_op_get_by_id()
178 stubCall.addArgument(TrustedImmPtr(&(m_codeBlock->identifier(ident)))); in emit_op_put_by_id()
256 compileGetByIdSlowCase(dst, base, &(m_codeBlock->identifier(ident)), iter, true); in emitSlow_op_method_check()
455 compileGetByIdSlowCase(dst, base, &(m_codeBlock->identifier(ident)), iter); in emitSlow_op_get_by_id()
532 stubCall.addArgument(TrustedImmPtr(&(m_codeBlock->identifier(ident)))); in emitSlow_op_put_by_id()
644 LinkBuffer patchBuffer(this, m_codeBlock->executablePool(), 0); in privateCompilePutByIdTransition()
655 RepatchBuffer repatchBuffer(m_codeBlock); in privateCompilePutByIdTransition()
[all …]
DJITCall.cpp88 sampleCodeBlock(m_codeBlock); in compileOpCallVarargs()
102 sampleCodeBlock(m_codeBlock); in compileOpCallVarargsSlowCase()
142 sampleCodeBlock(m_codeBlock); in compileOpCall()
159 sampleCodeBlock(m_codeBlock); in compileOpCallSlowCase()
218 sampleCodeBlock(m_codeBlock); in compileOpCall()
254 sampleCodeBlock(m_codeBlock); in compileOpCallSlowCase()
DJITStubCall.h139 if (m_jit->m_codeBlock->isConstantRegisterIndex(srcVirtualRegister)) { in addArgument()
157 if (m_jit->m_codeBlock->isConstantRegisterIndex(src)) in addArgument()
158 addArgument(JIT::ImmPtr(JSValue::encode(m_jit->m_codeBlock->getConstant(src)))); in addArgument()
171 …m_jit->sampleInstruction(m_jit->m_codeBlock->instructions().begin() + m_jit->m_bytecodeOffset, tru… in call()
180 …m_jit->sampleInstruction(m_jit->m_codeBlock->instructions().begin() + m_jit->m_bytecodeOffset, fal… in call()
DJITOpcodes32_64.cpp480 if (m_codeBlock->isConstantRegisterIndex(src)) in emit_op_mov()
648 JSGlobalObject* globalObject = m_codeBlock->globalObject(); in emit_op_get_global_var()
661 JSGlobalObject* globalObject = m_codeBlock->globalObject(); in emit_op_put_global_var()
680 …bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain(); in emit_op_get_scoped_var()
685 …activationNotCreated = branch32(Equal, tagFor(m_codeBlock->activationRegister()), TrustedImm32(JSV… in emit_op_get_scoped_var()
709 …bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain(); in emit_op_put_scoped_var()
714 …activationNotCreated = branch32(Equal, tagFor(m_codeBlock->activationRegister()), TrustedImm32(JSV… in emit_op_put_scoped_var()
764 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_resolve()
806 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_resolve_base()
814 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand))); in emit_op_ensure_property_exists()
[all …]
DJITCall32_64.cpp88 sampleCodeBlock(m_codeBlock); in compileOpCallVarargs()
104 sampleCodeBlock(m_codeBlock); in compileOpCallVarargsSlowCase()
222 sampleCodeBlock(m_codeBlock); in compileOpCall()
240 sampleCodeBlock(m_codeBlock); in compileOpCallSlowCase()
299 sampleCodeBlock(m_codeBlock); in compileOpCall()
338 sampleCodeBlock(m_codeBlock); in compileOpCallSlowCase()
DJIT.h961 CodeBlock* m_codeBlock; variable
/external/webkit/Source/JavaScriptCore/bytecode/
DSamplingTool.h100 , m_codeBlock(0) in ScriptSampleRecord()
117 CodeBlock* m_codeBlock; member
151 , m_savedCodeBlock(samplingTool->m_codeBlock) in CallRecord()
158 m_samplingTool->m_codeBlock = m_savedCodeBlock; in ~CallRecord()
195 , m_codeBlock(0) in SamplingTool()
222 m_codeBlock = codeBlock; in sample()
226 CodeBlock** codeBlockSlot() { return &m_codeBlock; } in codeBlockSlot()
242 , m_codeBlock(codeBlock) in Sample()
247 CodeBlock* codeBlock() { return m_codeBlock; } in codeBlock()
254 CodeBlock* m_codeBlock; variable
[all …]
DSamplingTool.cpp165 m_codeBlock = codeBlock; in sample()
181 Sample sample(m_sample, m_codeBlock); in doRun()
334 CodeBlock* codeBlock = record->m_codeBlock; in dump()
/external/webkit/Source/JavaScriptCore/bytecompiler/
DBytecodeGenerator.cpp142 m_codeBlock->setThisRegister(m_thisRegister.index()); in generate()
147 m_codeBlock->setInstructionCount(m_codeBlock->instructions().size()); in generate()
150 m_codeBlock->dump(m_scopeChain->globalObject->globalExec()); in generate()
153 …if ((m_codeType == FunctionCode && !m_codeBlock->needsFullScopeChain() && !m_codeBlock->usesArgume… in generate()
156 m_codeBlock->shrinkToFit(); in generate()
208 , m_codeBlock(codeBlock) in BytecodeGenerator()
230 m_codeBlock->setNeedsFullScopeChain(true); in BytecodeGenerator()
237 m_codeBlock->m_numParameters = 1; // Allocate space for "this" in BytecodeGenerator()
244 …m_globalVarStorageOffset = -RegisterFile::CallFrameHeaderSize - m_codeBlock->m_numParameters - reg… in BytecodeGenerator()
330 , m_codeBlock(codeBlock) in BytecodeGenerator()
[all …]
DLabel.h45 , m_codeBlock(codeBlock) in Label()
55m_codeBlock->instructions()[m_unresolvedJumps[i].second].u.operand = m_location - m_unresolvedJump… in setLocation()
84 CodeBlock* m_codeBlock; variable
DBytecodeGenerator.h102 bool isConstructor() { return m_codeBlock->m_isConstructor; } in isConstructor()
186 if (dst && dst != ignoredResult() && m_codeBlock->needsFullScopeChain()) in destinationForAssignResult()
234 divot -= m_codeBlock->sourceOffset(); in emitExpressionInfo()
258 m_codeBlock->addExpressionInfo(info); in emitExpressionInfo()
263 …return (m_codeType != FunctionCode || m_codeBlock->needsFullScopeChain() || rightHasAssignments) &… in leftHandSideNeedsCopy()
401 bool isStrictMode() const { return m_codeBlock->isStrictMode(); } in isStrictMode()
445 ++m_codeBlock->m_numVars; in addVar()
495 m_codeBlock->addLineInfo(instructions().size(), lineNo); in addLineInfo()
500 Vector<Instruction>& instructions() { return m_codeBlock->instructions(); } in instructions()
504 …cals() { return (m_codeType == FunctionCode) && !m_dynamicScopeDepth && !m_codeBlock->usesEval(); } in canOptimizeNonLocals()
[all …]
/external/webkit/Source/JavaScriptCore/dfg/
DDFGByteCodeParser.cpp51 , m_codeBlock(codeBlock) in ByteCodeParser()
161 … unsigned argument = operand + m_codeBlock->m_numParameters + RegisterFile::CallFrameHeaderSize; in getArgument()
178 … unsigned argument = operand + m_codeBlock->m_numParameters + RegisterFile::CallFrameHeaderSize; in setArgument()
194 JSValue v = m_codeBlock->getConstant(operand); in getToInt32()
206 JSValue v = m_codeBlock->getConstant(operand); in getToNumber()
315 return getArgument(m_codeBlock->thisRegister()); in getThis()
319 setArgument(m_codeBlock->thisRegister(), value); in setThis()
350 … return m_codeBlock->getConstant(FirstConstantRegisterIndex + m_graph[index].constantNumber()); in valueOfJSConstant()
359 unsigned numberOfConstants = m_codeBlock->numberOfConstantRegisters(); in constantUndefined()
361 … JSValue testMe = m_codeBlock->getConstant(FirstConstantRegisterIndex + m_constantUndefined); in constantUndefined()
[all …]
DDFGJITCompiler.cpp240 emitPutImmediateToCallFrameHeader(m_codeBlock, RegisterFile::CodeBlock); in compileFunction()
244 addPtr(Imm32(m_codeBlock->m_numCalleeRegisters * sizeof(Register)), callFrameRegister, regT1); in compileFunction()
338 branch32(Equal, regT1, Imm32(m_codeBlock->m_numParameters)).linkTo(fromArityCheck, this); in compileFunction()
360 if (m_codeBlock->needsCallReturnIndices()) { in compileFunction()
361 m_codeBlock->callReturnIndexVector().reserveCapacity(exceptionCheckCount); in compileFunction()
366m_codeBlock->callReturnIndexVector().append(CallReturnOffsetToBytecodeOffset(returnAddressOffset, … in compileFunction()
373 …linkBuffer.link(callArityCheck, m_codeBlock->m_isConstructor ? cti_op_construct_arityCheck : cti_o… in compileFunction()
DDFGJITCompiler.h112 , m_codeBlock(codeBlock) in JITCompiler()
120 CodeBlock* codeBlock() { return m_codeBlock; } in codeBlock()
207 …return Address(callFrameRegister, (argument - (m_codeBlock->m_numParameters + RegisterFile::CallFr… in addressForArgument()
319 CodeBlock* m_codeBlock; variable
/external/webkit/Source/JavaScriptCore/
DChangeLog-2011-02-167303 ASSERTION FAILED: base->index() == m_codeBlock->argumentsRegister() while loading taobao.com
DChangeLog-2009-06-166991 since SamplingTool::Sample::isNull() checks the m_codeBlock