[Gambas-Notification] [Git][gambas/gambas][master] Fix the JIT compiler: '_init' method, Lock instruction, Object datatype, and...

Benoît Minisini gitlab at mg.gitlab.com
Thu Apr 4 23:04:35 CEST 2019



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
3dd1fd49 by gambas at 2019-04-04T20:58:06Z
Fix the JIT compiler: '_init' method, Lock instruction, Object datatype, and DO / REPEAT loops at the beginning of a function now work correctly.

[INTERPRETER]
* BUG: JIT compiler does not run static initializers anymore when loading a class. Otherwise bytecode can be modified before being compiled, leading to a JIT compiler crash.

[COMPILER]
* BUG: Fix LOCK subroutine meta-information.

[GB.JIT]
* NEW: Don't display abortion debugging message if there is no compilation to abort.
* BUG: Object variables are correctly managed now.
* BUG: DO...LOOP and REPEAT...UNTIL at the beginning of the function now is correctly compiled in all cases.

- - - - -


11 changed files:

- main/gbx/gbx_archive.h
- main/gbx/gbx_class.c
- main/gbx/gbx_class_load.c
- main/gbx/gbx_jit.c
- main/gbx/gbx_jit.h
- main/lib/jit/gb.jit/.src/CCompilation.class
- main/lib/jit/gb.jit/.src/Jit.module
- main/lib/jit/gb.jit/jit.h
- main/lib/jit/jit.c
- main/lib/jit/jit_body.c
- main/share/gb_reserved_keyword.h


View it on GitLab: https://gitlab.com/gambas/gambas/commit/3dd1fd493e41a63496899822f92b9cb8d50f1e4b

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/commit/3dd1fd493e41a63496899822f92b9cb8d50f1e4b
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/notification/attachments/20190404/0ab5e831/attachment.html>


More information about the Notification mailing list