Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 5cdda84e57eec87964b25fbd99026aac0c96b31f..898eb08faa8da7d9a1ea5a07fcce076f7f840566 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2217,6 +2217,10 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
InstallError(isolate, dummy, factory->CompileError_string(), |
Context::WASM_COMPILE_ERROR_FUNCTION_INDEX); |
+ // -- L i n k E r r o r |
+ InstallError(isolate, dummy, factory->LinkError_string(), |
+ Context::WASM_LINK_ERROR_FUNCTION_INDEX); |
+ |
// -- R u n t i m e E r r o r |
InstallError(isolate, dummy, factory->RuntimeError_string(), |
Context::WASM_RUNTIME_ERROR_FUNCTION_INDEX); |