Changeset 87702 in webkit for trunk/Source/JavaScriptCore/tests


Ignore:
Timestamp:
May 30, 2011, 4:49:51 PM (14 years ago)
Author:
[email protected]
Message:

2011-05-30 Hojong Han <[email protected]>

Reviewed by Geoffrey Garen.

[JSC] malfunction during arithmetic condition check with negative number (-2147483648)
https://bugs.webkit.org/show_bug.cgi?id=61416

  • assembler/MacroAssemblerARM.h: (JSC::MacroAssemblerARM::branch32):
  • tests/mozilla/ecma/Expressions/11.12-1.js: (getTestCases):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/11.12-1.js

    r11995 r87702  
    7070    array[item++] = new TestCase( SECTION,    "var VAR = true ? , : 'FAILED'", "PASSED",           (VAR = true ? "PASSED" : "FAILED") );
    7171
     72    array[item++] = new TestCase( SECTION,    "item = " + item +"; VAR = (item < -2147483648) ? 'FAILED' : 'PASSED'", "PASSED",           (VAR = (item < -2147483648) ? "FAILED" : "PASSED") );
     73
    7274    return ( array );
    7375}
Note: See TracChangeset for help on using the changeset viewer.