Chromium Code Reviews| 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; |