summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/tools/llvm-exegesis/Common
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/tools/llvm-exegesis/Common')
-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