Merge: Make the `do catch` great again
authorJean Privat <jean@pryen.org>
Thu, 29 Mar 2018 00:11:33 +0000 (20:11 -0400)
committerJean Privat <jean@pryen.org>
Thu, 29 Mar 2018 00:11:33 +0000 (20:11 -0400)
This PR removes some of the limitations of the `do catch` :
* Hard-coded limit of 100 jumping environments is gone, the array is now dynamic
* The structure for managing jump environments is now lazy initialized
* Now using gcc's `__thread` specifier so that each thread has it's own jumping stack

Pull-Request: #2612
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>

1  2 
src/compiler/abstract_compiler.nit

Simple merge