Skip to content
  • commit-queue@webkit.org's avatar
    Introducing the VMInspector for VM debugging use. · a22c4cd4
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=94613.
    
    Patch by Mark Lam <mark.lam@apple.com> on 2012-08-21
    Reviewed by Filip Pizlo.
    
    Adding some utility functions for debugging the VM. This code is
    presently #ifdef'd out by default.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * interpreter/CallFrame.h:
    (ExecState):
    * interpreter/VMInspector.cpp: Added.
    (JSC):
    (JSC::VMInspector::getTypeName):
    (JSC::VMInspector::dumpFrame0):
    (JSC::VMInspector::dumpFrame):
    (JSC::VMInspector::countFrames):
    * interpreter/VMInspector.h: Added.
    (JSC):
    (VMInspector):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a22c4cd4