Changeset 112320 in webkit for trunk/Source/JavaScriptCore/bytecode
- Timestamp:
- Mar 27, 2012, 2:54:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
r109705 r112320 1386 1386 }; 1387 1387 1388 inline CodeBlock* baselineCodeBlockForInlineCallFrame(InlineCallFrame* inlineCallFrame) 1389 { 1390 ASSERT(inlineCallFrame); 1391 ExecutableBase* executable = inlineCallFrame->executable.get(); 1392 ASSERT(executable->structure()->classInfo() == &FunctionExecutable::s_info); 1393 return static_cast<FunctionExecutable*>(executable)->baselineCodeBlockFor(inlineCallFrame->isCall ? CodeForCall : CodeForConstruct); 1394 } 1395 1388 1396 inline CodeBlock* baselineCodeBlockForOriginAndBaselineCodeBlock(const CodeOrigin& codeOrigin, CodeBlock* baselineCodeBlock) 1389 1397 { 1390 if (codeOrigin.inlineCallFrame) { 1391 ExecutableBase* executable = codeOrigin.inlineCallFrame->executable.get(); 1392 ASSERT(executable->structure()->classInfo() == &FunctionExecutable::s_info); 1393 return static_cast<FunctionExecutable*>(executable)->baselineCodeBlockFor(codeOrigin.inlineCallFrame->isCall ? CodeForCall : CodeForConstruct); 1394 } 1398 if (codeOrigin.inlineCallFrame) 1399 return baselineCodeBlockForInlineCallFrame(codeOrigin.inlineCallFrame); 1395 1400 return baselineCodeBlock; 1396 1401 }
Note:
See TracChangeset
for help on using the changeset viewer.