diff options
author | Björn Gustavsson <[email protected]> | 2017-09-24 07:53:18 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-10-01 07:08:19 +0200 |
commit | f589687e9bd172f6f7841043a8de05d260889c8b (patch) | |
tree | b5f2582f591c2e4f2a1f48cb6d19bf70849e8575 /erts/emulator/beam/instrs.tab | |
parent | b597ba86170ee142790e97ae298cf8b7c2797ce2 (diff) | |
download | otp-f589687e9bd172f6f7841043a8de05d260889c8b.tar.gz otp-f589687e9bd172f6f7841043a8de05d260889c8b.tar.bz2 otp-f589687e9bd172f6f7841043a8de05d260889c8b.zip |
Move out variables from the head of combined instructions
Move out from the head the variables that are only used in the excute
phase.
Diffstat (limited to 'erts/emulator/beam/instrs.tab')
-rw-r--r-- | erts/emulator/beam/instrs.tab | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/beam/instrs.tab b/erts/emulator/beam/instrs.tab index b85e3eaeb5..07cc4bd527 100644 --- a/erts/emulator/beam/instrs.tab +++ b/erts/emulator/beam/instrs.tab @@ -375,7 +375,6 @@ i_element := element_group.fetch.execute; element_group.head() { - Eterm element_index; Eterm element_tuple; } @@ -384,7 +383,7 @@ element_group.fetch(Src) { } element_group.execute(Fail, Index, Dst) { - element_index = $Index; + Eterm element_index = $Index; if (ERTS_LIKELY(is_small(element_index) && is_tuple(element_tuple))) { Eterm* tp = tuple_val(element_tuple); |