From: NAKAMURA Takumi Date: Tue, 6 Dec 2011 01:48:32 +0000 (+0000) Subject: MipsAsmBackend.cpp, PPCAsmBackend.cpp: Fix -Asserts build to appease msvc. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6482e9114954def43fc08e83aadec1aadfc64200;p=oota-llvm.git MipsAsmBackend.cpp, PPCAsmBackend.cpp: Fix -Asserts build to appease msvc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145894 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp index 20e16368f87..8a8e36add75 100644 --- a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp +++ b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp @@ -181,6 +181,7 @@ public: const MCAsmLayout &Layout) const { // FIXME. assert(0 && "RelaxInstruction() unimplemented"); + return false; } /// RelaxInstruction - Relax the instruction in the given fragment diff --git a/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp b/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp index 12e0b3d436d..34a5774c90d 100644 --- a/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp +++ b/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp @@ -100,6 +100,7 @@ public: const MCAsmLayout &Layout) const { // FIXME. assert(0 && "RelaxInstruction() unimplemented"); + return false; }