Commit 09802a99 by Jim Stichnoth

Subzero: Add missing bits to MIPS implementation.

TBR=jpp@chromium.org BUG= none Review URL: https://codereview.chromium.org/1730263002 .
parent 3fe4b570
...@@ -129,6 +129,13 @@ void InstMIPS32Label::dump(const Cfg *Func) const { ...@@ -129,6 +129,13 @@ void InstMIPS32Label::dump(const Cfg *Func) const {
Str << getName(Func) << ":"; 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 InstMIPS32Label::emitIAS(const Cfg *Func) const {
(void)Func; (void)Func;
llvm_unreachable("Not yet implemented"); llvm_unreachable("Not yet implemented");
......
...@@ -319,7 +319,7 @@ public: ...@@ -319,7 +319,7 @@ public:
private: private:
InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target); InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target);
RelocOffset *OffsetReloc = nullptr; // RelocOffset *OffsetReloc = nullptr;
SizeT Number; // used for unique label generation. SizeT Number; // used for unique label generation.
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment