aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-04-11 10:22:35 +0200
committerBjörn Gustavsson <[email protected]>2018-04-11 10:31:22 +0200
commit443ac44baf3e51c7dd31162fd60a15d3a0bde183 (patch)
treeb508cf319c5c503cf8daaceffdb6b577f05c5e41 /lib/compiler
parent79fe787c25b2d5328a3866b2c4d0e01649097595 (diff)
downloadotp-443ac44baf3e51c7dd31162fd60a15d3a0bde183.tar.gz
otp-443ac44baf3e51c7dd31162fd60a15d3a0bde183.tar.bz2
otp-443ac44baf3e51c7dd31162fd60a15d3a0bde183.zip
beam_validator: Remove unnecessary inclusion of beam_disasm.hrl
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/src/Makefile1
-rw-r--r--lib/compiler/src/beam_validator.erl2
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile
index 9e96147787..c81b81e82b 100644
--- a/lib/compiler/src/Makefile
+++ b/lib/compiler/src/Makefile
@@ -186,7 +186,6 @@ release_docs_spec:
$(EBIN)/beam_disasm.beam: $(EGEN)/beam_opcodes.hrl beam_disasm.hrl
$(EBIN)/beam_listing.beam: core_parse.hrl v3_kernel.hrl
-$(EBIN)/beam_validator.beam: beam_disasm.hrl
$(EBIN)/cerl.beam: core_parse.hrl
$(EBIN)/compile.beam: core_parse.hrl ../../stdlib/include/erl_compile.hrl
$(EBIN)/core_lib.beam: core_parse.hrl
diff --git a/lib/compiler/src/beam_validator.erl b/lib/compiler/src/beam_validator.erl
index 3c0f3a2d25..b9d9cdd054 100644
--- a/lib/compiler/src/beam_validator.erl
+++ b/lib/compiler/src/beam_validator.erl
@@ -27,8 +27,6 @@
%% Interface for compiler.
-export([module/2, format_error/1]).
--include("beam_disasm.hrl").
-
-import(lists, [any/2,dropwhile/2,foldl/3,foreach/2,reverse/1]).
%% To be called by the compiler.