Changeset 49726 in webkit for trunk/JavaScriptCore/bytecode


Ignore:
Timestamp:
Oct 16, 2009, 7:31:42 PM (16 years ago)
Author:
[email protected]
Message:

Roll out r49717 as it broke the build.

Location:
trunk/JavaScriptCore/bytecode
Files:
2 edited

Legend:

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

    r49717 r49726  
    10161016        }
    10171017        case op_get_pnames: {
    1018             int r0 = it[0].u.operand;
    1019             int r1 = it[1].u.operand;
     1018            int r0 = (++it)->u.operand;
     1019            int r1 = (++it)->u.operand;
    10201020            printf("[%4d] get_pnames\t %s, %s\n", location, registerName(r0).c_str(), registerName(r1).c_str());
    1021             it += OPCODE_LENGTH(op_get_pnames) - 1;
    10221021            break;
    10231022        }
    10241023        case op_next_pname: {
    1025             int dest = it[0].u.operand;
    1026             int iter = it[4].u.operand;
    1027             int offset = it[5].u.operand;
     1024            int dest = (++it)->u.operand;
     1025            int iter = (++it)->u.operand;
     1026            int offset = (++it)->u.operand;
    10281027            printf("[%4d] next_pname\t %s, %s, %d(->%d)\n", location, registerName(dest).c_str(), registerName(iter).c_str(), offset, location + offset);
    1029             it += OPCODE_LENGTH(op_next_pname) - 1;
    10301028            break;
    10311029        }
  • trunk/JavaScriptCore/bytecode/Opcode.h

    r49717 r49726  
    153153        macro(op_to_primitive, 3) \
    154154        \
    155         macro(op_get_pnames, 6) \
    156         macro(op_next_pname, 7) \
     155        macro(op_get_pnames, 3) \
     156        macro(op_next_pname, 4) \
    157157        \
    158158        macro(op_push_scope, 2) \
Note: See TracChangeset for help on using the changeset viewer.