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

Unified Diff: test/cctest/compiler/test-multiple-return.cc

Issue 1506753002: [test] Test expectations in cctest should use CHECK and not DCHECK. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
Index: test/cctest/compiler/test-multiple-return.cc
diff --git a/test/cctest/compiler/test-multiple-return.cc b/test/cctest/compiler/test-multiple-return.cc
index 257682cb96b4eebb1e71d4ad094a853d141a8a45..e375aa3b2884013ab208abc211b6ffea55642ae7 100644
--- a/test/cctest/compiler/test-multiple-return.cc
+++ b/test/cctest/compiler/test-multiple-return.cc
@@ -34,7 +34,7 @@ CallDescriptor* GetCallDescriptor(Zone* zone, int return_count,
RegisterConfiguration::ArchDefault(RegisterConfiguration::TURBOFAN);
// Add return location(s).
- DCHECK(return_count <= config->num_allocatable_general_registers());
+ CHECK(return_count <= config->num_allocatable_general_registers());
for (int i = 0; i < return_count; i++) {
msig.AddReturn(kMachInt32);
locations.AddReturn(
@@ -42,7 +42,7 @@ CallDescriptor* GetCallDescriptor(Zone* zone, int return_count,
}
// Add register and/or stack parameter(s).
- DCHECK(param_count <= config->num_allocatable_general_registers());
+ CHECK(param_count <= config->num_allocatable_general_registers());
for (int i = 0; i < param_count; i++) {
msig.AddParam(kMachInt32);
locations.AddParam(
« no previous file with comments | « test/cctest/compiler/test-machine-operator-reducer.cc ('k') | test/cctest/compiler/test-run-bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698