Changeset 35810 in webkit for trunk/JavaScriptCore/VM/Machine.cpp
- Timestamp:
- Aug 17, 2008, 2:27:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.cpp
r35807 r35810 2215 2215 NEXT_OPCODE; 2216 2216 } 2217 BEGIN_OPCODE(op_jless) {2218 /* jless src1(r) src2(r) target(offset)2219 2220 Checks whether register src1 is less than register src2, as2221 with the ECMAScript '<' operator, and then jumps to offset2222 target from the current instruction, if and only if the2223 result of the comparison is true.2224 */2225 JSValue* src1 = r[(++vPC)->u.operand].jsValue(exec);2226 JSValue* src2 = r[(++vPC)->u.operand].jsValue(exec);2227 int target = (++vPC)->u.operand;2228 2229 bool result = jsLess(exec, src1, src2);2230 VM_CHECK_EXCEPTION();2231 2232 if (result) {2233 vPC += target;2234 NEXT_OPCODE;2235 }2236 2237 ++vPC;2238 NEXT_OPCODE;2239 }2240 2217 BEGIN_OPCODE(op_jnless) { 2241 2218 /* jnless src1(r) src2(r) target(offset)
Note:
See TracChangeset
for help on using the changeset viewer.