Class CodeOptimizer


  • class CodeOptimizer
    extends java.lang.Object
    Optimize the code of a single method/function through using of WebAssembly features without equivalent in Java.
    • Constructor Summary

      Constructors 
      Constructor Description
      CodeOptimizer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void optimize​(java.util.List<WasmInstruction> instructions)
      Optimize the code before writing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CodeOptimizer

        CodeOptimizer()
    • Method Detail

      • optimize

        void optimize​(java.util.List<WasmInstruction> instructions)
        Optimize the code before writing.
        Parameters:
        instructions - the list of instructions