Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: src/IceInstMIPS32.h

Issue 1838753002: Subzero: Remove IceString. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceInstARM32.cpp ('k') | src/IceInstMIPS32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstMIPS32.h
diff --git a/src/IceInstMIPS32.h b/src/IceInstMIPS32.h
index 25b48b5057e865bfd4eb2808f10706426c438eae..a9814731bf2100e0c53519eabfce2f9b85a7a930 100644
--- a/src/IceInstMIPS32.h
+++ b/src/IceInstMIPS32.h
@@ -308,7 +308,7 @@ public:
InstMIPS32Label(Func, Target);
}
uint32_t getEmitInstCount() const override { return 0; }
- IceString getName(const Cfg *Func) const;
+ GlobalString getLabelName() const { return Name; }
SizeT getNumber() const { return Number; }
void emit(const Cfg *Func) const override;
void emitIAS(const Cfg *Func) const override;
@@ -320,8 +320,8 @@ private:
InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target);
// RelocOffset *OffsetReloc = nullptr;
-
SizeT Number; // used for unique label generation.
+ GlobalString Name;
};
/// Direct branch instruction.
« no previous file with comments | « src/IceInstARM32.cpp ('k') | src/IceInstMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698