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

Unified Diff: test/cctest/compiler/test-run-machops.cc

Issue 430203002: Another fix for cctest/test-run-machops/RunLoadImmIndex. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-run-machops.cc
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc
index 06885a4921431fb571f6dccaebeae2b150845f98..bfb8cb18787b6ec8ab7d36e48cace1dcd6f19a29 100644
--- a/test/cctest/compiler/test-run-machops.cc
+++ b/test/cctest/compiler/test-run-machops.cc
@@ -2511,7 +2511,9 @@ static void RunLoadImmIndex(MachineRepresentation rep) {
Node* index = m.Int32Constant((offset + i) * sizeof(buffer[0]));
m.Return(m.Load(rep, base, index));
- CHECK_EQ(static_cast<Type>(buffer[i]), m.Call());
+ Type expected = buffer[i];
+ Type actual = static_cast<CType>(m.Call());
+ CHECK_EQ(expected, actual);
printf("XXX\n");
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698