Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index d5fed2078f3aab07bbabd3fc0207707d90b36dbf..10ff89c278e198baee5c9e35bc8e8298bb8066d6 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -1546,10 +1546,7 @@ TEST(TestUseOfIncrementalBarrierOnCompileLazy) { |
Handle<Object> g_value = |
Object::GetProperty(isolate->global_object(), g_name).ToHandleChecked(); |
Handle<JSFunction> g_function = Handle<JSFunction>::cast(g_value); |
- // TODO(mvstanton): change to check that g is *not* compiled when optimized |
- // cache |
- // map lookup moves to the compile lazy builtin. |
- CHECK(g_function->is_compiled()); |
+ CHECK(!g_function->is_compiled()); |
SimulateIncrementalMarking(heap); |
CompileRun("%OptimizeFunctionOnNextCall(f); f();"); |