summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-05-17 11:51:49 +0000
committerClement Courbet <courbet@google.com>2018-05-17 11:51:49 +0000
commit3bbdea4a44ed1ae39d51fc60d50f522e38f8bcdd (patch)
treec0b4e94220e07de4e8bcecdf6115ef6d391d11bb
parentae128b2dc320ce2bf36065eee8157b8b52b36152 (diff)
downloadbcm5719-llvm-3bbdea4a44ed1ae39d51fc60d50f522e38f8bcdd.tar.gz
bcm5719-llvm-3bbdea4a44ed1ae39d51fc60d50f522e38f8bcdd.zip
[llvm-exegesis][NFC] Remove dead function.
llvm-svn: 332597
-rw-r--r--llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h b/llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
index 78b0c2506fa..217ecc2a7b8 100644
--- a/llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
+++ b/llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
@@ -35,11 +35,6 @@ protected:
}
}
- void RunIfSupported(const ExecutableFunction &Function) const {
- if (CanExecute)
- Function();
- }
-
template <class... Bs> inline void Check(llvm::MCInst MCInst, Bs... Bytes) {
ExecutableFunction Function = (MCInst.getOpcode() == 0)
? assembleToFunction({})
OpenPOWER on IntegriCloud