| Index: src/IceOperand.h
|
| diff --git a/src/IceOperand.h b/src/IceOperand.h
|
| index f624641f17725ea6b0b342b1d695572e6cf339c2..28c118d23c1966df4555a59a6a5e3621f2eee0ff 100644
|
| --- a/src/IceOperand.h
|
| +++ b/src/IceOperand.h
|
| @@ -442,6 +442,11 @@ public:
|
|
|
| int32_t getStackOffset() const { return StackOffset; }
|
| void setStackOffset(int32_t Offset) { StackOffset = Offset; }
|
| + /// Returns the variable's stack offset in symbolic form, to improve
|
| + /// readability in DecorateAsm mode.
|
| + IceString getSymbolicStackOffset(const Cfg *Func) const {
|
| + return "lv$" + getName(Func);
|
| + }
|
|
|
| static const int32_t NoRegister = -1;
|
| bool hasReg() const { return getRegNum() != NoRegister; }
|
|
|