Searched refs:m_codeBlock (Results 1 - 18 of 18) sorted by relevance

/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DLabel.h45 , m_codeBlock(codeBlock)
55 m_codeBlock->instructions()[m_unresolvedJumps[i].second].u.operand = m_location - m_unresolvedJumps[i].first;
84 CodeBlock* m_codeBlock; member in class:JSC::Label
H A DBytecodeGenerator.cpp142 m_codeBlock->setThisRegister(m_thisRegister.index());
147 m_codeBlock->setInstructionCount(m_codeBlock->instructions().size());
150 m_codeBlock->dump(m_scopeChain->globalObject->globalExec());
153 if ((m_codeType == FunctionCode && !m_codeBlock->needsFullScopeChain() && !m_codeBlock->usesArguments()) || m_codeType == EvalCode)
156 m_codeBlock->shrinkToFit();
208 , m_codeBlock(codeBlock)
230 m_codeBlock->setNeedsFullScopeChain(true);
237 m_codeBlock
[all...]
H A DBytecodeGenerator.h102 bool isConstructor() { return m_codeBlock->m_isConstructor; }
186 if (dst && dst != ignoredResult() && m_codeBlock->needsFullScopeChain())
234 divot -= m_codeBlock->sourceOffset();
258 m_codeBlock->addExpressionInfo(info);
263 return (m_codeType != FunctionCode || m_codeBlock->needsFullScopeChain() || rightHasAssignments) && !rightIsPure;
401 bool isStrictMode() const { return m_codeBlock->isStrictMode(); }
445 ++m_codeBlock->m_numVars;
495 m_codeBlock->addLineInfo(instructions().size(), lineNo);
500 Vector<Instruction>& instructions() { return m_codeBlock->instructions(); }
504 bool canOptimizeNonLocals() { return (m_codeType == FunctionCode) && !m_dynamicScopeDepth && !m_codeBlock
520 CodeBlock* m_codeBlock; member in class:JSC::BytecodeGenerator
[all...]
/external/webkit/Source/JavaScriptCore/jit/
H A DJIT.cpp74 , m_codeBlock(codeBlock)
170 Instruction* instructionsBegin = m_codeBlock->instructions().begin();
171 unsigned instructionCount = m_codeBlock->instructions().size();
346 ASSERT(m_propertyAccessInstructionIndex == m_codeBlock->numberOfStructureStubInfos());
347 ASSERT(m_callLinkInfoIndex == m_codeBlock->numberOfCallLinkInfos());
366 Instruction* instructionsBegin = m_codeBlock->instructions().begin();
450 ASSERT(m_propertyAccessInstructionIndex == m_codeBlock->numberOfStructureStubInfos());
452 ASSERT(m_callLinkInfoIndex == m_codeBlock->numberOfCallLinkInfos());
468 sampleCodeBlock(m_codeBlock);
470 sampleInstruction(m_codeBlock
[all...]
H A DJITInlineMethods.h44 return m_codeBlock->isConstantRegisterIndex(src) && getConstantOperand(src).isDouble();
49 ASSERT(m_codeBlock->isConstantRegisterIndex(src));
50 return m_codeBlock->getConstant(src);
266 if (!m_codeBlock->isKnownNotImmediate(vReg))
364 return m_codeBlock->isConstantRegisterIndex(src) && getConstantOperand(src).isString() && asString(getConstantOperand(src).asCell())->length() == 1;
378 if (m_codeBlock->isConstantRegisterIndex(index)) {
397 if (m_codeBlock->isConstantRegisterIndex(index)) {
447 if (m_codeBlock->isConstantRegisterIndex(index)) {
448 WriteBarrier<Unknown>& inConstantPool = m_codeBlock->constantRegister(index);
456 if (m_codeBlock
[all...]
H A DJITPropertyAccess.cpp236 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand)));
245 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[2].u.operand)));
254 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(currentInstruction[3].u.operand)));
274 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand));
293 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[2].u.operand));
327 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand));
375 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand));
395 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand));
437 Identifier* ident = &(m_codeBlock->identifier(currentInstruction[3].u.operand));
509 Identifier* ident = &(m_codeBlock
[all...]
H A DJITStubCall.h139 if (m_jit->m_codeBlock->isConstantRegisterIndex(srcVirtualRegister)) {
157 if (m_jit->m_codeBlock->isConstantRegisterIndex(src))
158 addArgument(JIT::ImmPtr(JSValue::encode(m_jit->m_codeBlock->getConstant(src))));
171 m_jit->sampleInstruction(m_jit->m_codeBlock->instructions().begin() + m_jit->m_bytecodeOffset, true);
180 m_jit->sampleInstruction(m_jit->m_codeBlock->instructions().begin() + m_jit->m_bytecodeOffset, false);
H A DJITCall.cpp88 sampleCodeBlock(m_codeBlock);
102 sampleCodeBlock(m_codeBlock);
142 sampleCodeBlock(m_codeBlock);
159 sampleCodeBlock(m_codeBlock);
218 sampleCodeBlock(m_codeBlock);
254 sampleCodeBlock(m_codeBlock);
H A DJITOpcodes.cpp315 if (m_codeBlock->isConstantRegisterIndex(src)) {
454 JSVariableObject* globalObject = m_codeBlock->globalObject();
463 JSVariableObject* globalObject = m_codeBlock->globalObject();
473 bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain();
478 activationNotCreated = branchTestPtr(Zero, addressFor(m_codeBlock->activationRegister()));
497 bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain();
502 activationNotCreated = branchTestPtr(Zero, addressFor(m_codeBlock->activationRegister()));
608 stubCall.addArgument(TrustedImmPtr(&m_codeBlock
[all...]
H A DJITPropertyAccess32_64.cpp73 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(property)));
86 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(property)));
99 stubCall.addArgument(TrustedImmPtr(&m_codeBlock->identifier(property)));
158 stubCall.addArgument(TrustedImmPtr(&(m_codeBlock->identifier(ident))));
178 stubCall.addArgument(TrustedImmPtr(&(m_codeBlock->identifier(ident))));
256 compileGetByIdSlowCase(dst, base, &(m_codeBlock->identifier(ident)), iter, true);
455 compileGetByIdSlowCase(dst, base, &(m_codeBlock->identifier(ident)), iter);
532 stubCall.addArgument(TrustedImmPtr(&(m_codeBlock->identifier(ident))));
644 LinkBuffer patchBuffer(this, m_codeBlock->executablePool(), 0);
655 RepatchBuffer repatchBuffer(m_codeBlock);
[all...]
H A DJITCall32_64.cpp88 sampleCodeBlock(m_codeBlock);
104 sampleCodeBlock(m_codeBlock);
222 sampleCodeBlock(m_codeBlock);
240 sampleCodeBlock(m_codeBlock);
299 sampleCodeBlock(m_codeBlock);
338 sampleCodeBlock(m_codeBlock);
H A DJITOpcodes32_64.cpp480 if (m_codeBlock->isConstantRegisterIndex(src))
648 JSGlobalObject* globalObject = m_codeBlock->globalObject();
661 JSGlobalObject* globalObject = m_codeBlock->globalObject();
680 bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain();
685 activationNotCreated = branch32(Equal, tagFor(m_codeBlock->activationRegister()), TrustedImm32(JSValue::EmptyValueTag));
709 bool checkTopLevel = m_codeBlock->codeType() == FunctionCode && m_codeBlock->needsFullScopeChain();
714 activationNotCreated = branch32(Equal, tagFor(m_codeBlock->activationRegister()), TrustedImm32(JSValue::EmptyValueTag));
764 stubCall.addArgument(TrustedImmPtr(&m_codeBlock
[all...]
H A DJIT.h961 CodeBlock* m_codeBlock; member in class:JSC::JIT
/external/webkit/Source/JavaScriptCore/bytecode/
H A DSamplingTool.h100 , m_codeBlock(0)
117 CodeBlock* m_codeBlock; member in struct:JSC::ScriptSampleRecord
151 , m_savedCodeBlock(samplingTool->m_codeBlock)
158 m_samplingTool->m_codeBlock = m_savedCodeBlock;
195 , m_codeBlock(0)
222 m_codeBlock = codeBlock;
226 CodeBlock** codeBlockSlot() { return &m_codeBlock; }
242 , m_codeBlock(codeBlock)
247 CodeBlock* codeBlock() { return m_codeBlock; }
254 CodeBlock* m_codeBlock; member in class:JSC::SamplingTool::Sample
263 CodeBlock* m_codeBlock; member in class:JSC::SamplingTool
[all...]
H A DSamplingTool.cpp165 m_codeBlock = codeBlock;
181 Sample sample(m_sample, m_codeBlock);
334 CodeBlock* codeBlock = record->m_codeBlock;
/external/webkit/Source/JavaScriptCore/dfg/
H A DDFGByteCodeParser.cpp51 , m_codeBlock(codeBlock)
161 unsigned argument = operand + m_codeBlock->m_numParameters + RegisterFile::CallFrameHeaderSize;
178 unsigned argument = operand + m_codeBlock->m_numParameters + RegisterFile::CallFrameHeaderSize;
194 JSValue v = m_codeBlock->getConstant(operand);
206 JSValue v = m_codeBlock->getConstant(operand);
315 return getArgument(m_codeBlock->thisRegister());
319 setArgument(m_codeBlock->thisRegister(), value);
350 return m_codeBlock->getConstant(FirstConstantRegisterIndex + m_graph[index].constantNumber());
359 unsigned numberOfConstants = m_codeBlock->numberOfConstantRegisters();
361 JSValue testMe = m_codeBlock
[all...]
H A DDFGJITCompiler.cpp240 emitPutImmediateToCallFrameHeader(m_codeBlock, RegisterFile::CodeBlock);
244 addPtr(Imm32(m_codeBlock->m_numCalleeRegisters * sizeof(Register)), callFrameRegister, regT1);
338 branch32(Equal, regT1, Imm32(m_codeBlock->m_numParameters)).linkTo(fromArityCheck, this);
360 if (m_codeBlock->needsCallReturnIndices()) {
361 m_codeBlock->callReturnIndexVector().reserveCapacity(exceptionCheckCount);
366 m_codeBlock->callReturnIndexVector().append(CallReturnOffsetToBytecodeOffset(returnAddressOffset, exceptionInfo));
373 linkBuffer.link(callArityCheck, m_codeBlock->m_isConstructor ? cti_op_construct_arityCheck : cti_op_call_arityCheck);
H A DDFGJITCompiler.h112 , m_codeBlock(codeBlock)
120 CodeBlock* codeBlock() { return m_codeBlock; }
207 return Address(callFrameRegister, (argument - (m_codeBlock->m_numParameters + RegisterFile::CallFrameHeaderSize)) * sizeof(Register));
319 CodeBlock* m_codeBlock;

Completed in 231 milliseconds