| Index: src/messages.h
|
| diff --git a/src/messages.h b/src/messages.h
|
| index a903b9f4f3d0c19d5bc1af90211802ab000147b3..249e74218a6cb66cc74ccb49f9623550efb7e976 100644
|
| --- a/src/messages.h
|
| +++ b/src/messages.h
|
| @@ -83,6 +83,14 @@ class CallSite {
|
| T(Unsupported, "Not supported") \
|
| T(WrongServiceType, "Internal error, wrong service type: %") \
|
| T(WrongValueType, "Internal error. Wrong value type.") \
|
| + T(WasmTrapUnreachable, "unreachable") \
|
| + T(WasmTrapMemOutOfBounds, "memory access out of bounds") \
|
| + T(WasmTrapDivByZero, "divide by zero") \
|
| + T(WasmTrapDivUnrepresentable, "divide result unrepresentable") \
|
| + T(WasmTrapRemByZero, "remainder by zero") \
|
| + T(WasmTrapFloatUnrepresentable, "integer result unrepresentable") \
|
| + T(WasmTrapFuncInvalid, "invalid function") \
|
| + T(WasmTrapFuncSigMismatch, "function signature mismatch") \
|
| /* TypeError */ \
|
| T(ApplyNonFunction, \
|
| "Function.prototype.apply was called on %, which is a % and not a " \
|
|
|