Changeset 38349 in webkit for trunk/JavaScriptCore/VM/CodeBlock.cpp
- Timestamp:
- Nov 12, 2008, 4:48:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeBlock.cpp
r38330 r38349 813 813 } 814 814 case op_call: { 815 int r0 = (++it)->u.operand; 816 int r1 = (++it)->u.operand; 817 int r2 = (++it)->u.operand; 818 int tempCount = (++it)->u.operand; 815 int dst = (++it)->u.operand; 816 int func = (++it)->u.operand; 819 817 int argCount = (++it)->u.operand; 820 818 int registerOffset = (++it)->u.operand; 821 printf("[%4d] call\t\t %s, %s, % s, %d, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), registerName(r2).c_str(), tempCount, argCount, registerOffset);819 printf("[%4d] call\t\t %s, %s, %d, %d\n", location, registerName(dst).c_str(), registerName(func).c_str(), argCount, registerOffset); 822 820 break; 823 821 } 824 822 case op_call_eval: { 825 int r0 = (++it)->u.operand; 826 int r1 = (++it)->u.operand; 827 int r2 = (++it)->u.operand; 828 int tempCount = (++it)->u.operand; 823 int dst = (++it)->u.operand; 824 int func = (++it)->u.operand; 829 825 int argCount = (++it)->u.operand; 830 826 int registerOffset = (++it)->u.operand; 831 printf("[%4d] call_eval\t \t %s, %s, %s, %d, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), registerName(r2).c_str(), tempCount, argCount, registerOffset);827 printf("[%4d] call_eval\t %s, %s, %d, %d\n", location, registerName(dst).c_str(), registerName(func).c_str(), argCount, registerOffset); 832 828 break; 833 829 } … … 847 843 } 848 844 case op_construct: { 849 int r0 = (++it)->u.operand; 850 int r1 = (++it)->u.operand; 851 int r2 = (++it)->u.operand; 852 int tempCount = (++it)->u.operand; 845 int dst = (++it)->u.operand; 846 int func = (++it)->u.operand; 853 847 int argCount = (++it)->u.operand; 854 848 int registerOffset = (++it)->u.operand; 855 printf("[%4d] construct\t %s, %s, %s, %d, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), registerName(r2).c_str(), tempCount, argCount, registerOffset); 849 int proto = (++it)->u.operand; 850 int thisRegister = (++it)->u.operand; 851 printf("[%4d] construct\t %s, %s, %d, %d, %s, %s\n", location, registerName(dst).c_str(), registerName(func).c_str(), argCount, registerOffset, registerName(proto).c_str(), registerName(thisRegister).c_str()); 856 852 break; 857 853 }
Note:
See TracChangeset
for help on using the changeset viewer.