2008-06-06 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Oliver.
Bug 19424: Add support for logging opcode pair counts
<https://bugs.webkit.org/show_bug.cgi?id=19424>
JavaScriptCore:
* VM/Machine.cpp:
(KJS::Machine::privateExecute):
* VM/Opcode.cpp:
(KJS::OpcodeStats::OpcodeStats):
(KJS::compareOpcodeIndices):
(KJS::compareOpcodePairIndices):
(KJS::OpcodeStats::~OpcodeStats):
(KJS::OpcodeStats::recordInstruction):
(KJS::OpcodeStats::resetLastInstruction):
* VM/Opcode.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34411
268f45cc-cd09-0410-ab3c-
d52691b4dbfc