Lines Matching full:codeblock
72 * bytecode/CodeBlock.h:
106 * bytecode/CodeBlock.h:
107 (JSC::CodeBlock::getStubInfo):
108 (JSC::CodeBlock::getCallLinkInfo):
109 (JSC::CodeBlock::getMethodCallLinkInfo):
110 (JSC::CodeBlock::getBytecodeIndex):
208 * bytecode/CodeBlock.h:
1713 * bytecode/CodeBlock.cpp:
1714 (JSC::CodeBlock::dump):
1715 * bytecode/CodeBlock.h:
1717 (JSC::CodeBlock::getMethodCallLinkInfo):
1718 (JSC::CodeBlock::addMethodCallLinkInfos):
1719 (JSC::CodeBlock::methodCallLinkInfo):
1931 CodeBlock containing a handle onto the code the FunctionBodyNode also contains a
1939 * Move the CodeRef (formerly anow defunct JITCodeRef) from CodeBlock to its owner node.
1965 * bytecode/CodeBlock.cpp:
1966 (JSC::CodeBlock::CodeBlock):
1967 (JSC::CodeBlock::reparseForExceptionInfoIfNecessary):
1968 (JSC::CodeBlock::setJITCode):
1969 * bytecode/CodeBlock.h:
1970 (JSC::CodeBlock
1971 (JSC::CodeBlock::executablePool):
3046 * bytecode/CodeBlock.cpp:
3047 (JSC::CodeBlock::dump):
4064 * bytecode/CodeBlock.cpp:
4065 (JSC::CodeBlock::dump): Add support for dumping op_jnlesseq.
4111 Fix (kinda) for sampling tool breakage. The codeblock sampling tool has become
4121 a lame way. Will come back later with a proper fix from codeblock sampling.
4659 * bytecode/CodeBlock.cpp:
4660 (JSC::CodeBlock::dump): Fix dumping of op_jnless (tangentially related bugfix).
5068 * bytecode/CodeBlock.cpp:
5069 (JSC::CodeBlock::dump):
6089 * bytecode/CodeBlock.cpp:
6092 (JSC::CodeBlock::dump):
6093 * bytecode/CodeBlock.h:
6094 (JSC::CodeBlock::getConstant):
6095 (JSC::CodeBlock::addUnexpectedConstant):
6096 (JSC::CodeBlock::unexpectedConstant):
7424 * bytecode/CodeBlock.cpp:
7425 (JSC::CodeBlock::dump):
7426 * bytecode/CodeBlock.h:
7427 (JSC::CodeBlock::getConstant):
7448 (JSC::Register::codeBlock):
9116 * bytecode/CodeBlock.cpp:
9117 (JSC::CodeBlock::dump):
9298 * bytecode/CodeBlock.cpp:
9299 (JSC::CodeBlock::dump):
10282 the JIT's function calling logic that the presence of a CodeBlock implies
11010 * bytecode/CodeBlock.h:
11011 (JSC::CodeBlock::setIsNumericCompareFunction):
11012 (JSC::CodeBlock::isNumericCompareFunction):
11021 * bytecode/CodeBlock.cpp:
11022 (JSC::CodeBlock::CodeBlock):
11023 * bytecode/CodeBlock.h:
11024 (JSC::CodeBlock::setIsNumericCompareFunction):
11025 (JSC::CodeBlock::isNumericCompareFunction): Added the ability to track
11026 whether a CodeBlock performs a sort-like numeric comparison.
11441 * bytecode/CodeBlock.h:
11522 * bytecode/CodeBlock.h:
11525 (JSC::CodeBlock::getBytecodeIndex):
11526 (JSC::CodeBlock::jitCode):
11527 (JSC::CodeBlock::callReturnIndexVector):
12369 * bytecode/CodeBlock.cpp:
12370 (JSC::CodeBlock::reparseForExceptionInfoIfNecessary): add an assertion for successful recompile
12548 * bytecode/CodeBlock.cpp:
12550 (JSC::CodeBlock::mark):
12551 * bytecode/CodeBlock.h:
12552 (JSC::CodeBlock::isKnownNotImmediate):
13283 Make sure to mark the ScopeNode and CodeBlock being created
13286 * bytecode/CodeBlock.cpp:
13287 (JSC::CodeBlock::reparseForExceptionInfoIfNecessary):
13358 * bytecode/CodeBlock.cpp:
13359 (JSC::CodeBlock::mark):
13360 * bytecode/CodeBlock.h:
13361 (JSC::CodeBlock::hasFunctions):
13487 * bytecode/CodeBlock.h:
13488 (JSC::CodeBlock::isKnownNotImmediate):
14082 Don't store exception information for a CodeBlock until first exception is thrown
14085 to use data from the original CodeBlock (offsets of GlobalResolve instructions) to
14090 - Lazily create the pcVector by re-JITing the regenerated CodeBlock and stealing the
14095 * bytecode/CodeBlock.cpp:
14096 (JSC::CodeBlock::dump):
14097 (JSC::CodeBlock::reparseForExceptionInfoIfNecessary):
14098 (JSC::CodeBlock::hasGlobalResolveInstructionAtBytecodeOffset):
14099 (JSC::CodeBlock::hasGlobalResolveInfoAtBytecodeOffset):
14100 * bytecode/CodeBlock.h:
14103 (JSC::CodeBlock::getBytecodeIndex):
14104 (JSC::CodeBlock::addGlobalResolveInstruction):
14105 (JSC::CodeBlock::addGlobalResolveInfo):
14106 (JSC::CodeBlock::addFunctionRegisterInfo):
14107 (JSC::CodeBlock::hasExceptionInfo):
14108 (JSC::CodeBlock::pcVector):
14178 <rdar://problem/6469060> Don't store exception information for a CodeBlock until first exception is thrown
14189 * bytecode/CodeBlock.cpp:
14190 (JSC::CodeBlock::dump): Update op_get_global_var to account for the padding.
14191 (JSC::CodeBlock::dumpStatistics): Add more statistic dumping.
14192 (JSC::CodeBlock::CodeBlock): Initialize m_exceptionInfo.
14193 (JSC::CodeBlock::reparseForExceptionInfoIfNecessary): Re-parses the CodeBlocks
14195 (JSC::CodeBlock::lineNumberForBytecodeOffset): Creates the exception info on demand.
14196 (JSC::CodeBlock::expressionRangeForBytecodeOffset): Ditto.
14197 (JSC::CodeBlock::getByIdExceptionInfoForBytecodeOffset): Ditto.
14198 * bytecode/CodeBlock.h:
14199 (JSC::CodeBlock::numberOfExceptionHandlers): Updated to account for m_exceptionInfo indirection.
14200 (JSC::CodeBlock::addExceptionHandler): Ditto.
14201 (JSC::CodeBlock::exceptionHandler): Ditto.
14202 (JSC::CodeBlock::clearExceptionInfo): Ditto.
14203 (JSC::CodeBlock::addExpressionInfo): Ditto.
14204 (JSC::CodeBlock::addGetByIdExceptionInfo): Ditto.
14205 (JSC::CodeBlock::numberOfLineInfos): Ditto.
14206 (JSC::CodeBlock::addLineInfo): Ditto.
14207 (JSC::CodeBlock::lastLineInfo): Ditto.
14399 * bytecode/CodeBlock.cpp:
14402 (JSC::CodeBlock::dump):
14403 * bytecode/CodeBlock.h:
14404 (JSC::CodeBlock::getConstant):
14405 (JSC::CodeBlock::addUnexpectedConstant):
14406 (JSC::CodeBlock::unexpectedConstant):
15380 * bytecode/CodeBlock.h:
15383 (JSC::CodeBlock::getBytecodeIndex):
16473 Add more CodeBlock statistics.
16475 * bytecode/CodeBlock.cpp:
16476 (JSC::CodeBlock::dumpStatistics):
16490 * bytecode/CodeBlock.cpp:
16491 (JSC::CodeBlock::dump): Add logging for the case that someone tries
16492 to dump the instructions of a CodeBlock that has had its bytecode
16494 (JSC::CodeBlock::CodeBlock): Initialize the instructionCount
16495 (JSC::CodeBlock::handlerForBytecodeOffset): Use instructionCount instead
16497 (JSC::CodeBlock::lineNumberForBytecodeOffset): Ditto.
16498 (JSC::CodeBlock::expressionRangeForBytecodeOffset): Ditto.
16499 (JSC::CodeBlock::getByIdExceptionInfoForBytecodeOffset): Ditto.
16500 (JSC::CodeBlock::functionRegisterForBytecodeOffset): Ditto.
16501 * bytecode/CodeBlock.h:
16502 (JSC::CodeBlock::setInstructionCount): Store the instruction vector size
16538 * bytecode/CodeBlock.cpp:
16539 (JSC::CodeBlock::functionRegisterForBytecodeOffset): Added. Function to get
16541 (JSC::CodeBlock::shrinkToFit): Shrink m_getByIdExceptionInfo and m_functionRegisterInfos.
16542 * bytecode/CodeBlock.h:
16544 (JSC::CodeBlock::addFunctionRegisterInfo):
17083 * bytecode/CodeBlock.h:
17113 * bytecode/CodeBlock.cpp:
17114 (JSC::CodeBlock::CodeBlock):
17115 * bytecode/CodeBlock.h:
17117 (JSC::CodeBlock::setJITCode):
17118 (JSC::CodeBlock::jitCode):
17119 (JSC::CodeBlock::executablePool):
17154 The binary search in CodeBlock::getByIdExceptionInfoForBytecodeOffset()
17158 * bytecode/CodeBlock.cpp:
17159 (JSC::CodeBlock::getByIdExceptionInfoForBytecodeOffset):
17356 an auxiliary data structure in CodeBlock.
17358 * bytecode/CodeBlock.cpp:
17359 (JSC::CodeBlock::getByIdExceptionInfoForBytecodeOffset):
17360 * bytecode/CodeBlock.h:
17361 (JSC::CodeBlock::addGetByIdExceptionInfo):
17379 * bytecode/CodeBlock.cpp:
17381 (JSC::CodeBlock::handlerForBytecodeOffset):
17382 (JSC::CodeBlock::lineNumberForBytecodeOffset):
17383 (JSC::CodeBlock::expressionRangeForBytecodeOffset):
17384 * bytecode/CodeBlock.h:
17417 data structures on the CodeBlock. This is not an ideal solution,
17422 - Also removes CodeBlock bloat in non-JIT by #ifdefing the JIT
17431 * bytecode/CodeBlock.cpp:
17437 (JSC::CodeBlock::printStructures):
17438 (JSC::CodeBlock::dump):
17439 (JSC::CodeBlock::~CodeBlock):
17440 (JSC::CodeBlock::shrinkToFit):
17441 * bytecode/CodeBlock.h:
17444 (JSC::CodeBlock::instructions):
17445 (JSC::CodeBlock::getStubInfo):
17446 (JSC::CodeBlock::getBytecodeIndex):
17447 (JSC::CodeBlock::addPropertyAccessInstruction):
17448 (JSC::CodeBlock::addGlobalResolveInstruction):
17449 (JSC::CodeBlock::numberOfStructureStubInfos):
17450 (JSC::CodeBlock::addStructureStubInfo):
17451 (JSC::CodeBlock::structureStubInfo):
17452 (JSC::CodeBlock::addGlobalResolveInfo):
17453 (JSC::CodeBlock::globalResolveInfo):
17454 (JSC::CodeBlock::numberOfCallLinkInfos):
17455 (JSC::CodeBlock::addCallLinkInfo):
17456 (JSC::CodeBlock::callLinkInfo):
17462 * bytecode/StructureStubInfo.cpp: Copied from bytecode/CodeBlock.cpp.
17464 * bytecode/StructureStubInfo.h: Copied from bytecode/CodeBlock.h.
17594 * bytecode/CodeBlock.h:
17600 <rdar://problem/6428332> Remove the CTI return address table from CodeBlock
17609 * bytecode/CodeBlock.cpp:
17611 (JSC::CodeBlock::dumpStatistics): Add dumping of member sizes.
17612 * bytecode/CodeBlock.h:
17615 (JSC::CodeBlock::getBytecodeIndex): Used to get the VirtualPC from a
17617 (JSC::CodeBlock::pcVector): Accessor.
17718 * bytecode/CodeBlock.cpp:
17719 (JSC::CodeBlock::dumpStatistics): Add logging of non-empty symbol tables
17734 * bytecode/CodeBlock.cpp:
17735 (JSC::CodeBlock::handlerForVPC): Return the HandlerInfo.
17736 * bytecode/CodeBlock.h: Remove nativeExceptionCodeForHandlerVPC.
17881 Fix for <rdar://problem/6428332> Remove the CTI return address table from CodeBlock
17889 * bytecode/CodeBlock.cpp:
17890 (JSC::CodeBlock::dumpStatistics): Fix extraneous semicolon.
18024 Add RareData structure to CodeBlock for infrequently used auxiliary data
18029 * bytecode/CodeBlock.cpp:
18030 (JSC::CodeBlock::dump):
18031 (JSC::CodeBlock::dumpStatistics):
18032 (JSC::CodeBlock::mark):
18033 (JSC::CodeBlock::getHandlerForVPC):
18034 (JSC::CodeBlock::nativeExceptionCodeForHandlerVPC):
18035 (JSC::CodeBlock::shrinkToFit):
18036 * bytecode/CodeBlock.h:
18037 (JSC::CodeBlock::numberOfExceptionHandlers):
18038 (JSC::CodeBlock::addExceptionHandler):
18039 (JSC::CodeBlock::exceptionHandler):
18040 (JSC::CodeBlock::addFunction):
18041 (JSC::CodeBlock::function):
18042 (JSC::CodeBlock::addUnexpectedConstant):
18043 (JSC::CodeBlock::unexpectedConstant):
18044 (JSC::CodeBlock::addRegExp):
18045 (JSC::CodeBlock::regexp):
18046 (JSC::CodeBlock::numberOfImmediateSwitchJumpTables):
18047 (JSC::CodeBlock::addImmediateSwitchJumpTable):
18048 (JSC::CodeBlock::immediateSwitchJumpTable):
18049 (JSC::CodeBlock::numberOfCharacterSwitchJumpTables):
18050 (JSC::CodeBlock::addCharacterSwitchJumpTable):
18051 (JSC::CodeBlock::characterSwitchJumpTable):
18052 (JSC::CodeBlock::numberOfStringSwitchJumpTables):
18053 (JSC::CodeBlock::addStringSwitchJumpTable):
18054 (JSC::CodeBlock::stringSwitchJumpTable):
18055 (JSC::CodeBlock::evalCodeCache):
18056 (JSC::CodeBlock::createRareDataIfNecessary):
18072 Add dumping of CodeBlock member structure usage.
18074 * bytecode/CodeBlock.cpp:
18075 (JSC::CodeBlock::dumpStatistics):
18106 Add basic memory statistics dumping for CodeBlock.
18108 * bytecode/CodeBlock.cpp:
18109 (JSC::CodeBlock::dumpStatistics):
18110 (JSC::CodeBlock::CodeBlock):
18111 (JSC::CodeBlock::~CodeBlock):
18112 * bytecode/CodeBlock.h:
18196 * bytecode/CodeBlock.cpp:
18197 (JSC::CodeBlock::~CodeBlock):
18198 * bytecode/CodeBlock.h:
18199 (JSC::CodeBlock::executablePool):
18200 (JSC::CodeBlock::setExecutablePool):
18279 Move CodeBlock constructor into the .cpp file.
18284 * bytecode/CodeBlock.cpp:
18285 (JSC::CodeBlock::CodeBlock):
18286 * bytecode/CodeBlock.h:
18299 * bytecode/CodeBlock.cpp:
18300 * bytecode/CodeBlock.h:
18301 * bytecode/JumpTable.cpp: Copied from bytecode/CodeBlock.cpp.
18302 * bytecode/JumpTable.h: Copied from bytecode/CodeBlock.h.
18309 Encapsulate more CodeBlock members in preparation
18312 * bytecode/CodeBlock.cpp:
18317 (JSC::CodeBlock::printStructure):
18318 (JSC::CodeBlock::printStructures):
18319 (JSC::CodeBlock::dump):
18320 (JSC::CodeBlock::~CodeBlock):
18321 (JSC::CodeBlock::unlinkCallers):
18322 (JSC::CodeBlock::derefStructures):
18323 (JSC::CodeBlock::refStructures):
18324 (JSC::CodeBlock::mark):
18325 (JSC::CodeBlock::getHandlerForVPC):
18326 (JSC::CodeBlock::nativeExceptionCodeForHandlerVPC):
18327 (JSC::CodeBlock::lineNumberForVPC):
18328 (JSC::CodeBlock::expressionRangeForVPC):
18329 (JSC::CodeBlock::shrinkToFit):
18330 * bytecode/CodeBlock.h:
18331 (JSC::CodeBlock::CodeBlock):
18332 (JSC::CodeBlock::addCaller):
18333 (JSC::CodeBlock::removeCaller):
18334 (JSC::CodeBlock::isKnownNotImmediate):
18335 (JSC::CodeBlock::isConstantRegisterIndex):
18336 (JSC::CodeBlock::getConstant):
18337 (JSC::CodeBlock::isTemporaryRegisterIndex):
18338 (JSC::CodeBlock::getStubInfo):
18339 (JSC::CodeBlock::getCallLinkInfo):
18340 (JSC::CodeBlock::instructions):
18341 (JSC::CodeBlock::setJITCode):
18342 (JSC::CodeBlock::jitCode):
18343 (JSC::CodeBlock::ownerNode):
18344 (JSC::CodeBlock::setGlobalData):
18345 (JSC::CodeBlock::setThisRegister):
18346 (JSC::CodeBlock::thisRegister):
18347 (JSC::CodeBlock::setNeedsFullScopeChain):
18348 (JSC::CodeBlock::needsFullScopeChain):
18349 (JSC::CodeBlock::setUsesEval):
18350 (JSC::CodeBlock::usesEval):
18351 (JSC::CodeBlock::setUsesArguments):
18352 (JSC::CodeBlock::usesArguments):
18353 (JSC::CodeBlock::codeType):
18354 (JSC::CodeBlock::source):
18355 (JSC::CodeBlock::sourceOffset):
18356 (JSC::CodeBlock::addGlobalResolveInstruction):
18357 (JSC::CodeBlock::numberOfPropertyAccessInstructions):
18358 (JSC::CodeBlock::addPropertyAccessInstruction):
18359 (JSC::CodeBlock::propertyAccessInstruction):
18360 (JSC::CodeBlock::numberOfCallLinkInfos):
18361 (JSC::CodeBlock::addCallLinkInfo):
18362 (JSC::CodeBlock::callLinkInfo):
18363 (JSC::CodeBlock::numberOfJumpTargets):
18364 (JSC::CodeBlock::addJumpTarget):
18365 (JSC::CodeBlock::jumpTarget):
18366 (JSC::CodeBlock::lastJumpTarget):
18367 (JSC::CodeBlock::numberOfExceptionHandlers):
18368 (JSC::CodeBlock::addExceptionHandler):
18369 (JSC::CodeBlock::exceptionHandler):
18370 (JSC::CodeBlock::addExpressionInfo):
18371 (JSC::CodeBlock::numberOfLineInfos):
18372 (JSC::CodeBlock::addLineInfo):
18373 (JSC::CodeBlock
18374 (JSC::CodeBlock::jitReturnAddressVPCMap):
18375 (JSC::CodeBlock::numberOfIdentifiers):
18376 (JSC::CodeBlock::addIdentifier):
18377 (JSC::CodeBlock::identifier):
18378 (JSC::CodeBlock::numberOfConstantRegisters):
18379 (JSC::CodeBlock::addConstantRegister):
18380 (JSC::CodeBlock::constantRegister):
18381 (JSC::CodeBlock::addFunction):
18382 (JSC::CodeBlock::function):
18383 (JSC::CodeBlock::addFunctionExpression):
18384 (JSC::CodeBlock::functionExpression):
18385 (JSC::CodeBlock::addUnexpectedConstant):
18386 (JSC::CodeBlock::unexpectedConstant):
18387 (JSC::CodeBlock::addRegExp):
18388 (JSC::CodeBlock::regexp):
18389 (JSC::CodeBlock::symbolTable):
18390 (JSC::CodeBlock::evalCodeCache):
18616 Encapsulate access to jump tables in the CodeBlock in preparation
18619 * bytecode/CodeBlock.cpp:
18620 (JSC::CodeBlock::dump):
18621 (JSC::CodeBlock::shrinkToFit):
18622 * bytecode/CodeBlock.h:
18623 (JSC::CodeBlock::numberOfImmediateSwitchJumpTables):
18624 (JSC::CodeBlock::addImmediateSwitchJumpTable):
18625 (JSC::CodeBlock::immediateSwitchJumpTable):
18626 (JSC::CodeBlock::numberOfCharacterSwitchJumpTables):
18627 (JSC::CodeBlock::addCharacterSwitchJumpTable):
18628 (JSC::CodeBlock::characterSwitchJumpTable):
18629 (JSC::CodeBlock::numberOfStringSwitchJumpTables):
18630 (JSC::CodeBlock::addStringSwitchJumpTable):
18631 (JSC::CodeBlock::stringSwitchJumpTable):
19122 * bytecode/CodeBlock.cpp:
19123 (JSC::CodeBlock::dump):
19876 * bytecode/CodeBlock.cpp:
19877 (JSC::CodeBlock::dump):
19878 (JSC::CodeBlock::derefStructures):
20053 * bytecode/CodeBlock.cpp:
20054 (JSC::CodeBlock::dump):
20055 (JSC::CodeBlock::derefStructures):
20792 * bytecode/CodeBlock.cpp:
20991 * bytecode/CodeBlock.cpp:
21090 VM/CodeBlock.* => bytecode/CodeBlock.*
21101 * VM/CodeBlock.cpp: Removed.
21102 * VM/CodeBlock.h: Removed.
21108 * bytecode/CodeBlock.cpp: Copied from VM/CodeBlock.cpp.
21109 * bytecode/CodeBlock.h: Copied from VM/CodeBlock.h.
21283 * VM/CodeBlock.cpp:
21284 (JSC::CodeBlock::~CodeBlock):
21285 * VM/CodeBlock.h:
21286 (JSC::CodeBlock::CodeBlock):
21389 * VM/CodeBlock.cpp:
21390 (JSC::CodeBlock::unlinkCallers):
21591 * VM/CodeBlock.cpp:
21592 (JSC::CodeBlock::printStructures):
21593 (JSC::CodeBlock::derefStructures):
21594 (JSC::CodeBlock::refStructures):
21827 * VM/CodeBlock.cpp:
21828 (JSC::CodeBlock::printStructures):
21829 (JSC::CodeBlock::derefStructures):
21830 (JSC::CodeBlock::refStructures):
22104 * VM/CodeBlock.cpp:
22105 (JSC::CodeBlock::printStructure):
22106 (JSC::CodeBlock::printStructures):
22107 (JSC::CodeBlock::dump):
22108 (JSC::CodeBlock::~CodeBlock):
22109 (JSC::CodeBlock::derefStructures):
22110 (JSC::CodeBlock::refStructures):
22111 * VM/CodeBlock.h:
22693 * VM/CodeBlock.cpp:
22694 (JSC::CodeBlock::printStructureIDs):
22695 (JSC::CodeBlock::dump):
22696 (JSC::CodeBlock::derefStructureIDs):
22697 (JSC::CodeBlock::refStructureIDs):
22698 * VM/CodeBlock.h:
23069 * VM/CodeBlock.cpp:
23070 (JSC::CodeBlock::printStructureIDs):
23071 (JSC::CodeBlock::dump):
23072 (JSC::CodeBlock::~CodeBlock):
23073 (JSC::CodeBlock::derefStructureIDs):
23074 (JSC::CodeBlock::refStructureIDs):
23075 * VM/CodeBlock.h:
23330 * VM/CodeBlock.cpp:
23331 (JSC::CodeBlock::printStructureIDs):
23332 (JSC::CodeBlock::dump):
23333 (JSC::CodeBlock::derefStructureIDs):
23334 (JSC::CodeBlock::refStructureIDs):
23527 - Remove SymbolTable from FunctionBodyNode and move it to CodeBlock
23532 * VM/CodeBlock.h:
23618 * VM/CodeBlock.h:
23620 (JSC::CodeBlock::getCallLinkInfo):
23951 * VM/CodeBlock.h:
23952 (JSC::CodeBlock::isKnownNotImmediate):
23966 jump tagets in the CodeBlock. For temporaries, the only problematic
24011 * VM/CodeBlock.h:
24012 (JSC::CodeBlock::isTemporaryRegisterIndex):
24066 * VM/CodeBlock.cpp:
24067 (JSC::CodeBlock::dump):
24119 * VM/CodeBlock.cpp:
24120 (JSC::CodeBlock::dump):
24180 * VM/CodeBlock.cpp:
24181 (JSC::CodeBlock::dump): Updated for new bytecode format of call / construct.
24261 Bug 22179: Move EvalCodeCache from CodeBlock.h into its own file
24267 * VM/CodeBlock.h:
24268 * VM/EvalCodeCache.h: Copied from VM/CodeBlock.h.
24296 - shrink CodeBlock and AST related Vectors to exact fit (5-10M savings on membuster test)
24355 Make CTI::getConstant() a member function of CodeBlock instead.
24364 * VM/CodeBlock.h:
24365 (JSC::CodeBlock::getConstant):
24371 Rename CodeBlock::isConstant() to isConstantRegisterIndex().
24379 * VM/CodeBlock.h:
24380 (JSC::CodeBlock::isConstantRegisterIndex):
24395 Remove the unused labels member variable of CodeBlock.
24397 * VM/CodeBlock.h:
24540 * VM/CodeBlock.h: Added include.
24671 Bug 22129: Move CTI::isConstant() to CodeBlock
24681 * VM/CodeBlock.h:
24682 (JSC::CodeBlock::isConstant):
24740 (1) The codeblock for the function body has not been generated.
24773 * VM/CodeBlock.h:
25144 * VM/CodeBlock.h:
25458 Bug 22042: REGRESSION(r38066): ASSERTION FAILED: source in CodeBlock
25463 * VM/CodeBlock.h:
25464 (JSC::CodeBlock::CodeBlock):
25477 * VM/CodeBlock.h:
25478 (JSC::CodeBlock::CodeBlock):
25494 * VM/CodeBlock.h:
25818 * VM/CodeBlock.cpp:
26039 * VM/CodeBlock.cpp:
26040 (JSC::CodeBlock::dump):
26222 Fixed CodeBlock dumping to accurately report constant register indices.
26224 * VM/CodeBlock.cpp:
26225 (JSC::CodeBlock::dump):
26522 Stop discarding CodeBlock samples that can't be charged to a specific
26523 opcode. Instead, charge the relevant CodeBlock, and provide a footnote
26578 - Made CodeBlock sampling work with CTI
26599 Added hooks for writing the current CodeBlock* on function entry and
26600 after a function call, for the sake of the CodeBlock sampler. Removed
26606 * VM/CodeBlock.cpp:
26607 (JSC::CodeBlock::lineNumberForVPC):
26608 * VM/CodeBlock.h: Upated for refactored #ifdefs. Changed lineNumberForVPC
26631 if we actually record it. This solves cases where a CodeBlock will
26637 and to help decode the data. Only access the CodeBlock sampling hash
26638 table if CodeBlock sampling has been enabled, so non-CodeBlock sampling
26743 * VM/CodeBlock.cpp:
26744 * VM/CodeBlock.h:
26910 * VM/CodeBlock.cpp:
26911 (JSC::CodeBlock::dump):
26912 (JSC::CodeBlock::~CodeBlock):
26913 (JSC::CodeBlock::unlinkCallers):
26914 (JSC::CodeBlock::derefStructureIDs):
26915 * VM/CodeBlock.h:
26922 (JSC::CodeBlock::addCaller):
26923 (JSC::CodeBlock::getStubInfo):
27065 * VM/CodeBlock.cpp:
27066 (JSC::CodeBlock::~CodeBlock):
27201 * VM/CodeBlock.cpp:
27202 (JSC::CodeBlock::dump):
27451 (JSC::CodeBlock::dump): Dump support for the new profiling opcodes.
27600 * VM/CodeBlock.cpp:
27601 (JSC::CodeBlock::printStructureIDs): Fixed up an ASSERT caused by
27843 * VM/CodeBlock.cpp:
27844 * VM/CodeBlock.h:
28567 * VM/CodeBlock.cpp:
28568 (JSC::CodeBlock::~CodeBlock):
28569 (JSC::CodeBlock::unlinkCallers):
28570 (JSC::CodeBlock::derefStructureIDs):
28571 * VM/CodeBlock.h:
28574 (JSC::CodeBlock::addCaller):
28575 (JSC::CodeBlock::removeCaller):
28576 (JSC::CodeBlock::getStubInfo):
28870 * VM/CodeBlock.h:
29627 * VM/CodeBlock.h:
29869 * VM/CodeBlock.h:
30388 * VM/CodeBlock.cpp:
30389 (JSC::CodeBlock::dump):
30462 * VM/CodeBlock.cpp:
30463 (JSC::CodeBlock::dump):
30515 * VM/CodeBlock.cpp:
30516 (JSC::CodeBlock::dump):
30600 * VM/CodeBlock.cpp:
30601 (JSC::CodeBlock::dump):
30684 so that a CodeGenerator now knows whether the associated CodeBlock will need
30688 * VM/CodeBlock.h:
30689 (JSC::CodeBlock::CodeBlock):
30908 * VM/CodeBlock.cpp:
30909 (JSC::CodeBlock::dump):
30941 * VM/CodeBlock.cpp:
30942 (JSC::CodeBlock::dump):
31005 * VM/CodeBlock.h:
31006 (JSC::CodeBlock::CodeBlock):
31119 * VM/CodeBlock.h: Moved the CodeType enum here from ExecState.h.
31510 * VM/CodeBlock.h:
31513 (JSC::CodeBlock::CodeBlock): ASSERT something that used to be ASSERTed
31723 * VM/CodeBlock.h:
31952 Machine::retrieveLastCaller should check for a NULL codeBlock
31988 * VM/Machine.cpp: Access "scopeChain" and "codeBlock" through new helper
32085 * VM/CodeBlock.cpp:
32086 (JSC::CodeBlock::dump):
32190 Store the callee CodeBlock, not the caller CodeBlock, in the call frame
32191 header. Nix the "codeBlock" local variable, and access the callee
32192 CodeBlock through the call frame header instead.
32195 "codeBlock" local variable.
32197 Because CTI keeps "r" in a register, reading the callee CodeBlock relative
32209 callee CodeBlock to check needsFullScopeChain, and bytecode does not
32220 "codeBlock" argument.
32221 (JSC::CTI::execute): Changed trampoline function not to take a "codeBlock"
32222 argument, since codeBlock is now stored in the call frame header.
32224 * VM/Machine.cpp: Read the callee CodeBlock from the register file. Use
32226 caller, since CodeBlock is now never NULL.
32229 so they could call the private codeBlock() accessor in the Register
32231 "CodeBlock", since it's no longer the caller's CodeBlock.
32377 * VM/CodeBlock.cpp: Add type information to specific bytecodes.
32424 * VM/CodeBlock.cpp:
32425 (JSC::CodeBlock::dump): Added a case for dumping op_init_activation.
32781 * VM/CodeBlock.cpp:
32785 (JSC::CodeBlock::dump):
32787 * VM/CodeBlock.h:
32789 Updated CodeBlock to track slightly different information about the
32791 (JSC::CodeBlock::CodeBlock):
32792 (JSC::CodeBlock::getStubInfo):
33967 * VM/CodeBlock.cpp:
33968 (JSC::CodeBlock::dump):
34433 * VM/CodeBlock.cpp:
34434 (JSC::CodeBlock::dump):
34468 Bug 20863: ASSERTION FAILED: addressOffset < instructions.size() in CodeBlock::getHandlerForVPC
34513 * VM/CodeBlock.cpp:
34514 (JSC::CodeBlock::dump):
34566 r36427 broke CodeBlock::dump() by changing the number of arguments to
34571 * VM/CodeBlock.cpp:
34572 (JSC::CodeBlock::dump):
34737 * VM/CodeBlock.cpp:
34738 (JSC::CodeBlock::dump):
34739 (JSC::CodeBlock::~CodeBlock):
34740 * VM/CodeBlock.h:
34742 (JSC::CodeBlock::getStubInfo):
34772 * VM/CodeBlock.cpp:
34773 (JSC::CodeBlock::dump): Print third arg.
34813 * VM/CodeBlock.cpp:
34814 (JSC::CodeBlock::dump):
34864 * VM/CodeBlock.cpp:
34865 (JSC::CodeBlock::dump):
34911 * VM/CodeBlock.cpp:
34913 (JSC::CodeBlock::printStructureIDs):
34914 (JSC::CodeBlock::dump):
34915 (JSC::CodeBlock::derefStructureIDs):
34916 (JSC::CodeBlock::refStructureIDs):
35149 * VM/CodeBlock.cpp:
35150 (JSC::CodeBlock::dump):
35823 * VM/CodeBlock.h:
35999 * VM/CodeBlock.cpp:
36000 * VM/CodeBlock.h:
36511 CodeBlock now keeps a "labels" set, which holds the offsets of all the
36516 * VM/CodeBlock.h: Added a "labels" set.
36519 destinations, since the CodeBlock now knows all jump destinations.
36567 * VM/CodeBlock.cpp:
36568 (KJS::CodeBlock::~CodeBlock):
36670 * VM/CodeBlock.h:
36735 The array/string length trampolines are owned by the Machine, not the codeblock that compiled them.
36800 * VM/CodeBlock.cpp:
36801 (KJS::CodeBlock::printStructureIDs): Use %td as the format specifier for
36872 * VM/CodeBlock.cpp:
36873 (KJS::CodeBlock::~CodeBlock):
36874 * VM/CodeBlock.h:
37071 * VM/CodeBlock.h:
37125 * VM/CodeBlock.h:
37126 (KJS::CodeBlock::~CodeBlock): Switch to using fastFree now that JITCodeBuffer::copy uses fastMalloc.
37148 * VM/CodeBlock.h:
37149 (KJS::CodeBlock::~CodeBlock):
37232 * VM/CodeBlock.h:
37233 (KJS::CodeBlock::~CodeBlock):
37385 * VM/CodeBlock.cpp:
37386 (KJS::CodeBlock::dump):
37387 * VM/CodeBlock.h:
37474 Initial support for exceptions (throw / catch must occur in same CodeBlock).
37483 * VM/CodeBlock.cpp:
37484 (KJS::CodeBlock::nativeExceptionCodeForHandlerVPC):
37485 * VM/CodeBlock.h:
37696 * VM/CodeBlock.h:
37991 * VM/CodeBlock.h:
37992 (KJS::CodeBlock::CodeBlock):
37993 (KJS::CodeBlock::~CodeBlock):
38057 (KJS::Register::codeBlock):
38341 * VM/CodeBlock.cpp:
38342 (KJS::CodeBlock::printStructureID): Store the instruction offset into an unsigned local
38344 (KJS::CodeBlock::printStructureIDs): Ditto.
38580 * VM/CodeBlock.cpp:
38581 (KJS::CodeBlock::~CodeBlock): Use array indexing instead of a pointer
38661 * VM/CodeBlock.cpp: Include StringExtras so that snprintf will be
39066 <rdar://problem/6174603> Hitting assertion in Register::codeBlock when
39606 * VM/CodeBlock.cpp:
39607 (KJS::CodeBlock::dump):