Changeset 99788 in webkit
- Timestamp:
- Nov 9, 2011, 5:10:40 PM (15 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGByteCodeParser.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r99787 r99788 1 2011-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 1 13 2011-11-09 Filip Pizlo <fpizlo@apple.com> 2 14 -
trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
r99652 r99788 1142 1142 // argument then make this JSConstant(NaN). 1143 1143 int absArg = firstArg + 1; 1144 if (absArg > lastArg) 1144 if (absArg > lastArg) { 1145 1145 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))); 1148 1153 return true; 1149 1154 } … … 1163 1168 return true; 1164 1169 } 1170 1171 if (!MacroAssembler::supportsFloatingPointSqrt()) 1172 return false; 1165 1173 1166 1174 set(resultOperand, addToGraph(ArithSqrt, getToNumber(firstArg + 1)));
Note:
See TracChangeset
for help on using the changeset viewer.