Changeset 43121 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- May 1, 2009, 2:20:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r42989 r43121 1568 1568 JSValuePtr divisorValue = callFrame[divisor].jsValue(); 1569 1569 1570 if (JSValuePtr::areBothInt32Fast(dividendValue, divisorValue) && divisorValue != js 0()) {1570 if (JSValuePtr::areBothInt32Fast(dividendValue, divisorValue) && divisorValue != jsNumber(callFrame, 0)) { 1571 1571 // We expect the result of the modulus of a number that was representable as an int32 to also be representable 1572 1572 // as an int32.
Note:
See TracChangeset
for help on using the changeset viewer.