Class GlobalsSection
java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
de.mirkosertic.bytecoder.core.backend.wasm.ast.GlobalsSection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewConstantGlobal
(String name, WasmType type, WasmValue initializer) newMutableGlobal
(String name, WasmType type, WasmValue initializer) void
writeTo
(BinaryWriter binaryWriter, WasmValue.ExportContext context) void
writeTo
(TextWriter textWriter) Methods inherited from class de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
getModule
-
Field Details
-
globals
-
-
Constructor Details
-
GlobalsSection
GlobalsSection(Module aModule)
-
-
Method Details
-
newMutableGlobal
-
newConstantGlobal
-
writeTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
globalsIndex
-