Revision: 22754
Author: [email protected]
Date: Thu Jul 31 12:01:36 2014 UTC
Log: TF: Fix windows build (implicit cast between double and int32_t).
[email protected]
BUG=
Review URL: https://codereview.chromium.org/431963002
http://code.google.com/p/v8/source/detail?r=22754
Modified:
/branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc
=======================================
--- /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc Thu
Jul 31 11:45:22 2014 UTC
+++ /branches/bleeding_edge/test/cctest/compiler/test-run-machops.cc Thu
Jul 31 12:01:36 2014 UTC
@@ -2945,14 +2945,14 @@
for (int32_t n = 1; n < 31; ++n) {
{
input = 1 << n;
- int32_t expect = input;
+ int32_t expect = static_cast<int32_t>(input);
CHECK_EQ(expect, m.Call());
CHECK_EQ(expect, output);
}
{
input = 3 << n;
- int32_t expect = input;
+ int32_t expect = static_cast<int32_t>(input);
CHECK_EQ(expect, m.Call());
CHECK_EQ(expect, output);
}
--
--
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.