mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
The writer must be prepared before the types are written.
This commit is contained in:
parent
8ce6c1d919
commit
bf0b43fd1a
@ -371,10 +371,10 @@ public class ModuleGenerator {
|
|||||||
types.scanTypeHierarchy();
|
types.scanTypeHierarchy();
|
||||||
|
|
||||||
JWebAssembly.LOGGER.fine( "scan finish" );
|
JWebAssembly.LOGGER.fine( "scan finish" );
|
||||||
|
writer.prepareFinish();
|
||||||
types.prepareFinish( writer );
|
types.prepareFinish( writer );
|
||||||
functions.prepareFinish();
|
functions.prepareFinish();
|
||||||
strings.prepareFinish( writer );
|
strings.prepareFinish( writer );
|
||||||
writer.prepareFinish();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user