Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 171e8abcf1d0b1f057974161340811b558804cf9..a9f321e3cb4c302c4c7ab4a1f611da7449dfc6e9 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -94,8 +94,6 @@ class CallSite { |
T(ArrayFunctionsOnSealed, "Cannot add/remove sealed array elements") \ |
T(ArrayNotSubclassable, "Subclassing Arrays is not currently supported.") \ |
T(CalledNonCallable, "% is not a function") \ |
- T(CalledNonCallableInstanceOf, \ |
- "Right-hand side of 'instanceof' is not callable") \ |
T(CalledOnNonObject, "% called on non-object") \ |
T(CalledOnNullOrUndefined, "% called on null or undefined") \ |
T(CallSiteExpectsFunction, \ |
@@ -132,8 +130,6 @@ class CallSite { |
T(GeneratorRunning, "Generator is already running") \ |
T(IllegalInvocation, "Illegal invocation") \ |
T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \ |
- T(InstanceofFunctionExpected, \ |
- "Expecting a function in instanceof check, but got %") \ |
T(InstanceofNonobjectProto, \ |
"Function has non-object prototype '%' in instanceof check") \ |
T(InvalidArgument, "invalid_argument") \ |
@@ -150,6 +146,8 @@ class CallSite { |
"Method invoked on undefined or null value.") \ |
T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \ |
T(NoAccess, "no access") \ |
+ T(NonCallableInInstanceOfCheck, \ |
+ "Right-hand side of 'instanceof' is not callable") \ |
T(NonCoercible, "Cannot match against 'undefined' or 'null'.") \ |
T(NonExtensibleProto, "% is not extensible") \ |
T(NonObjectInInstanceOfCheck, \ |