diff options
author | Björn Gustavsson <[email protected]> | 2010-06-02 12:54:58 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-06-02 12:54:58 +0000 |
commit | 841de5287ecef4dae5ea2e78531d8216f9b87989 (patch) | |
tree | ae341b89ac5925547aa7a6474f861e2605850939 /bootstrap/lib/compiler/egen/beam_opcodes.erl | |
parent | ea0419df3393f0fe304d57dac8723e1d1e4b4344 (diff) | |
download | otp-841de5287ecef4dae5ea2e78531d8216f9b87989.tar.gz otp-841de5287ecef4dae5ea2e78531d8216f9b87989.tar.bz2 otp-841de5287ecef4dae5ea2e78531d8216f9b87989.zip |
Update bootstrap compiler
Diffstat (limited to 'bootstrap/lib/compiler/egen/beam_opcodes.erl')
-rw-r--r-- | bootstrap/lib/compiler/egen/beam_opcodes.erl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap/lib/compiler/egen/beam_opcodes.erl b/bootstrap/lib/compiler/egen/beam_opcodes.erl index 05587800b4..fda227f90f 100644 --- a/bootstrap/lib/compiler/egen/beam_opcodes.erl +++ b/bootstrap/lib/compiler/egen/beam_opcodes.erl @@ -8,7 +8,7 @@ -spec format_number() -> 0. format_number() -> 0. --spec opcode(atom(), 0..8) -> 1..151. +-spec opcode(atom(), 0..8) -> 1..152. opcode(label, 1) -> 1; opcode(func_info, 3) -> 2; opcode(int_code_end, 0) -> 3; @@ -118,7 +118,7 @@ opcode(try_case, 1) -> 106; opcode(try_case_end, 1) -> 107; opcode(raise, 2) -> 108; opcode(bs_init2, 6) -> 109; -opcode(bs_bits_to_bytes, 3) -> 110; +%%opcode(bs_bits_to_bytes, 3) -> 110; opcode(bs_add, 5) -> 111; opcode(apply, 1) -> 112; opcode(apply_last, 2) -> 113; @@ -160,9 +160,10 @@ opcode(bs_put_utf32, 3) -> 148; opcode(on_load, 0) -> 149; opcode(recv_mark, 1) -> 150; opcode(recv_set, 1) -> 151; +opcode(gc_bif3, 7) -> 152; opcode(Name, Arity) -> erlang:error(badarg, [Name,Arity]). --spec opname(1..151) -> {atom(),0..8}. +-spec opname(1..152) -> {atom(),0..8}. opname(1) -> {label,1}; opname(2) -> {func_info,3}; opname(3) -> {int_code_end,0}; @@ -314,4 +315,5 @@ opname(148) -> {bs_put_utf32,3}; opname(149) -> {on_load,0}; opname(150) -> {recv_mark,1}; opname(151) -> {recv_set,1}; +opname(152) -> {gc_bif3,7}; opname(Number) -> erlang:error(badarg, [Number]). |