parser: reduce some automatic inlining
authorJean Privat <jean@pryen.org>
Wed, 4 Aug 2010 17:43:34 +0000 (13:43 -0400)
committerJean Privat <jean@pryen.org>
Wed, 4 Aug 2010 17:43:34 +0000 (13:43 -0400)
commit68d87f8d36b08605a1d9f3298fe8052c64dfcba9
tree364d5a85b096258da6f6bff776389f966303662d
parent539376a56a1bc538195564882946895e41df873c
parser: reduce some automatic inlining

* readable and writable with automatic opt
* stmtsn = stmts + n
* noend -> nolabel
* remove methid~noassign variant
* remove propdefs_tail

Currently, the only automatic inlining that remains are:

* PRedef
* PRecv
* PImplicitTopClass
* PRecvNopar
* PRecvNobra

Before:
* maketime=1m35s
* parser_tables.nit=492KB
* parser.nit=1.3MB
* nb reduceactions=1199
After:
* maketime=28s
* parser_tables=251KN
* parser.nit=501KB
* nb reduceactions=664

Signed-off-by: Jean Privat <jean@pryen.org>
src/parser/nit.sablecc3xx
src/parser/parser.nit
src/parser/parser_tables.nit