| Index: src/runtime/runtime-array.cc
|
| diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc
|
| index 8391f451585e34e4cd4ecd6a1f5e12d520e6121d..95670d5950d55c2b1663213825ee62af1f1d05a3 100644
|
| --- a/src/runtime/runtime-array.cc
|
| +++ b/src/runtime/runtime-array.cc
|
| @@ -5,6 +5,7 @@
|
| #include "src/v8.h"
|
|
|
| #include "src/arguments.h"
|
| +#include "src/messages.h"
|
| #include "src/runtime/runtime-utils.h"
|
|
|
| namespace v8 {
|
| @@ -906,8 +907,7 @@ RUNTIME_FUNCTION(Runtime_ArrayConcat) {
|
|
|
| if (visitor.exceeds_array_limit()) {
|
| THROW_NEW_ERROR_RETURN_FAILURE(
|
| - isolate,
|
| - NewRangeError("invalid_array_length", HandleVector<Object>(NULL, 0)));
|
| + isolate, NewRangeError(MessageTemplate::kInvalidArrayLength));
|
| }
|
| return *visitor.ToArray();
|
| }
|
|
|