| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index db2045f8da97ce9727381743ff5133743d490f43..0d4f716e4e488e79f1456b71aafd7353284559eb 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -1619,16 +1619,6 @@ void ObjectTemplate::SetInternalFieldCount(int value) {
|
| // --- S c r i p t D a t a ---
|
|
|
|
|
| -ScriptData* ScriptData::PreCompile(v8::Isolate* isolate,
|
| - const char* input,
|
| - int length) {
|
| - i::Utf8ToUtf16CharacterStream stream(
|
| - reinterpret_cast<const unsigned char*>(input), length);
|
| - return i::PreParserApi::PreParse(
|
| - reinterpret_cast<i::Isolate*>(isolate), &stream);
|
| -}
|
| -
|
| -
|
| ScriptData* ScriptData::PreCompile(v8::Handle<String> source) {
|
| i::Handle<i::String> str = Utils::OpenHandle(*source);
|
| i::Isolate* isolate = str->GetIsolate();
|
|
|