11

Is there any LLVM backend for javascript? If not, other tools that convert dynamic language(similar to javascript) to LLVM IR will also be okay. Because I am writing a dynamic language compiler and such tools can help me find out how some features are implemented.

AllenLin
  • 170
  • 1
  • 10

1 Answers1

4

FTL JIT (JavaScriptCore) uses LLVM as a backend.

Other VMs for dynamic languages using LLVM MCJIT:

Vladislav Ivanishin
  • 2,092
  • 16
  • 22
  • 4
    As of Feb 2016, FTL JIT (Webkit) no longer uses LLVM; they use B3 (Bare Bones Backend) JIT: https://webkit.org/blog/5852/introducing-the-b3-jit-compiler/ – dubek Oct 15 '17 at 12:49