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

Unified Diff: src/wasm/wasm-objects.h

Issue 2642683002: [wasm][asm.js] Store foreign init function for asm.js as internal field. (Closed)
Patch Set: Created 3 years, 11 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 | « src/wasm/wasm-module.cc ('k') | test/mjsunit/asm/regress-681236.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-objects.h
diff --git a/src/wasm/wasm-objects.h b/src/wasm/wasm-objects.h
index 8c22ca3893de989147493e57f6b29a226bc76f59..583bf1cbf84f67181616aa3fabcf5f152bd0e51f 100644
--- a/src/wasm/wasm-objects.h
+++ b/src/wasm/wasm-objects.h
@@ -39,7 +39,7 @@ class WasmInstanceWrapper;
class WasmModuleObject : public JSObject {
public:
// TODO(titzer): add the brand as an internal field instead of a property.
- enum Fields { kCompiledModule, kFieldCount };
+ enum Fields { kCompiledModule, kAsmForeignInit, kFieldCount };
DECLARE_CASTS(WasmModuleObject);
« no previous file with comments | « src/wasm/wasm-module.cc ('k') | test/mjsunit/asm/regress-681236.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698