Index: src/d8.h |
diff --git a/src/d8.h b/src/d8.h |
index 04c54545516b372c2b6d4471a72a9f026f34dfb5..621ac74095b960c99e61ae056ed697b92233d999 100644 |
--- a/src/d8.h |
+++ b/src/d8.h |
@@ -265,12 +265,13 @@ class Shell : public i::AllStatic { |
#endif // V8_SHARED |
public: |
- static bool ExecuteString(Handle<String> source, |
+ static bool ExecuteString(Isolate* isolate, |
+ Handle<String> source, |
Handle<Value> name, |
bool print_result, |
bool report_exceptions); |
static const char* ToCString(const v8::String::Utf8Value& value); |
- static void ReportException(TryCatch* try_catch); |
+ static void ReportException(Isolate* isolate, TryCatch* try_catch); |
static Handle<String> ReadFile(Isolate* isolate, const char* name); |
static Persistent<Context> CreateEvaluationContext(Isolate* isolate); |
static int RunMain(Isolate* isolate, int argc, char* argv[]); |
@@ -279,7 +280,8 @@ class Shell : public i::AllStatic { |
static void OnExit(); |
#ifndef V8_SHARED |
- static Handle<Array> GetCompletions(Handle<String> text, |
+ static Handle<Array> GetCompletions(Isolate* isolate, |
+ Handle<String> text, |
Handle<String> full); |
static int* LookupCounter(const char* name); |
static void* CreateHistogram(const char* name, |