Ignore:
Timestamp:
Sep 15, 2008, 3:17:16 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-15 Cameron Zwarich <[email protected]>

Rubber-stamped by Oliver Hunt.

r36427 broke CodeBlock::dump() by changing the number of arguments to
op_construct without changing the code that prints it. This patch fixes
it by printing the additional argument.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • VM/CodeBlock.cpp: (JSC::CodeBlock::dump):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CodeBlock.cpp

    r36418 r36460  
    784784            int r0 = (++it)->u.operand;
    785785            int r1 = (++it)->u.operand;
     786            int r2 = (++it)->u.operand;
    786787            int tempCount = (++it)->u.operand;
    787788            int argCount = (++it)->u.operand;
    788             printf("[%4d] construct\t %s, %s, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), tempCount, argCount);
     789            printf("[%4d] construct\t %s, %s, %s, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), registerName(r2).c_str(), tempCount, argCount);
    789790            break;
    790791        }
Note: See TracChangeset for help on using the changeset viewer.