Skip to content
  • msaboff@apple.com's avatar
    Cleanup formatting of byte code debug output · c580864f
    msaboff@apple.com authored
    Source/JavaScriptCore/ChangeLog
    
    Rubber stamped by Filip Pizlo.
    
    Put the formatting of the byte code offset and operation into one common function to
    simplify and unify formatting.  Changed CodeBlock::registerName() to return
    "thist" for argument register 0, "argN" for other argument registers and "locN" for
    local registers.
    
    * bytecode/CodeBlock.cpp:
    (JSC::CodeBlock::registerName):
    (JSC::CodeBlock::printUnaryOp):
    (JSC::CodeBlock::printBinaryOp):
    (JSC::CodeBlock::printConditionalJump):
    (JSC::CodeBlock::printGetByIdOp):
    (JSC::CodeBlock::printCallOp):
    (JSC::CodeBlock::printPutByIdOp):
    (JSC::CodeBlock::dumpBytecode):
    * bytecode/CodeBlock.h:
    (JSC::CodeBlock::printLocationAndOp):
    (JSC::CodeBlock::printLocationOpAndRegisterOperand):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c580864f