diff options
author | Björn Gustavsson <[email protected]> | 2017-08-21 07:18:49 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-08-23 05:57:39 +0200 |
commit | 8fc304e1e0c4a36dcb5abbe7a51de63ddc2cb285 (patch) | |
tree | 017e46391fde5315751d9a469c0085f3dd1ac383 /erts/emulator/beam/arith_instrs.tab | |
parent | 5725b59f0c14a3bdc665f8543a30a8a5985a3d3b (diff) | |
download | otp-8fc304e1e0c4a36dcb5abbe7a51de63ddc2cb285.tar.gz otp-8fc304e1e0c4a36dcb5abbe7a51de63ddc2cb285.tar.bz2 otp-8fc304e1e0c4a36dcb5abbe7a51de63ddc2cb285.zip |
Introduce more packable types
The 'I' type can be replaced with 't' if we know that the value
will fit in 16 bits. The 'P' type can be replaced with 'Q' if
it is used for deallocating a stack frame.
Diffstat (limited to 'erts/emulator/beam/arith_instrs.tab')
-rw-r--r-- | erts/emulator/beam/arith_instrs.tab | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/arith_instrs.tab b/erts/emulator/beam/arith_instrs.tab index a5c84d41d6..224945287b 100644 --- a/erts/emulator/beam/arith_instrs.tab +++ b/erts/emulator/beam/arith_instrs.tab @@ -370,10 +370,10 @@ shift.execute(Fail, Live, Dst) { reg[0] = Op1; reg[1] = Op2; SWAPOUT; - if (I[0] == (BeamInstr) OpCode(i_bsl_ssjId)) { + if (I[0] == (BeamInstr) OpCode(i_bsl_ssjtd)) { I = handle_error(c_p, I, reg, &bif_export[BIF_bsl_2]->info.mfa); } else { - ASSERT(I[0] == (BeamInstr) OpCode(i_bsr_ssjId)); + ASSERT(I[0] == (BeamInstr) OpCode(i_bsr_ssjtd)); I = handle_error(c_p, I, reg, &bif_export[BIF_bsr_2]->info.mfa); } goto post_error_handling; |