Chromium Code Reviews| Index: src/IceInstARM32.h |
| diff --git a/src/IceInstARM32.h b/src/IceInstARM32.h |
| index bce1aca787ddd3b6484855fc2e2be4a6a82ad9ad..cb872a71d8adc9140565b48644c6e125fa3685b5 100644 |
| --- a/src/IceInstARM32.h |
| +++ b/src/IceInstARM32.h |
| @@ -348,7 +348,7 @@ public: |
| static StackVariable *create(Cfg *Func, Type Ty, SizeT Index) { |
| return new (Func->allocate<StackVariable>()) StackVariable(Ty, Index); |
| } |
| - const static OperandKind StackVariableKind = |
| + const static auto StackVariableKind = |
| static_cast<OperandKind>(kVariable_Target); |
|
John
2016/02/07 16:18:32
While at this, constexpr.
Jim Stichnoth
2016/02/07 16:42:42
Done.
|
| static bool classof(const Operand *Operand) { |
| return Operand->getKind() == StackVariableKind; |