Changeset 51424 in webkit
- Timestamp:
- Nov 26, 2009 9:20:37 PM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r51423 r51424 1 2009-11-25 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Gavin Barraclough. 4 5 Incorrect behaviour of jneq_null in the interpreter 6 https://bugs.webkit.org/show_bug.cgi?id=31901 7 8 Correct the logic of jneq_null. This is already covered by existing tests. 9 10 * interpreter/Interpreter.cpp: 11 (JSC::Interpreter::privateExecute): 12 1 13 2009-11-26 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 14 -
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r51128 r51424 2708 2708 JSValue srcValue = callFrame->r(src).jsValue(); 2709 2709 2710 if (!srcValue.isUndefinedOrNull() || (srcValue.isCell() &&!srcValue.asCell()->structure()->typeInfo().masqueradesAsUndefined())) {2710 if (!srcValue.isUndefinedOrNull() && (!srcValue.isCell() || !srcValue.asCell()->structure()->typeInfo().masqueradesAsUndefined())) { 2711 2711 vPC += target; 2712 2712 NEXT_INSTRUCTION();
Note: See TracChangeset
for help on using the changeset viewer.