Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-09 | beam_receive: Optimize receives using refs created by spawn_monitor/{1,3} | Björn Gustavsson | |
2012-10-09 | beam_jump: Don't move a block which can be entered via a fallthrough | Björn Gustavsson | |
beam_jump moves short code sequences ending in an instruction that causes an exception to the end of the function, in the hope that a jump around the moved blocked can be replaced with a fallthrough. Therefore, moving a block that is entered via a fallthrough defeats the purpose of the optimization. Also add two more test cases for the beam_receive module to ensure that all lines are still covered. | |||
2010-05-11 | compiler test: Test optimization of receive statements | Björn Gustavsson | |
We don't attempt to run the generated code, but use beam_disasm and check for the presence or absence (as appropriate) of the recv_mark/1 and recv_set/1 instructions. |