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

Unified Diff: src/IceOperand.h

Issue 1691193002: Subzero: Prototype to make use of RegNumT::No Register more concise (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698