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:
srdjan@google.com 2014-04-01 23:39:56 +00:00
parent 4fed01aef9
commit 883486f303

View file

@ -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);