aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/ops.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-26 07:12:05 +0100
committerBjörn Gustavsson <[email protected]>2011-03-29 07:13:27 +0200
commit459f531d22a16778d528d62978fc0772e30c9d30 (patch)
treee6bc7a3ce2a48421550708cb229694ae0bbab075 /erts/emulator/beam/ops.tab
parenta76e46c02ae57a39178a5c663e2c0c5c4cbfb30f (diff)
downloadotp-459f531d22a16778d528d62978fc0772e30c9d30.tar.gz
otp-459f531d22a16778d528d62978fc0772e30c9d30.tar.bz2
otp-459f531d22a16778d528d62978fc0772e30c9d30.zip
BEAM loader: Simplify handling of the func_info/3 instruction
For some historical reason, the transformation of a func_info/3 instruction to the internal i_func_info/4 instruction is more involved than it needs to be. Remove the gen_func_info() function in the loader and use a simple transformation.
Diffstat (limited to 'erts/emulator/beam/ops.tab')
-rw-r--r--erts/emulator/beam/ops.tab2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index e861f97e7a..6caa1e0b2d 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -1066,7 +1066,7 @@ is_function f y
is_function f r
is_function Fail=f c => jump Fail
-func_info M=a F=a A=u | label L => gen_func_info(M, F, A, L)
+func_info M F A => i_func_info u M F A
# ================================================================
# New bit syntax matching (R11B).