Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 6a17dfb7cd4a73c25d296385d861202692f3bd7a..1c32045460d8e6bb8eb31adcf9a7a8d8ae55961f 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -56,7 +56,7 @@ RUNTIME_FUNCTION(Runtime_ThrowReferenceError) { |
DCHECK(args.length() == 1); |
CONVERT_ARG_HANDLE_CHECKED(Object, name, 0); |
THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewReferenceError("not_defined", HandleVector(&name, 1))); |
+ isolate, NewReferenceError(MessageTemplate::kNotDefined, name)); |
} |