Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Questions regarding implementing an AS JIT

$
0
0

Hello,

I have started to implementing an AngelScript JIT using LLVM, mostly for fun and learning: https://github.com/AsuMagic/angelscript-llvm
Right now it is very very primitive, but I have managed to successfully JIT an integer add function from its bytecode alone, and successfully return to the VM.

I have currently implemented it in such a way that every AS function that gets JIT'd generates two functions:

  • An internal function with a signature that is roughly the same as that of the AS function.
  • A “jit entry” function that is an asJITFunction, which calls the internal function by …

Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>