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

Unified Diff: test/cctest/test-unboxed-doubles.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
« no previous file with comments | « test/cctest/test-transitions.cc ('k') | test/cctest/test-utils-arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-unboxed-doubles.cc
diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc
index 09c185c84beaf454308e8786ccdb8ee1fe5040c6..4bd1fc3944abbc59baa3841e4cc9a2992e91c35c 100644
--- a/test/cctest/test-unboxed-doubles.cc
+++ b/test/cctest/test-unboxed-doubles.cc
@@ -68,7 +68,7 @@ static double GetDoubleFieldValue(JSObject* obj, FieldIndex field_index) {
return obj->RawFastDoublePropertyAt(field_index);
} else {
Object* value = obj->RawFastPropertyAt(field_index);
- DCHECK(value->IsMutableHeapNumber());
+ CHECK(value->IsMutableHeapNumber());
return HeapNumber::cast(value)->value();
}
}
« no previous file with comments | « test/cctest/test-transitions.cc ('k') | test/cctest/test-utils-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698