MipsAsmBackend.cpp, PPCAsmBackend.cpp: Fix -Asserts build to appease msvc.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 6 Dec 2011 01:48:32 +0000 (01:48 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 6 Dec 2011 01:48:32 +0000 (01:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145894 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp

index 20e16368f87f6ab6bfcc8bb9055a8171ca07a6bc..8a8e36add75f4da7990d50799750bc93fa4a11ce 100644 (file)
@@ -181,6 +181,7 @@ public:
                             const MCAsmLayout &Layout) const {
     // FIXME.
     assert(0 && "RelaxInstruction() unimplemented");
+    return false;
   }
 
   /// RelaxInstruction - Relax the instruction in the given fragment
index 12e0b3d436d1fff7cca16907895635910071cea6..34a5774c90d08801686915d1f554cdf4a25fcd61 100644 (file)
@@ -100,6 +100,7 @@ public:
                             const MCAsmLayout &Layout) const {
     // FIXME.
     assert(0 && "RelaxInstruction() unimplemented");
+    return false;
   }