+2015-08-12 Geoffrey Garen <ggaren@apple.com>
+
+ Removed clearEvalCodeCache()
+ https://bugs.webkit.org/show_bug.cgi?id=147957
+
+ Reviewed by Filip Pizlo.
+
+ It was unused.
+
+ * bytecode/CodeBlock.cpp:
+ (JSC::CodeBlock::linkIncomingCall):
+ (JSC::CodeBlock::install):
+ (JSC::CodeBlock::clearEvalCache): Deleted.
+ * bytecode/CodeBlock.h:
+ (JSC::CodeBlock::numberOfJumpTargets):
+ (JSC::CodeBlock::jumpTarget):
+ (JSC::CodeBlock::numberOfArgumentValueProfiles):
+
2015-08-12 Yusuke Suzuki <utatane.tea@gmail.com>
[ES6] Implement Reflect.defineProperty
m_incomingLLIntCalls.push(incoming);
}
-void CodeBlock::clearEvalCache()
-{
- if (!!m_alternative)
- m_alternative->clearEvalCache();
- if (CodeBlock* otherBlock = specialOSREntryBlockOrNull())
- otherBlock->clearEvalCache();
- if (!m_rareData)
- return;
- m_rareData->m_evalCodeCache.clear();
-}
-
void CodeBlock::install()
{
ownerExecutable()->installCode(this);
size_t numberOfJumpTargets() const { return m_unlinkedCode->numberOfJumpTargets(); }
unsigned jumpTarget(int index) const { return m_unlinkedCode->jumpTarget(index); }
- void clearEvalCache();
-
String nameForRegister(VirtualRegister);
unsigned numberOfArgumentValueProfiles()