Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index a0cb0378dedc8f130051b30d8beebec478e61a40..9204e88d9ff4801c13b20669c7ad29e24a2de67a 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -77,7 +77,8 @@ class RepresentationSelector { |
Factory* f = zone->isolate()->factory(); |
safe_int_additive_range_ = |
- Type::Range(f->NewNumber(-pow(2, 52)), f->NewNumber(pow(2, 52)), zone); |
+ Type::Range(f->NewNumber(-std::pow(2.0, 52.0)), |
+ f->NewNumber(std::pow(2.0, 52.0)), zone); |
} |
void Run(SimplifiedLowering* lowering) { |