Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 2df31df35330a0278c3a5a6472bddd9c08a4c48a..617922dd5a752e7667d4937eb59f1ede38223a5a 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1155,13 +1155,13 @@ void ObjectTemplate::SetInternalFieldCount(int value) { |
ScriptData* ScriptData::PreCompile(const char* input, int length) { |
unibrow::Utf8InputBuffer<> buf(input, length); |
- return i::Parser::PreParse(i::Handle<i::String>(), &buf, NULL); |
+ return i::ParserApi::PreParse(i::Handle<i::String>(), &buf, NULL); |
} |
ScriptData* ScriptData::PreCompile(v8::Handle<String> source) { |
i::Handle<i::String> str = Utils::OpenHandle(*source); |
- return i::Parser::PreParse(str, NULL, NULL); |
+ return i::ParserApi::PreParse(str, NULL, NULL); |
} |