Changeset 49726 in webkit for trunk/JavaScriptCore/bytecode
- Timestamp:
- Oct 16, 2009, 7:31:42 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/bytecode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.cpp
r49717 r49726 1016 1016 } 1017 1017 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; 1020 1020 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;1022 1021 break; 1023 1022 } 1024 1023 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; 1028 1027 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;1030 1028 break; 1031 1029 } -
trunk/JavaScriptCore/bytecode/Opcode.h
r49717 r49726 153 153 macro(op_to_primitive, 3) \ 154 154 \ 155 macro(op_get_pnames, 6) \156 macro(op_next_pname, 7) \155 macro(op_get_pnames, 3) \ 156 macro(op_next_pname, 4) \ 157 157 \ 158 158 macro(op_push_scope, 2) \
Note:
See TracChangeset
for help on using the changeset viewer.