Changeset 68223 in webkit for trunk/JavaScriptCore/bytecode
- Timestamp:
- Sep 23, 2010, 5:52:52 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/bytecode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.cpp
r68006 r68223 496 496 break; 497 497 } 498 case op_init_ arguments: {499 int r0 = (++it)->u.operand; 500 printf("[%4d] init_ arguments\t %s\n", location, registerName(exec, r0).data());498 case op_init_lazy_reg: { 499 int r0 = (++it)->u.operand; 500 printf("[%4d] init_lazy_reg\t %s\n", location, registerName(exec, r0).data()); 501 501 break; 502 502 } … … 714 714 int r0 = (++it)->u.operand; 715 715 int id0 = (++it)->u.operand; 716 JSValue scope = JSValue((++it)->u.jsCell); 717 ++it; 718 printf("[%4d] resolve_global\t %s, %s, %s\n", location, registerName(exec, r0).data(), valueToSourceString(exec, scope).utf8().data(), idName(id0, m_identifiers[id0]).data()); 716 printf("[%4d] resolve_global\t %s, %s\n", location, registerName(exec, r0).data(), idName(id0, m_identifiers[id0]).data()); 719 717 it += 2; 720 718 break; … … 1031 1029 int r0 = (++it)->u.operand; 1032 1030 int f0 = (++it)->u.operand; 1033 printf("[%4d] new_func\t\t %s, f%d\n", location, registerName(exec, r0).data(), f0); 1031 int shouldCheck = (++it)->u.operand; 1032 printf("[%4d] new_func\t\t %s, f%d, %s\n", location, registerName(exec, r0).data(), f0, shouldCheck ? "<Checked>" : "<Unchecked>"); 1034 1033 break; 1035 1034 } -
trunk/JavaScriptCore/bytecode/Opcode.h
r64790 r68223 41 41 macro(op_enter, 1) \ 42 42 macro(op_enter_with_activation, 2) \ 43 macro(op_init_ arguments, 2) \43 macro(op_init_lazy_reg, 2) \ 44 44 macro(op_create_arguments, 2) \ 45 45 macro(op_create_this, 3) \ … … 154 154 macro(op_switch_string, 4) \ 155 155 \ 156 macro(op_new_func, 3) \156 macro(op_new_func, 4) \ 157 157 macro(op_new_func_exp, 3) \ 158 158 macro(op_call, 4) \
Note:
See TracChangeset
for help on using the changeset viewer.