aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/compilation_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-02-13 09:45:22 +0100
committerBjörn Gustavsson <[email protected]>2012-02-13 10:29:00 +0100
commitf928756b2b7f26b90d962cc038d4ba68619c1bf5 (patch)
tree6b2ce27df934cd6d2c77d50821e9dfe02a5294af /lib/compiler/test/compilation_SUITE.erl
parentc3fb91d203412c16d008b4c36fb13c0d776d8c46 (diff)
downloadotp-f928756b2b7f26b90d962cc038d4ba68619c1bf5.tar.gz
otp-f928756b2b7f26b90d962cc038d4ba68619c1bf5.tar.bz2
otp-f928756b2b7f26b90d962cc038d4ba68619c1bf5.zip
compiler: Teach the inliner to preserve on_load functions
The inliner was ignorant of on_load functions and would discard them (unless they were exported or referenced). Noticed-by: Yiannis Tsiouris <[email protected]>
Diffstat (limited to 'lib/compiler/test/compilation_SUITE.erl')
-rw-r--r--lib/compiler/test/compilation_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/test/compilation_SUITE.erl b/lib/compiler/test/compilation_SUITE.erl
index 664582a3a8..408fd5ed53 100644
--- a/lib/compiler/test/compilation_SUITE.erl
+++ b/lib/compiler/test/compilation_SUITE.erl
@@ -159,6 +159,7 @@ split({int, N}, <<N:16,B:N/binary,T/binary>>) ->
?comp(convopts).
?comp(otp_7202).
?comp(on_load).
+?comp(on_load_inline).
beam_compiler_7(doc) ->
"Code snippet submitted from Ulf Wiger which fails in R3 Beam.";