Changeset 34497 in webkit for trunk/JavaScriptCore/VM/Machine.cpp
- Timestamp:
- Jun 11, 2008, 12:48:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.cpp
r34457 r34497 1913 1913 NEXT_OPCODE; 1914 1914 } 1915 BEGIN_OPCODE(op_jless) { 1916 /* jless src1(r) src2(r) target(offset) 1917 1918 Checks whether register src1 is less than register src2, as 1919 with the ECMAScript '<' operator, and then jumps to offset 1920 target from the current instruction, if and only if the 1921 result of the comparison is true. 1922 */ 1923 JSValue* src1 = r[(++vPC)->u.operand].u.jsValue; 1924 JSValue* src2 = r[(++vPC)->u.operand].u.jsValue; 1925 int target = (++vPC)->u.operand; 1926 1927 bool result = jsLess(exec, src1, src2); 1928 VM_CHECK_EXCEPTION(); 1929 1930 if (result) { 1931 vPC += target; 1932 NEXT_OPCODE; 1933 } 1934 1935 ++vPC; 1936 NEXT_OPCODE; 1937 } 1915 1938 BEGIN_OPCODE(op_new_func) { 1916 1939 /* new_func dst(r) func(f)
Note:
See TracChangeset
for help on using the changeset viewer.