summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2019-06-03 09:29:51 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2019-06-03 09:29:51 +0000
commit3c837201e034a7499267ade6fef3715a10132312 (patch)
tree35a280d5c581b789e4a20c12c534ff5b2a5a617d
parent3b20ae6c54d8303134db918ae4cee54075f29475 (diff)
downloadbcm5719-llvm-3c837201e034a7499267ade6fef3715a10132312.tar.gz
bcm5719-llvm-3c837201e034a7499267ade6fef3715a10132312.zip
Include what you use in BPFMCTargetDesc.cpp
BPFMCTargetDesc.cpp was not using any APIs from BPF.h. Doing so is problematic from include-what-you-use perspective, but it is also a layering issue (it creates a dependency cycle between the primary BPF target library and the MCTargetDesc library). llvm-svn: 362368
-rw-r--r--llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp b/llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
index 38f3931c3ad..fa27b335f3a 100644
--- a/llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
+++ b/llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
@@ -11,7 +11,6 @@
//===----------------------------------------------------------------------===//
#include "MCTargetDesc/BPFMCTargetDesc.h"
-#include "BPF.h"
#include "MCTargetDesc/BPFInstPrinter.h"
#include "MCTargetDesc/BPFMCAsmInfo.h"
#include "TargetInfo/BPFTargetInfo.h"
OpenPOWER on IntegriCloud