Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1538)

Unified Diff: src/execution.cc

Issue 4888002: [Isolates] Pass isolate to VMState constructor. (Closed)
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cpu-profiler.h ('k') | src/global-handles.h » ('j') | src/top.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.cc
diff --git a/src/execution.cc b/src/execution.cc
index 30df585fcbb7a724617213a9832ae4d1bb2996eb..c9b012cf7c4285707f66485c7b7c34b5e43e1f3b 100644
--- a/src/execution.cc
+++ b/src/execution.cc
@@ -72,7 +72,7 @@ static Handle<Object> Invoke(bool construct,
Isolate* isolate = func->GetIsolate();
// Entering JavaScript.
- VMState state(JS);
+ VMState state(isolate, JS);
// Placeholder for return value.
MaybeObject* value = reinterpret_cast<Object*>(kZapValue);
« no previous file with comments | « src/cpu-profiler.h ('k') | src/global-handles.h » ('j') | src/top.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698