Jit:[实验性] LLVM上PHP JIT编译器 源码
PHP Jit编译器 配置 $ llvm = \ Serafim \ Jit \ Compiler :: fromLibrary ( '/path/to/llvm.so' ); $ llvm -> target ( new \ Serafim \ Jit \ Target \ X86Target ()); 例子 use Serafim \ Jit \ Compiler ; use Serafim \ Jit \ ImportFunction ; use Serafim \ Jit \ Target \ X86Target ; $ llvm = Compiler :: fromLibrary ( '/path/to/llvm.so' ); $ llvm -> target ( new X86Target ()); $ entry = $ llvm -> entry ( #[Impor
用户评论