|
Lines 147-152
void CodeBlock::dumpAssumingJITType(Prin
Source/JavaScriptCore/bytecode/CodeBlock.cpp_sec1
|
| 147 |
out.print(" (NeverInline)"); |
147 |
out.print(" (NeverInline)"); |
| 148 |
if (ownerExecutable()->isStrictMode()) |
148 |
if (ownerExecutable()->isStrictMode()) |
| 149 |
out.print(" (StrictMode)"); |
149 |
out.print(" (StrictMode)"); |
|
|
150 |
if (this->jitType() == JITCode::BaselineJIT && m_didFailFTLCompilation) |
| 151 |
out.print(" (FTLFail)"); |
| 152 |
if (this->jitType() == JITCode::BaselineJIT && m_hasBeenCompiledWithFTL) |
| 153 |
out.print(" (HadFTLReplacement)"); |
| 150 |
out.print("]"); |
154 |
out.print("]"); |
| 151 |
} |
155 |
} |
| 152 |
|
156 |
|
|
Lines 1472-1477
CodeBlock::CodeBlock(CopyParsedBlockTag,
Source/JavaScriptCore/bytecode/CodeBlock.cpp_sec2
|
| 1472 |
, m_isConstructor(other.m_isConstructor) |
1476 |
, m_isConstructor(other.m_isConstructor) |
| 1473 |
, m_shouldAlwaysBeInlined(true) |
1477 |
, m_shouldAlwaysBeInlined(true) |
| 1474 |
, m_didFailFTLCompilation(false) |
1478 |
, m_didFailFTLCompilation(false) |
|
|
1479 |
, m_hasBeenCompiledWithFTL(false) |
| 1475 |
, m_unlinkedCode(*other.m_vm, other.m_ownerExecutable.get(), other.m_unlinkedCode.get()) |
1480 |
, m_unlinkedCode(*other.m_vm, other.m_ownerExecutable.get(), other.m_unlinkedCode.get()) |
| 1476 |
, m_ownerExecutable(*other.m_vm, other.m_ownerExecutable.get(), other.m_ownerExecutable.get()) |
1481 |
, m_ownerExecutable(*other.m_vm, other.m_ownerExecutable.get(), other.m_ownerExecutable.get()) |
| 1477 |
, m_vm(other.m_vm) |
1482 |
, m_vm(other.m_vm) |
|
Lines 1527-1532
CodeBlock::CodeBlock(ScriptExecutable* o
Source/JavaScriptCore/bytecode/CodeBlock.cpp_sec3
|
| 1527 |
, m_isConstructor(unlinkedCodeBlock->isConstructor()) |
1532 |
, m_isConstructor(unlinkedCodeBlock->isConstructor()) |
| 1528 |
, m_shouldAlwaysBeInlined(true) |
1533 |
, m_shouldAlwaysBeInlined(true) |
| 1529 |
, m_didFailFTLCompilation(false) |
1534 |
, m_didFailFTLCompilation(false) |
|
|
1535 |
, m_hasBeenCompiledWithFTL(false) |
| 1530 |
, m_unlinkedCode(m_globalObject->vm(), ownerExecutable, unlinkedCodeBlock) |
1536 |
, m_unlinkedCode(m_globalObject->vm(), ownerExecutable, unlinkedCodeBlock) |
| 1531 |
, m_ownerExecutable(m_globalObject->vm(), ownerExecutable, ownerExecutable) |
1537 |
, m_ownerExecutable(m_globalObject->vm(), ownerExecutable, ownerExecutable) |
| 1532 |
, m_vm(unlinkedCodeBlock->vm()) |
1538 |
, m_vm(unlinkedCodeBlock->vm()) |
|
Lines 2909-2917
unsigned CodeBlock::numberOfDFGCompiles(
Source/JavaScriptCore/bytecode/CodeBlock.cpp_sec4
|
| 2909 |
if (Options::testTheFTL()) { |
2915 |
if (Options::testTheFTL()) { |
| 2910 |
if (m_didFailFTLCompilation) |
2916 |
if (m_didFailFTLCompilation) |
| 2911 |
return 1000000; |
2917 |
return 1000000; |
| 2912 |
if (replacement()->jitType() != JITCode::FTLJIT) |
2918 |
return (m_hasBeenCompiledWithFTL ? 1 : 0) + m_reoptimizationRetryCounter; |
| 2913 |
return 0; |
|
|
| 2914 |
return 1 + m_reoptimizationRetryCounter; |
| 2915 |
} |
2919 |
} |
| 2916 |
return (JITCode::isOptimizingJIT(replacement()->jitType()) ? 1 : 0) + m_reoptimizationRetryCounter; |
2920 |
return (JITCode::isOptimizingJIT(replacement()->jitType()) ? 1 : 0) + m_reoptimizationRetryCounter; |
| 2917 |
} |
2921 |
} |