Commit f768e53c authored by ahaas's avatar ahaas Committed by Commit bot

[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}
parent 667188b1
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment