⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 99788 in webkit


Ignore:
Timestamp:
Nov 9, 2011, 5:10:40 PM (15 years ago)
Author:
barraclough@apple.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=71873

Reviewed by Geoff Garen.

Incrementally re-landing these changes, trying to determine what went wrong.
(The whole patch failed tests on the build bot but worked locally.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::handleIntrinsic):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r99787 r99788  
     12011-11-09  Gavin Barraclough  <barraclough@apple.com>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=71873
     4
     5        Reviewed by Geoff Garen.
     6
     7        Incrementally re-landing these changes, trying to determine what went wrong.
     8        (The whole patch failed tests on the build bot but worked locally.
     9
     10        * dfg/DFGByteCodeParser.cpp:
     11        (JSC::DFG::ByteCodeParser::handleIntrinsic):
     12
    1132011-11-09  Filip Pizlo  <fpizlo@apple.com>
    214
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

    r99652 r99788  
    11421142        // argument then make this JSConstant(NaN).
    11431143        int absArg = firstArg + 1;
    1144         if (absArg > lastArg)
     1144        if (absArg > lastArg) {
    11451145            set(resultOperand, constantNaN());
    1146         else
    1147             set(resultOperand, addToGraph(ArithAbs, OpInfo(NodeUseBottom), getToNumber(absArg)));
     1146            return true;
     1147        }
     1148
     1149        if (!MacroAssembler::supportsFloatingPointAbs())
     1150            return false;
     1151
     1152        set(resultOperand, addToGraph(ArithAbs, OpInfo(NodeUseBottom), getToNumber(absArg)));
    11481153        return true;
    11491154    }
     
    11631168            return true;
    11641169        }
     1170       
     1171        if (!MacroAssembler::supportsFloatingPointSqrt())
     1172            return false;
    11651173       
    11661174        set(resultOperand, addToGraph(ArithSqrt, getToNumber(firstArg + 1)));
Note: See TracChangeset for help on using the changeset viewer.