Branch: Tag:

2014-12-04

2014-12-04 19:27:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added some trivial peep-hole optimizer rules.

164:   // by dead code elimination.   CATCH ESCAPE_CATCH:    + LEXICAL_LOCAL [!$1b] : LOCAL($1a) + LEXICAL_LOCAL_LVALUE [!$1b] : LOCAL_LVALUE($1a) +  + EXTERNAL [!$1b] : GLOBAL($1a) + EXTERNAL_LVALUE [!$1b] : GLOBAL_LVALUE($1a) +    LOCAL_LVALUE INC : INC_LOCAL ($1a)   LOCAL_LVALUE POST_INC : POST_INC_LOCAL ($1a)   LOCAL_LVALUE INC_AND_POP : INC_LOCAL_AND_POP ($1a)