summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index f26cf05a9..a2f6a74db 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1437,11 +1437,12 @@ public:
Global = 3,
};
- Import() : type(nullptr) {}
+ Import() : functionType(nullptr), globalType(none) {}
Name name, module, base; // name = module.base
Kind kind;
- FunctionType* type; // for Function imports
+ FunctionType* functionType; // for Function imports
+ WasmType globalType; // for Global imports
};
class Export {