Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 8bed93eb764058283565e509e65b3b4d3adb7870..b47bb348effe1ad43db12fc0443ea6fa09c54126 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -317,7 +317,7 @@ TEST(Regression236) { |
v8::HandleScope scope(CcTest::isolate()); |
Handle<Script> script = factory->NewScript(factory->empty_string()); |
- script->set_source(HEAP->undefined_value()); |
+ script->set_source(CcTest::heap()->undefined_value()); |
CHECK_EQ(-1, GetScriptLineNumber(script, 0)); |
CHECK_EQ(-1, GetScriptLineNumber(script, 100)); |
CHECK_EQ(-1, GetScriptLineNumber(script, -1)); |