Ignore:
Timestamp:
Feb 28, 2012, 5:13:08 PM (13 years ago)
Author:
[email protected]
Message:

Some run-javascriptcore-tests broken for 32-bit debug
https://bugs.webkit.org/show_bug.cgi?id=79844

Rubber stamped by Oliver Hunt.

These assertions are just plain wrong for 32-bit. We could either have a massive
assertion that depends on value representation, that has to be changed every
time we change the JITs, resulting in a bug tail of debug-mode crashes, or we
could get rid of the assertions. I pick the latter.

  • dfg/DFGOperations.cpp:
  • jit/JITStubs.cpp:

(JSC::DEFINE_STUB_FUNCTION):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp

    r109040 r109172  
    740740    JSValue src1 = JSValue::decode(encodedOp1);
    741741    JSValue src2 = JSValue::decode(encodedOp2);
    742    
    743     ASSERT((src1.isCell() && src2.isCell())
    744            || src1.isDouble() || src2.isDouble());
    745742   
    746743    return JSValue::strictEqual(exec, src1, src2);
Note: See TracChangeset for help on using the changeset viewer.