Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 153e3ff85d66bdbb4fb90df374f22d4b1ab45826..e8be36a32da43318448ba0e83d6a02bc96d8b3c4 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -638,11 +638,6 @@ |
CompileRun("f()")->Int32Value(isolate1->GetCurrentContext()); |
CHECK_EQ(42, result.FromJust()); |
CHECK(CompileRun("this.g")->IsUndefined()); |
- v8::Local<v8::Value> f = CompileRun("f"); |
- i::Handle<i::JSFunction> function = |
- i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*f)); |
- // Being part of the snapshot hides a script from the debugger. |
- CHECK(!function->shared()->IsSubjectToDebugging()); |
} |
isolate1->Dispose(); |
} |