[wasm] Do not try start linking if the compilation failed.
BUG=chromium:614291 LOG=N R=titzer@chromium.org, bradnelson@chromium.org Review-Url: https://codereview.chromium.org/2009823002 Cr-Commit-Position: refs/heads/master@{#36503}
This commit is contained in:
parent
667188b1a7
commit
f768e53cd8
@ -774,6 +774,7 @@ MaybeHandle<JSObject> WasmModule::Instantiate(
|
||||
if (!FinishCompilation(isolate, this, ffi, results, instance, code_table,
|
||||
thrower, factory, module_env, code_stats, desc)) {
|
||||
instance.js_object = Handle<JSObject>::null();
|
||||
return instance.js_object;
|
||||
}
|
||||
|
||||
// Patch all direct call sites.
|
||||
|
Loading…
Reference in New Issue
Block a user