Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index dc599d755ffb3c6c975557c6f7eb1074d8e97e1c..7287f9ed287dbc76016af5453ca3735509d033c2 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -97,7 +97,8 @@ class CallSite { |
T(CalledOnNonObject, "% called on non-object") \ |
T(CalledOnNullOrUndefined, "% called on null or undefined") \ |
T(CallSiteExpectsFunction, \ |
- "CallSite expects function or number as second argument, got %") \ |
+ "CallSite expects wasm object as first or function as second argument, " \ |
+ "got <%, %>") \ |
T(CallSiteMethod, "CallSite method % expects CallSite as receiver") \ |
T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \ |
T(CannotPreventExt, "Cannot prevent extensions") \ |