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

Unified Diff: src/IceInstX86Base.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/IceInstX8664.cpp ('k') | src/IceInstX86BaseImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstX86Base.h
diff --git a/src/IceInstX86Base.h b/src/IceInstX86Base.h
index 42e1558e2dba170b7ddc31241f04015fb9ac46f7..761d412c518b4c23574796bb6318b353249b81c2 100644
--- a/src/IceInstX86Base.h
+++ b/src/IceInstX86Base.h
@@ -332,8 +332,8 @@ template <typename TraitsType> struct InstImpl {
return new (Func->allocate<InstX86Label>()) InstX86Label(Func, Target);
}
uint32_t getEmitInstCount() const override { return 0; }
- IceString getName(const Cfg *Func) const;
- SizeT getNumber() const { return Number; }
+ GlobalString getLabelName() const { return Name; }
+ SizeT getLabelNumber() const { return LabelNumber; }
void emit(const Cfg *Func) const override;
void emitIAS(const Cfg *Func) const override;
void dump(const Cfg *Func) const override;
@@ -342,8 +342,9 @@ template <typename TraitsType> struct InstImpl {
private:
InstX86Label(Cfg *Func, TargetLowering *Target);
- SizeT Number; // used for unique label generation.
+ SizeT LabelNumber; // used for unique label generation.
RelocOffset *OffsetReloc = nullptr;
+ GlobalString Name;
};
/// Conditional and unconditional branch instruction.
« no previous file with comments | « src/IceInstX8664.cpp ('k') | src/IceInstX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698