OSDN Git Service

Subzero: Add missing bits to MIPS implementation.
authorJim Stichnoth <stichnot@chromium.org>
Wed, 24 Feb 2016 15:05:12 +0000 (07:05 -0800)
committerJim Stichnoth <stichnot@chromium.org>
Wed, 24 Feb 2016 15:05:12 +0000 (07:05 -0800)
TBR=jpp@chromium.org

BUG= none

Review URL: https://codereview.chromium.org/1730263002 .

src/IceInstMIPS32.cpp
src/IceInstMIPS32.h

index 9e7bc64..0cdf8a2 100644 (file)
@@ -129,6 +129,13 @@ void InstMIPS32Label::dump(const Cfg *Func) const {
   Str << getName(Func) << ":";
 }
 
+void InstMIPS32Label::emit(const Cfg *Func) const {
+  if (!BuildDefs::dump())
+    return;
+  Ostream &Str = Func->getContext()->getStrEmit();
+  Str << getName(Func) << ":";
+}
+
 void InstMIPS32Label::emitIAS(const Cfg *Func) const {
   (void)Func;
   llvm_unreachable("Not yet implemented");
index 506ca6e..3037167 100644 (file)
@@ -319,7 +319,7 @@ public:
 private:
   InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target);
 
-  RelocOffset *OffsetReloc = nullptr;
+  // RelocOffset *OffsetReloc = nullptr;
 
   SizeT Number; // used for unique label generation.
 };