aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2014-01-31 09:25:10 +0100
committerKostis Sagonas <[email protected]>2014-01-31 09:25:10 +0100
commit002c3ee0d069acfab0148258b1e59014e0a74aa9 (patch)
treeecc793ed64e6132f80d9016c5695d50be1b2787e /lib/stdlib/src
parentfdcdaca338849d7f63d4300e489318f6ee275d82 (diff)
downloadotp-002c3ee0d069acfab0148258b1e59014e0a74aa9.tar.gz
otp-002c3ee0d069acfab0148258b1e59014e0a74aa9.tar.bz2
otp-002c3ee0d069acfab0148258b1e59014e0a74aa9.zip
Allow making the system with --enable-native-libs
The HiPE compiler crashes when trying to compile these files because it does not currently support maps. So, add a -compile(no_native) attribute to these files to allow the system to be made even when configured with --enable-native-libs. This is a temporary fix and will be removed when the HiPE compiler gets proper support for maps.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/io_lib_pretty.erl2
-rw-r--r--lib/stdlib/src/maps.erl2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/stdlib/src/io_lib_pretty.erl b/lib/stdlib/src/io_lib_pretty.erl
index f02a7921f8..9005fede4d 100644
--- a/lib/stdlib/src/io_lib_pretty.erl
+++ b/lib/stdlib/src/io_lib_pretty.erl
@@ -25,6 +25,8 @@
-export([print/1,print/2,print/3,print/4,print/5,print/6]).
+-compile(no_native).
+
%%%
%%% Exported functions
%%%
diff --git a/lib/stdlib/src/maps.erl b/lib/stdlib/src/maps.erl
index 41de174e7d..57b5072639 100644
--- a/lib/stdlib/src/maps.erl
+++ b/lib/stdlib/src/maps.erl
@@ -43,6 +43,8 @@
values/1
]).
+-compile(no_native).
+
%% Shadowed by erl_bif_types: maps:get/3
-spec get(Key,Map) -> Value when
Key :: term(),