Index: runtime/vm/intermediate_language_ia32.cc |
=================================================================== |
--- runtime/vm/intermediate_language_ia32.cc (revision 40623) |
+++ runtime/vm/intermediate_language_ia32.cc (working copy) |
@@ -5144,7 +5144,7 @@ |
Label do_pow, return_zero; |
__ Bind(&try_sqrt); |
// Before calling pow, check if we could use sqrt instead of pow. |
- __ LoadObject(temp, Double::ZoneHandle(Double::NewCanonical(-INFINITY))); |
+ __ LoadObject(temp, Double::ZoneHandle(Double::NewCanonical(kNegInfinity))); |
__ movsd(result, FieldAddress(temp, Double::value_offset())); |
// base == -Infinity -> call pow; |
__ comisd(base, result); |