Skip to content

5.8.0

Compare
Choose a tag to compare
@hhugo hhugo released this 20 Apr 07:58
· 240 commits to master since this release
1c43da9

CHANGES:

Features/Changes

  • Compiler: es6 now generate consise body
  • Compiler: codegen: optimize Offset_ref for negative offsets
  • Compiler: codegen: change argument passing of back edges.
  • Compiler: codegen: use Array destruction to assign args of back
    edges with es6.
  • Compiler: codegen: specialize string equality
  • Compiler: codegen: more specialization for %int_add, %int_sub
  • Compiler: recognize and optimize String.concat
  • Compiler: more inlining - duplicate small function.
  • Compiler: Make it possible to link runtime JavaScript file
    together with OCaml libraries #1509
  • Runtime: abort instead of exit when calling unimplemented
    js primitives in bytecode/native. It should help if one tries
    to understand the source of the call with gdb (see #677)
  • Runtime: re-enable marshalling of floats, disabled in jsoo 2.0
  • Runtime: new runtime api for channels

Bug fixes

  • Compiler: fix variable renaming for property binding and assignment target
  • Compiler: fix separate compilation of toplevels (broken since 5.7.0)
  • Compiler: fix assertion while checking stack compatibility (#1600)