Chromium Code Reviews| Index: src/IceOperand.h |
| diff --git a/src/IceOperand.h b/src/IceOperand.h |
| index a20308660ced41885cc20c2d8cdf756a5ee4ffe3..acdfa68f6e8741573f3ae25438664a6f06ed7a9a 100644 |
| --- a/src/IceOperand.h |
| +++ b/src/IceOperand.h |
| @@ -443,6 +443,8 @@ public: |
| enum { NoRegisterValue = std::numeric_limits<BaseType>::max() }; |
| const static RegNumT NoRegister /* = NoRegisterValue */; |
| + bool noRegister() {return Value == NoRegisterValue;} |
|
Jim Stichnoth
2016/02/12 02:20:15
This seems OK. I might change the name to somethi
rkotlerimgtec
2016/02/12 03:00:16
I've made the change to the predicate.
I think it
|
| + |
| private: |
| BaseType Value = NoRegisterValue; |
| static BaseType Limit; |