diff options
author | Björn Gustavsson <[email protected]> | 2010-03-17 16:09:48 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-03-26 08:03:43 +0100 |
commit | 57cb16f84fd21443d3ad9951473f1e0960c6a26e (patch) | |
tree | 801e776035fb15ef2d53b6f242d1a6a5e3174129 /lib/compiler/test | |
parent | e2074da57e6dd9b68a39ae71771b28c8f704196f (diff) | |
download | otp-57cb16f84fd21443d3ad9951473f1e0960c6a26e.tar.gz otp-57cb16f84fd21443d3ad9951473f1e0960c6a26e.tar.bz2 otp-57cb16f84fd21443d3ad9951473f1e0960c6a26e.zip |
compiler: Suppress bs_context_to_binary/1 for a literal operand
The inliner can cause illegal uses of the bs_context_to_binary/1
instruction, such as:
bs_context_to_binary {literal,"string"}
or
bs_context_to_binary {integer,1}
Remove the bs_context_to_binary/1 instruction if the operand
is not a register (it is clearly not needed).
Diffstat (limited to 'lib/compiler/test')
0 files changed, 0 insertions, 0 deletions