| Index: src/execution.cc
|
| diff --git a/src/execution.cc b/src/execution.cc
|
| index ad7d7f6020b7b36865fa5ee584c59981622dc862..0a45ee77c57d79ac222f573dc1ae754acbe85cb2 100644
|
| --- a/src/execution.cc
|
| +++ b/src/execution.cc
|
| @@ -8,7 +8,6 @@
|
| #include "src/codegen.h"
|
| #include "src/deoptimizer.h"
|
| #include "src/isolate-inl.h"
|
| -#include "src/messages.h"
|
| #include "src/vm-state-inl.h"
|
|
|
| namespace v8 {
|
| @@ -280,8 +279,8 @@
|
|
|
| // If the Object doesn't have an instance-call handler we should
|
| // throw a non-callable exception.
|
| - THROW_NEW_ERROR(isolate,
|
| - NewTypeError(MessageTemplate::kCalledNonCallable, object),
|
| + THROW_NEW_ERROR(isolate, NewTypeError("called_non_callable",
|
| + i::HandleVector<i::Object>(&object, 1)),
|
| Object);
|
| }
|
|
|
| @@ -336,8 +335,8 @@
|
|
|
| // If the Object doesn't have an instance-call handler we should
|
| // throw a non-callable exception.
|
| - THROW_NEW_ERROR(isolate,
|
| - NewTypeError(MessageTemplate::kCalledNonCallable, object),
|
| + THROW_NEW_ERROR(isolate, NewTypeError("called_non_callable",
|
| + i::HandleVector<i::Object>(&object, 1)),
|
| Object);
|
| }
|
|
|
|
|