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

Unified Diff: test/cctest/compiler/test-run-calls-to-external-references.cc

Issue 1773513002: x87: fix the use of CheckFloatEq and CheckDoubleEq in test. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use a do { .. } while(false) to be a good macro citizen. Created 4 years, 9 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/compiler/test-representation-change.cc ('k') | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-run-calls-to-external-references.cc
diff --git a/test/cctest/compiler/test-run-calls-to-external-references.cc b/test/cctest/compiler/test-run-calls-to-external-references.cc
index 1c645ab9c623e183fbf3bc34356b2540f92d5f5f..e701e62c195d1ec30da8eeefbea93fce179d1fbc 100644
--- a/test/cctest/compiler/test-run-calls-to-external-references.cc
+++ b/test/cctest/compiler/test-run-calls-to-external-references.cc
@@ -23,7 +23,7 @@ void TestExternalReferenceRoundingFunction(
FOR_FLOAT64_INPUTS(i) {
parameter = *i;
m->Call();
- CheckDoubleEq(comparison(*i), parameter);
+ CHECK_DOUBLE_EQ(comparison(*i), parameter);
}
}
@@ -90,7 +90,7 @@ TEST(RunCallInt64ToFloat32) {
FOR_INT64_INPUTS(i) {
input = *i;
m.Call();
- CheckFloatEq(static_cast<float>(*i), output);
+ CHECK_FLOAT_EQ(static_cast<float>(*i), output);
}
}
@@ -218,7 +218,7 @@ TEST(RunCallInt64ToFloat64) {
FOR_INT64_INPUTS(i) {
input = *i;
m.Call();
- CheckDoubleEq(static_cast<double>(*i), output);
+ CHECK_DOUBLE_EQ(static_cast<double>(*i), output);
}
}
« no previous file with comments | « test/cctest/compiler/test-representation-change.cc ('k') | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698