Index: runtime/vm/intermediate_language_ia32.cc |
=================================================================== |
--- runtime/vm/intermediate_language_ia32.cc (revision 34624) |
+++ runtime/vm/intermediate_language_ia32.cc (working copy) |
@@ -4809,7 +4809,7 @@ |
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); |