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()) { |