mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 08:21:10 +00:00
Fix builds for finicky compilers.
Review URL: https://codereview.chromium.org//221623002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34625 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
4fed01aef9
commit
883486f303
|
@ -4809,7 +4809,7 @@ void InvokeMathCFunctionInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|||
Label do_pow, return_zero;
|
||||
__ Bind(&do_call);
|
||||
// Before calling check if we could use sqrt instead of pow.
|
||||
__ LoadObject(temp, Double::ZoneHandle(Double::NewCanonical(-1.0/0.0)));
|
||||
__ LoadObject(temp, Double::ZoneHandle(Double::NewCanonical(-INFINITY)));
|
||||
__ movsd(result, FieldAddress(temp, Double::value_offset()));
|
||||
// base == -Infinity -> call pow;
|
||||
__ comisd(base, result);
|
||||
|
|
Loading…
Reference in a new issue