From e6d9d0da048513552bacbac80356e1d962431062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= Date: Thu, 5 Nov 2020 12:31:08 +0100 Subject: otp: Remove HiPE and HiPE-related accessories --- lib/megaco/src/app/megaco.mk | 4 ---- lib/megaco/src/text/megaco_text_mini_parser.yrl | 4 ---- lib/megaco/src/text/megaco_text_parser_v1.yrl | 4 ---- lib/megaco/src/text/megaco_text_parser_v2.yrl | 4 ---- lib/megaco/src/text/megaco_text_parser_v3.yrl | 4 ---- 5 files changed, 20 deletions(-) (limited to 'lib/megaco/src') diff --git a/lib/megaco/src/app/megaco.mk b/lib/megaco/src/app/megaco.mk index d79785b61d..3bbeb5209a 100644 --- a/lib/megaco/src/app/megaco.mk +++ b/lib/megaco/src/app/megaco.mk @@ -38,10 +38,6 @@ ifneq ($(MEGACO_PARSER_INLINE), false) ERL_COMPILE_FLAGS += -Dmegaco_parser_inline endif -ifeq ($(USE_MEGACO_HIPE), true) -ERL_COMPILE_FLAGS += +native -endif - ifeq ($(WARN_UNUSED_WARS), true) ERL_COMPILE_FLAGS += +warn_unused_vars endif diff --git a/lib/megaco/src/text/megaco_text_mini_parser.yrl b/lib/megaco/src/text/megaco_text_mini_parser.yrl index 2a4041867e..eff36140ee 100644 --- a/lib/megaco/src/text/megaco_text_mini_parser.yrl +++ b/lib/megaco/src/text/megaco_text_mini_parser.yrl @@ -391,9 +391,5 @@ safeToken2 -> 'VersionToken' : '$1' . Erlang code. -%% The following directive is needed for (significantly) faster compilation -%% of the generated .erl file by the HiPE compiler. Please do not remove. --compile([{hipe,[{regalloc,linear_scan}]}]). - -include("megaco_text_mini_parser.hrl"). diff --git a/lib/megaco/src/text/megaco_text_parser_v1.yrl b/lib/megaco/src/text/megaco_text_parser_v1.yrl index cea6a958e5..b14d6ac0d0 100644 --- a/lib/megaco/src/text/megaco_text_parser_v1.yrl +++ b/lib/megaco/src/text/megaco_text_parser_v1.yrl @@ -1346,10 +1346,6 @@ safeToken2 -> 'ServiceChangeIncompleteToken' : '$1' . % v3 Erlang code. -%% The following directive is needed for (significantly) faster compilation -%% of the generated .erl file by the HiPE compiler. Please do not remove. --compile([{hipe,[{regalloc,linear_scan}]}]). - -include("megaco_text_parser_v1.hrl"). %%i(F) -> diff --git a/lib/megaco/src/text/megaco_text_parser_v2.yrl b/lib/megaco/src/text/megaco_text_parser_v2.yrl index 627e6696b1..35f3d811c1 100644 --- a/lib/megaco/src/text/megaco_text_parser_v2.yrl +++ b/lib/megaco/src/text/megaco_text_parser_v2.yrl @@ -1530,10 +1530,6 @@ safeToken2 -> 'ServiceChangeIncompleteToken' : '$1' . Erlang code. -%% The following directive is needed for (significantly) faster compilation -%% of the generated .erl file by the HiPE compiler. Please do not remove. --compile([{hipe,[{regalloc,linear_scan}]}]). - -include("megaco_text_parser_v2.hrl"). diff --git a/lib/megaco/src/text/megaco_text_parser_v3.yrl b/lib/megaco/src/text/megaco_text_parser_v3.yrl index 3e163f2ac6..ed55f03cb6 100644 --- a/lib/megaco/src/text/megaco_text_parser_v3.yrl +++ b/lib/megaco/src/text/megaco_text_parser_v3.yrl @@ -1672,10 +1672,6 @@ safeToken2 -> 'VersionToken' : '$1' . Erlang code. -%% The following directive is needed for (significantly) faster compilation -%% of the generated .erl file by the HiPE compiler. Please do not remove. --compile([{hipe,[{regalloc,linear_scan}]}]). - -include("megaco_text_parser_v3.hrl"). -- cgit v1.2.1