summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Łępicki <michallepicki@users.noreply.github.com>2022-01-05 13:37:17 +0100
committerGitHub <noreply@github.com>2022-01-05 13:37:17 +0100
commit2474c1dddff6f2e66f16caff6f9792352b29276c (patch)
tree796b2fec14d262066c400bd946cdcffc1556a087
parente658c64eeef994d07a529f761fd10690123ca852 (diff)
downloadelixir-2474c1dddff6f2e66f16caff6f9792352b29276c.tar.gz
Remove references to HiPE (#11543)
* Fix typo in Dialyzer CI step name * Remove references to HiPE
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--Makefile2
-rw-r--r--lib/elixir/lib/module.ex2
-rw-r--r--lib/elixir/src/elixir_parser.yrl3
4 files changed, 2 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c1182c742..0dd6de1ac 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -42,7 +42,7 @@ jobs:
run: bin/elixir --version
- name: Check format
run: make test_formatted && echo "All Elixir source code files are properly formatted."
- - name: Dyalizer
+ - name: Run Dialyzer
run: dialyzer -pa lib/elixir/ebin --build_plt --output_plt elixir.plt --apps lib/elixir/ebin/elixir.beam lib/elixir/ebin/Elixir.Kernel.beam
- name: Erlang test suite
run: make test_erlang
diff --git a/Makefile b/Makefile
index bd0af620c..2bb67e110 100644
--- a/Makefile
+++ b/Makefile
@@ -285,7 +285,7 @@ PLT = .elixir.plt
$(PLT):
@ echo "==> Building PLT with Elixir's dependencies..."
- $(Q) dialyzer --output_plt $(PLT) --build_plt --apps erts kernel stdlib compiler syntax_tools parsetools tools ssl inets crypto runtime_tools ftp tftp mnesia public_key asn1 hipe sasl
+ $(Q) dialyzer --output_plt $(PLT) --build_plt --apps erts kernel stdlib compiler syntax_tools parsetools tools ssl inets crypto runtime_tools ftp tftp mnesia public_key asn1 sasl
clean_plt:
$(Q) rm -f $(PLT)
diff --git a/lib/elixir/lib/module.ex b/lib/elixir/lib/module.ex
index da46ba96f..31be3705a 100644
--- a/lib/elixir/lib/module.ex
+++ b/lib/elixir/lib/module.ex
@@ -330,8 +330,6 @@ defmodule Module do
end
end
- Modules compiled with HiPE would not call this hook.
-
### `@vsn`
Specify the module version. Accepts any valid Elixir value, for example:
diff --git a/lib/elixir/src/elixir_parser.yrl b/lib/elixir/src/elixir_parser.yrl
index 56eb51647..c91e02acd 100644
--- a/lib/elixir/src/elixir_parser.yrl
+++ b/lib/elixir/src/elixir_parser.yrl
@@ -649,9 +649,6 @@ Erlang code.
-define(meta(Node), element(2, Node)).
-define(rearrange_uop(Op), (Op == 'not' orelse Op == '!')).
-%% The following directive is needed for (significantly) faster
-%% compilation of the generated .erl file by the HiPE compiler
--compile([{hipe, [{regalloc, linear_scan}]}]).
-compile({inline, meta_from_token/1, meta_from_location/1, is_eol/1}).
-import(lists, [reverse/1, reverse/2]).