Lines Matching refs:m_codeBlock
142 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->m_numParameters = 1; // Allocate space for "this"
244 m_globalVarStorageOffset = -RegisterFile::CallFrameHeaderSize - m_codeBlock->m_numParameters - registerFile->size();
330 , m_codeBlock(codeBlock)
351 m_codeBlock->setNeedsFullScopeChain(true);
356 if (m_codeBlock->needsFullScopeChain()) {
359 m_codeBlock->setActivationRegister(m_activationRegister->index());
364 if (m_codeBlock->needsFullScopeChain() || functionBody->usesArguments()) {
377 if (m_codeBlock->isStrictMode()) {
459 ++m_codeBlock->m_numParameters;
494 , m_codeBlock(codeBlock)
515 m_codeBlock->setNeedsFullScopeChain(true);
519 m_codeBlock->m_numParameters = 1; // Allocate space for "this"
523 m_codeBlock->addFunctionDecl(makeFunction(m_globalData, functionStack[i]));
555 ++m_codeBlock->m_numParameters;
588 if (m_codeBlock->usesArguments() && m_codeType == FunctionCode)
639 m_codeBlock->m_numCalleeRegisters = max<int>(m_codeBlock->m_numCalleeRegisters, m_calleeRegisters.size());
656 size_t count = m_codeBlock->m_numCalleeRegisters;
681 m_labels.append(m_codeBlock);
690 if (m_codeBlock->numberOfJumpTargets()) {
691 unsigned lastLabelIndex = m_codeBlock->lastJumpTarget();
699 m_codeBlock->addJumpTarget(newLabelIndex);
928 instructions().append(Instruction(*m_globalData, m_codeBlock->ownerExecutable(), m_scopeChain->globalObject->callFunction()));
939 instructions().append(Instruction(*m_globalData, m_codeBlock->ownerExecutable(), m_scopeChain->globalObject->applyFunction()));
947 pair<IdentifierMap::iterator, bool> result = m_identifierMap.add(rep, m_codeBlock->numberOfIdentifiers());
949 m_codeBlock->addIdentifier(Identifier(m_globalData, rep));
962 m_codeBlock->addConstant(JSValue(v));
971 return m_codeBlock->addRegExp(r);
1044 && m_codeBlock->isConstantRegisterIndex(src2->index())
1045 && m_codeBlock->constantRegister(src2->index()).get().isString()) {
1046 const UString& value = asString(m_codeBlock->constantRegister(src2->index()).get())->tryGetValue();
1168 stackDepth = depth + m_codeBlock->needsFullScopeChain();
1180 stackDepth = depth + m_codeBlock->needsFullScopeChain();
1227 m_codeBlock->addGlobalResolveInfo(instructions().size());
1229 m_codeBlock->addGlobalResolveInstruction(instructions().size());
1316 if (!m_codeBlock->isStrictMode())
1367 m_codeBlock->addGlobalResolveInfo(instructions().size());
1369 m_codeBlock->addGlobalResolveInstruction(instructions().size());
1389 m_codeBlock->addStructureStubInfo(StructureStubInfo(access_get_by_id));
1391 m_codeBlock->addPropertyAccessInstruction(instructions().size());
1409 ASSERT(base->index() == m_codeBlock->argumentsRegister());
1418 m_codeBlock->addStructureStubInfo(StructureStubInfo(access_put_by_id));
1420 m_codeBlock->addPropertyAccessInstruction(instructions().size());
1438 m_codeBlock->addStructureStubInfo(StructureStubInfo(access_put_by_id));
1440 m_codeBlock->addPropertyAccessInstruction(instructions().size());
1486 ASSERT(base->index() == m_codeBlock->argumentsRegister());
1568 return emitNewFunctionInternal(dst, m_codeBlock->addFunctionDecl(makeFunction(m_globalData, function)), false);
1575 ptr.first->second = m_codeBlock->addFunctionDecl(makeFunction(m_globalData, function));
1600 unsigned index = m_codeBlock->addFunctionExpr(makeFunction(m_globalData, function));
1619 if (!m_codeBlock->usesArguments())
1625 if (m_codeBlock->isStrictMode())
1629 instructions().append(m_codeBlock->argumentsRegister());
1636 if (!m_codeBlock->needsFullScopeChain())
1673 m_codeBlock->addCallLinkInfo();
1734 if (m_codeBlock->needsFullScopeChain()) {
1737 instructions().append(m_codeBlock->argumentsRegister());
1738 } else if (m_codeBlock->usesArguments() && m_codeBlock->m_numParameters > 1
1739 && !m_codeBlock->isStrictMode()) { // If there are no named parameters, there's nothing to tear off, since extra / unnamed parameters get copied to the arguments object at construct time.
1741 instructions().append(m_codeBlock->argumentsRegister());
1790 m_codeBlock->addCallLinkInfo();
2060 m_codeBlock->addExceptionHandler(info);
2196 instructions()[switchInfo.bytecodeOffset + 1] = m_codeBlock->numberOfImmediateSwitchJumpTables();
2199 SimpleJumpTable& jumpTable = m_codeBlock->addImmediateSwitchJumpTable();
2202 instructions()[switchInfo.bytecodeOffset + 1] = m_codeBlock->numberOfCharacterSwitchJumpTables();
2205 SimpleJumpTable& jumpTable = m_codeBlock->addCharacterSwitchJumpTable();
2209 instructions()[switchInfo.bytecodeOffset + 1] = m_codeBlock->numberOfStringSwitchJumpTables();
2212 StringJumpTable& jumpTable = m_codeBlock->addStringSwitchJumpTable();
2229 m_codeBlock->setIsNumericCompareFunction(isNumericCompareFunction);