diff options
| author | fleuria <[email protected]> | 2013-10-25 02:48:25 +0800 |
|---|---|---|
| committer | fleuria <[email protected]> | 2013-10-25 02:48:25 +0800 |
| commit | c647dff1b25ab54ee1b6805cef1582e8175b43d7 (patch) | |
| tree | 7a888fabc382c37eafa86181b2c0d249ec4a77a7 /src/opcode.h | |
| parent | a230a88e8994f7be0256e552d5ea186adec7222f (diff) | |
| download | mruby-c647dff1b25ab54ee1b6805cef1582e8175b43d7.tar.gz mruby-c647dff1b25ab54ee1b6805cef1582e8175b43d7.zip | |
fix #1544
We have already reserved that register in codegen()'s case NODE_DEF, but
what we care about is actually the previous register. So what we need is
get that register by cursp() after pop(), then recover the reservation
by push().
Diffstat (limited to 'src/opcode.h')
0 files changed, 0 insertions, 0 deletions
