[JSC] reduce the amount of memory access needed for LivenessAnalysisPhase
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Sep 2015 04:02:24 +0000 (04:02 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Sep 2015 04:02:24 +0000 (04:02 +0000)
commitcfbacc239e2c5bf516c0e84a3358b5484b73537d
tree68738c8f36433cb74bb7ee782727563a3af741fb
parentb08f5a59bd128d8f1ff63a9acf36a359cda58383
[JSC] reduce the amount of memory access needed for LivenessAnalysisPhase
https://bugs.webkit.org/show_bug.cgi?id=148414

Patch by Benjamin Poulain <bpoulain@apple.com> on 2015-09-08
Reviewed by Mark Lam.

LivenessAnalysisPhase still causes a huge number of cache miss.
This patch reduces the amount of accesses needed by the HashTables.

* dfg/DFGBasicBlock.h:
* dfg/DFGLivenessAnalysisPhase.cpp:
(JSC::DFG::LivenessAnalysisPhase::run):
(JSC::DFG::LivenessAnalysisPhase::process):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGBasicBlock.h
Source/JavaScriptCore/dfg/DFGLivenessAnalysisPhase.cpp