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

Unified Diff: test/cctest/test-api.h

Issue 2059173002: Reland of place all remaining Oddball checks with new function (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/heap/test-heap.cc ('k') | test/cctest/test-dictionary.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.h
diff --git a/test/cctest/test-api.h b/test/cctest/test-api.h
index 1a70c68b92c46d28443f4c7b2d74bf3154b60dc9..f9a335a7f4ccc686b5811a720b258f9b488f0624 100644
--- a/test/cctest/test-api.h
+++ b/test/cctest/test-api.h
@@ -28,7 +28,7 @@
CHECK(!(*o)->IsTheHole(isolate) && !(*o)->IsUndefined(isolate));
rv.Set(v8::Local<v8::Object>());
CHECK((*o)->IsTheHole(isolate) || (*o)->IsUndefined(isolate));
- CHECK_EQ(is_runtime, (*o)->IsTheHole());
+ CHECK_EQ(is_runtime, (*o)->IsTheHole(isolate));
// If CPU profiler is active check that when API callback is invoked
// VMState is set to EXTERNAL.
if (isolate->is_profiling()) {
« no previous file with comments | « test/cctest/heap/test-heap.cc ('k') | test/cctest/test-dictionary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698