Index: src/runtime/runtime-typedarray.cc |
diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc |
index 93ff56dbf7b9c9ec250643cf7eefdabe4ef24dd3..26929565c6edcb23475308f2ade1579a18cabef3 100644 |
--- a/src/runtime/runtime-typedarray.cc |
+++ b/src/runtime/runtime-typedarray.cc |
@@ -5,6 +5,7 @@ |
#include "src/v8.h" |
#include "src/arguments.h" |
+#include "src/messages.h" |
#include "src/runtime/runtime.h" |
#include "src/runtime/runtime-utils.h" |
@@ -399,8 +400,7 @@ RUNTIME_FUNCTION(Runtime_TypedArraySetFastCases) { |
DCHECK(args.length() == 3); |
if (!args[0]->IsJSTypedArray()) { |
THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, |
- NewTypeError("not_typed_array", HandleVector<Object>(NULL, 0))); |
+ isolate, NewTypeError(MessageTemplate::kNotTypedArray)); |
} |
if (!args[1]->IsJSTypedArray()) |