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

Unified Diff: src/IceOperand.h

Issue 561823002: Fix symbol table handling in functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 3 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
Index: src/IceOperand.h
diff --git a/src/IceOperand.h b/src/IceOperand.h
index 0828396074cffa8836ce8601f1090275b14e923b..fe4a24ef222741008b4bbf6f46d4d2760a39c6a4 100644
--- a/src/IceOperand.h
+++ b/src/IceOperand.h
@@ -335,6 +335,7 @@ public:
SizeT getIndex() const { return Number; }
IceString getName() const;
+ void setName(IceString &NewName);
Jim Stichnoth 2014/09/10 18:44:23 Also consider putting the whole definition here?
Karl 2014/09/10 21:14:33 Done.
Inst *getDefinition() const { return DefInst; }
void setDefinition(Inst *Inst, const CfgNode *Node);
@@ -427,7 +428,7 @@ private:
// (bit)vector index for liveness analysis.
const SizeT Number;
// Name is optional.
- const IceString Name;
+ IceString Name;
// DefInst is the instruction that produces this variable as its
// dest.
Inst *DefInst;

Powered by Google App Engine
This is Rietveld 408576698