aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-29 05:59:53 +0200
committerRaimo Niskanen <[email protected]>2010-05-20 12:20:50 +0200
commit0ebf76849e220033b26985fc25e5b2842a1dcc5b (patch)
tree60c5acb26e7c57578c67254ecfb0ef0e2db2b092 /erts/emulator/beam/beam_load.c
parented80dcf76968bcb039d3d5ea273421916a007454 (diff)
downloadotp-0ebf76849e220033b26985fc25e5b2842a1dcc5b.tar.gz
otp-0ebf76849e220033b26985fc25e5b2842a1dcc5b.tar.bz2
otp-0ebf76849e220033b26985fc25e5b2842a1dcc5b.zip
Remove stray support for the put_literal/2 instruction
put_literal/2 was an experimental instruction added in R11 to support literals, but before the R12 release support for literals was implemented for all instruction, making the put_literal/2 instruction redundant. Although the beam_disasm module supports dissambley of instructions in older releases, there is no reason to have it support experimental instructions.
Diffstat (limited to 'erts/emulator/beam/beam_load.c')
-rw-r--r--erts/emulator/beam/beam_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index 597f604e22..30f276b95a 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -3540,7 +3540,7 @@ freeze_code(LoaderState* stp)
literal_end = (Uint *) (code+stp->ci);
/*
* Place the literal heap directly after the code and fix up all
- * put_literal instructions that refer to it.
+ * instructions that refer to it.
*/
{
Uint* ptr;