Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Unified Diff: test/cctest/test-serialize.cc

Issue 1372133006: Fix unwanted float-to-double-promotions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-heap.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-serialize.cc
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
index a37d6a0f19a7bca0429f6a94283bd712a038d1af..1cca27b1acfd89cb0ef767d8265cb43de28433a3 100644
--- a/test/cctest/test-serialize.cc
+++ b/test/cctest/test-serialize.cc
@@ -1276,7 +1276,7 @@ TEST(SerializeToplevelExternalString) {
Handle<Object> copy_result =
Execution::Call(isolate, copy_fun, global, 0, NULL).ToHandleChecked();
- CHECK_EQ(15.0f, copy_result->Number());
+ CHECK_EQ(15.0, copy_result->Number());
delete cache;
}
@@ -1334,7 +1334,7 @@ TEST(SerializeToplevelLargeExternalString) {
Handle<Object> copy_result =
Execution::Call(isolate, copy_fun, global, 0, NULL).ToHandleChecked();
- CHECK_EQ(42.0f, copy_result->Number());
+ CHECK_EQ(42.0, copy_result->Number());
delete cache;
string.Dispose();
@@ -1385,7 +1385,7 @@ TEST(SerializeToplevelExternalScriptName) {
Handle<Object> copy_result =
Execution::Call(isolate, copy_fun, global, 0, NULL).ToHandleChecked();
- CHECK_EQ(10.0f, copy_result->Number());
+ CHECK_EQ(10.0, copy_result->Number());
delete cache;
}
« no previous file with comments | « test/cctest/test-heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698