Index: test/cctest/test-func-name-inference.cc |
diff --git a/test/cctest/test-func-name-inference.cc b/test/cctest/test-func-name-inference.cc |
index 27225e9a03ade26dcc19208421e296b33d53164f..1a000afba29c8e53af4e283f9ccd866ce82b0e07 100644 |
--- a/test/cctest/test-func-name-inference.cc |
+++ b/test/cctest/test-func-name-inference.cc |
@@ -82,7 +82,7 @@ static void CheckFunctionName(v8::Handle<v8::Script> script, |
isolate->debug()->PrepareForBreakPoints(); |
Object* shared_func_info_ptr = |
isolate->debug()->FindSharedFunctionInfoInScript(i_script, func_pos); |
- CHECK(shared_func_info_ptr != HEAP->undefined_value()); |
+ CHECK(shared_func_info_ptr != CcTest::heap()->undefined_value()); |
Handle<SharedFunctionInfo> shared_func_info( |
SharedFunctionInfo::cast(shared_func_info_ptr)); |