Make it easier to generate helpers for mterp opcodes.

Create a global variable where helper snippets can be
registered and will then be appended after the opcodes.

Also add entries to symbol table for the helpers.

Test: Manually compare the generated assembly
Change-Id: Icc5eb98590243969dc47c59a65e39a3a406660f2
6 files changed