[llvm-exegesis][NFC] Fix windows warning in rL335465.
authorClement Courbet <courbet@google.com>
Tue, 26 Jun 2018 10:52:41 +0000 (10:52 +0000)
committerClement Courbet <courbet@google.com>
Tue, 26 Jun 2018 10:52:41 +0000 (10:52 +0000)
llvm-svn: 335591

llvm/tools/llvm-exegesis/lib/X86/Target.cpp

index 5951752..7b05640 100644 (file)
@@ -66,7 +66,7 @@ class ExegesisX86Target : public ExegesisTarget {
   }
 
   std::vector<llvm::MCInst>
-  setRegToConstant(const unsigned Reg) const override {
+  setRegToConstant(unsigned Reg) const override {
     // FIXME: Handle FP stack:
     // llvm::X86::RFP32RegClass
     // llvm::X86::RFP64RegClass