Reviewers: vogelheim,
Description:
Remove unnecessary call to Isolate::Current in parser-shell
[email protected]
BUG=none
LOG=n
Please review this at https://codereview.chromium.org/1123203003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+3, -2 lines):
M tools/parser-shell.cc
Index: tools/parser-shell.cc
diff --git a/tools/parser-shell.cc b/tools/parser-shell.cc
index
7e33d8c568cc2afbf07d715575cbaa8291928f54..8abe768a36bbb0f778f9f99394ea99bd23844cfc
100644
--- a/tools/parser-shell.cc
+++ b/tools/parser-shell.cc
@@ -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).
{
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.