aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-03-17 16:09:48 +0100
committerBjörn Gustavsson <[email protected]>2010-03-26 08:03:43 +0100
commit57cb16f84fd21443d3ad9951473f1e0960c6a26e (patch)
tree801e776035fb15ef2d53b6f242d1a6a5e3174129 /lib/compiler/test
parente2074da57e6dd9b68a39ae71771b28c8f704196f (diff)
downloadotp-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