mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
revert registering function StringTable.stringConstant
This commit is contained in:
parent
3e5d966548
commit
a32b3af059
@ -116,7 +116,6 @@ public class ModuleGenerator {
|
|||||||
scanLibraries( libraries );
|
scanLibraries( libraries );
|
||||||
|
|
||||||
//register some synthetic functions
|
//register some synthetic functions
|
||||||
strings.getStringConstantFunction();
|
|
||||||
types.getTypeTableMemoryOffsetFunctionName();
|
types.getTypeTableMemoryOffsetFunctionName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +82,8 @@ public class StringManager extends LinkedHashMap<String, Integer> {
|
|||||||
return "i32.const " + stringMemoryOffset;
|
return "i32.const " + stringMemoryOffset;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
functions.addReplacement( offsetFunction, null );
|
functions.markAsNeededAndReplaceIfExists( offsetFunction );
|
||||||
|
functions.markAsNeeded( stringConstantFunction, false );
|
||||||
}
|
}
|
||||||
|
|
||||||
return stringConstantFunction;
|
return stringConstantFunction;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user