Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: src/api.cc

Issue 2299873002: [wasm] consolidate wasm and asm.js module compilation sequence (Closed)
Patch Set: [wasm] consolidate wasm and asm.js module compilation sequence Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/asmjs/asm-js.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 0dfe70d5dd69c973e060ff636da8a7bf00385835..8ce5041c6a8193d7a396637085d7cae9b7120fa9 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -6942,8 +6942,9 @@ MaybeLocal<WasmCompiledModule> WasmCompiledModule::Deserialize(
if (!maybe_compiled_part.ToHandle(&compiled_part)) {
return MaybeLocal<WasmCompiledModule>();
}
- return Local<WasmCompiledModule>::Cast(Utils::ToLocal(
- i::wasm::CreateCompiledModuleObject(i_isolate, compiled_part)));
+ return Local<WasmCompiledModule>::Cast(
+ Utils::ToLocal(i::wasm::CreateCompiledModuleObject(
+ i_isolate, compiled_part, i::wasm::ModuleOrigin::kWasmOrigin)));
}
// static
« no previous file with comments | « no previous file | src/asmjs/asm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698