diff --git a/src/node.cc b/src/node.cc index 77b9700da5..6ae4b3d598 100644 --- a/src/node.cc +++ b/src/node.cc @@ -318,15 +318,15 @@ const char* ToCString(const v8::String::Utf8Value& value) { return *value ? *value : ""; } -static void ReportException(TryCatch *try_catch, bool show_line = false) { - Handle message = try_catch->Message(); +static void ReportException(TryCatch &try_catch, bool show_line = false) { + Handle message = try_catch.Message(); if (message.IsEmpty()) { fprintf(stderr, "Error: (no message)\n"); fflush(stderr); return; } - Handle error = try_catch->Exception(); + Handle error = try_catch.Exception(); Handle stack; if (error->IsObject()) { @@ -373,13 +373,13 @@ Local ExecuteString(Local source, Local filename) { Local