Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 3df2dfdb8ac82a460f3264aec98125c472f2b71c..6e9a17cec84a5188c7168c04b5801e5a9d799b67 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -38,10 +38,8 @@ using namespace v8::internal; |
static Handle<Object> GetGlobalProperty(const char* name) { |
Isolate* isolate = CcTest::i_isolate(); |
- Handle<String> internalized_name = |
- isolate->factory()->InternalizeUtf8String(name); |
return Object::GetProperty( |
- isolate->global_object(), internalized_name).ToHandleChecked(); |
+ isolate, isolate->global_object(), name).ToHandleChecked(); |
} |
@@ -259,9 +257,9 @@ TEST(Regression236) { |
Handle<Script> script = factory->NewScript(factory->empty_string()); |
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)); |
+ CHECK_EQ(-1, Script::GetLineNumber(script, 0)); |
+ CHECK_EQ(-1, Script::GetLineNumber(script, 100)); |
+ CHECK_EQ(-1, Script::GetLineNumber(script, -1)); |
} |