Index: test/cctest/trace-extension.cc |
diff --git a/test/cctest/trace-extension.cc b/test/cctest/trace-extension.cc |
index a090e52f87c7b44e5a1a5ecda22bad1862e0ada5..a95532f931283dc6a68bf3c3fc7afe95bb023576 100644 |
--- a/test/cctest/trace-extension.cc |
+++ b/test/cctest/trace-extension.cc |
@@ -130,14 +130,14 @@ void TraceExtension::JSTrace(const v8::FunctionCallbackInfo<v8::Value>& args) { |
Address TraceExtension::GetJsEntrySp() { |
- CHECK_NE(NULL, CcTest::i_isolate()->thread_local_top()); |
+ CHECK(CcTest::i_isolate()->thread_local_top()); |
return CcTest::i_isolate()->js_entry_sp(); |
} |
void TraceExtension::JSEntrySP( |
const v8::FunctionCallbackInfo<v8::Value>& args) { |
- CHECK_NE(0, GetJsEntrySp()); |
+ CHECK(GetJsEntrySp()); |
} |
@@ -145,7 +145,7 @@ void TraceExtension::JSEntrySPLevel2( |
const v8::FunctionCallbackInfo<v8::Value>& args) { |
v8::HandleScope scope(args.GetIsolate()); |
const Address js_entry_sp = GetJsEntrySp(); |
- CHECK_NE(0, js_entry_sp); |
+ CHECK(js_entry_sp); |
CompileRun("js_entry_sp();"); |
CHECK_EQ(js_entry_sp, GetJsEntrySp()); |
} |