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

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

Issue 2415533003: [wasm] Rename WasmModuleInstance to WasmInstance. (Closed)
Patch Set: Created 4 years, 2 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-interpreter.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 9836751f8efd239dae46e97a3083a43149cb2b8a..986e2a96d2f0d8cb8eb6595f5a43f1f8880300c1 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -257,7 +257,7 @@ struct WasmModule {
};
// An instantiated WASM module, including memory, function table, etc.
-struct WasmModuleInstance {
+struct WasmInstance {
const WasmModule* module; // static representation of the module.
// -- Heap allocated --------------------------------------------------------
Handle<JSObject> js_object; // JavaScript module object.
@@ -272,7 +272,7 @@ struct WasmModuleInstance {
// -- raw globals -----------------------------------------------------------
byte* globals_start; // start of the globals area.
- explicit WasmModuleInstance(const WasmModule* m)
+ explicit WasmInstance(const WasmModule* m)
: module(m),
function_tables(m->function_tables.size()),
function_code(m->functions.size()),
@@ -285,7 +285,7 @@ struct WasmModuleInstance {
// minimal information about the globals, functions, and function tables.
struct ModuleEnv {
const WasmModule* module;
- WasmModuleInstance* instance;
+ WasmInstance* instance;
ModuleOrigin origin;
bool IsValidGlobal(uint32_t index) const {
« no previous file with comments | « src/wasm/wasm-interpreter.cc ('k') | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698