Remove unnecessary call to Isolate::Current in parser-shell
R=vogelheim@chromium.org BUG=none LOG=n Review URL: https://codereview.chromium.org/1123203003 Cr-Commit-Position: refs/heads/master@{#28406}
This commit is contained in:
parent
3a18b9b71b
commit
8324dfdb69
@ -93,8 +93,9 @@ std::pair<v8::base::TimeDelta, v8::base::TimeDelta> RunBaselineParser(
|
||||
}
|
||||
}
|
||||
v8::base::TimeDelta parse_time1, parse_time2;
|
||||
Handle<Script> script = Isolate::Current()->factory()->NewScript(
|
||||
v8::Utils::OpenHandle(*source_handle));
|
||||
Handle<Script> script =
|
||||
reinterpret_cast<i::Isolate*>(isolate)->factory()->NewScript(
|
||||
v8::Utils::OpenHandle(*source_handle));
|
||||
i::ScriptData* cached_data_impl = NULL;
|
||||
// First round of parsing (produce data to cache).
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user