| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 5c6f1aa8f433229e9426c96f236d748684af70cc..7c160de4d97086af001912f8a9555c783eebcb42 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -4993,7 +4993,7 @@ Expression* Parser::ParseV8Intrinsic(bool* ok) {
|
|
|
| // Check that the expected number of arguments are being passed.
|
| if (function->nargs != -1 && function->nargs != args->length()) {
|
| - ReportMessage(MessageTemplate::kIllegalAccess);
|
| + ReportMessage(MessageTemplate::kRuntimeWrongNumArgs);
|
| *ok = false;
|
| return NULL;
|
| }
|
|
|