Ignore:
Timestamp:
Sep 28, 2009, 1:42:15 PM (16 years ago)
Author:
[email protected]
Message:

Hard dependency on SSE2 instruction set with JIT
https://bugs.webkit.org/show_bug.cgi?id=29779

Reviewed by Geoff Garen

Add floating point support checks to op_jfalse and op_jtrue, and
fix the logic for the slow case of op_add

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JITArithmetic.cpp

    r48744 r48830  
    636636        linkSlowCase(iter); // overflow check
    637637
    638         if (!supportsFloatingPoint()) {
     638        if (!supportsFloatingPoint())
    639639            linkSlowCase(iter); // non-sse case
    640             return;
    641         }
    642 
    643         ResultType opType = op == op1 ? types.first() : types.second();
    644         if (!opType.definitelyIsNumber())
    645             linkSlowCase(iter); // double check
     640        else {
     641            ResultType opType = op == op1 ? types.first() : types.second();
     642            if (!opType.definitelyIsNumber())
     643                linkSlowCase(iter); // double check
     644        }
    646645    } else {
    647646        linkSlowCase(iter); // overflow check
Note: See TracChangeset for help on using the changeset viewer.