Reviewers: Benedikt Meurer,
Message:
Committed patchset #1 (id:1) manually as 24850 (tree was closed).
Description:
Disambiguate pow
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=24850
Please review this at https://codereview.chromium.org/673793002/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M src/compiler/simplified-lowering.cc
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) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.