Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 2e1c7d71c01324293cbd9069a90ad61245b530cf..c74e1b13e4f3be192df4008a05856455834c5610 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1289,6 +1289,8 @@ DEFINE_ERROR(RangeError, range_error) |
DEFINE_ERROR(ReferenceError, reference_error) |
DEFINE_ERROR(SyntaxError, syntax_error) |
DEFINE_ERROR(TypeError, type_error) |
+DEFINE_ERROR(WasmCompileError, wasm_compile_error) |
+DEFINE_ERROR(WasmRuntimeError, wasm_runtime_error) |
#undef DEFINE_ERROR |
Handle<JSFunction> Factory::NewFunction(Handle<Map> map, |