Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index 2a2ab16d45ef357e928d49387042a8214caed154..c92f027264ce3edc2974d269eb2dc8cd91f2b083 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -7,6 +7,7 @@ |
#include "src/accessors.h" |
#include "src/arguments.h" |
#include "src/frames-inl.h" |
+#include "src/messages.h" |
#include "src/runtime/runtime-utils.h" |
#include "src/scopeinfo.h" |
#include "src/scopes.h" |
@@ -662,7 +663,7 @@ RUNTIME_FUNCTION(Runtime_PushWithContext) { |
if (!maybe_object.ToHandle(&extension_object)) { |
Handle<Object> handle = args.at<Object>(0); |
THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewTypeError("with_expression", HandleVector(&handle, 1))); |
+ isolate, NewTypeError(MessageTemplate::kWithExpression, handle)); |
} |
} |