aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-02-18 18:34:54 +0100
committerSverker Eriksson <[email protected]>2013-02-18 18:45:55 +0100
commita3158a1e6b7c5a0e6721dab3618b772068903fd4 (patch)
treedd9566a10f0f5059bfc9e5aab0e1e2db0764183a /lib/kernel
parent710cd8efa09ecb62af06f61402683bf2a13481fc (diff)
downloadotp-a3158a1e6b7c5a0e6721dab3618b772068903fd4.tar.gz
otp-a3158a1e6b7c5a0e6721dab3618b772068903fd4.tar.bz2
otp-a3158a1e6b7c5a0e6721dab3618b772068903fd4.zip
erts: Fix code:is_module_native
code:is_module_native returned false for hipe compiled module if the first function in the module was a BIF stub
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/test/code_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl
index 4c040f0a0e..b7015718e5 100644
--- a/lib/kernel/test/code_SUITE.erl
+++ b/lib/kernel/test/code_SUITE.erl
@@ -716,7 +716,7 @@ analyse([], [This={M,F,A}|Path], Visited, ErrCnt0) ->
%% These modules should be loaded by code.erl before
%% the code_server is started.
OK = [erlang, os, prim_file, erl_prim_loader, init, ets,
- code_server, lists, lists_sort, unicode, binary, filename, packages,
+ code_server, lists, lists_sort, unicode, binary, filename,
gb_sets, gb_trees, hipe_unified_loader, hipe_bifs,
prim_zip, zlib],
ErrCnt1 =
@@ -1590,7 +1590,7 @@ native_early_modules_1(Architecture) ->
?line true = lists:all(fun code:is_module_native/1,
[ets,file,filename,gb_sets,gb_trees,
%%hipe_unified_loader, no_native as workaround
- lists,os,packages]),
+ lists,os]),
ok
end.