Class CodeOptimizer
java.lang.Object
de.inetsoftware.jwebassembly.module.CodeOptimizer
Optimize the code of a single method/function through using of WebAssembly features without equivalent in Java.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
optimize
(List<WasmInstruction> instructions) Optimize the code before writing.
-
Constructor Details
-
CodeOptimizer
CodeOptimizer()
-
-
Method Details
-
optimize
Optimize the code before writing.- Parameters:
instructions
- the list of instructions
-