Index: samples/shell.cc |
diff --git a/samples/shell.cc b/samples/shell.cc |
index 48c042c7956d1a931926d9cfdbd6a0b17a71ba13..c537fa539cf1c38fc0237d5be1d5483f89386c73 100644 |
--- a/samples/shell.cc |
+++ b/samples/shell.cc |
@@ -325,7 +325,7 @@ bool ExecuteString(v8::Isolate* isolate, |
bool print_result, |
bool report_exceptions) { |
v8::HandleScope handle_scope(isolate); |
- v8::TryCatch try_catch; |
+ v8::TryCatch try_catch(isolate); |
v8::ScriptOrigin origin(name); |
v8::Handle<v8::Script> script = v8::Script::Compile(source, &origin); |
if (script.IsEmpty()) { |