summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpolly/include/polly/TempScopInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/include/polly/TempScopInfo.h b/polly/include/polly/TempScopInfo.h
index 8d342dbbc18..d8215ae9ced 100755
--- a/polly/include/polly/TempScopInfo.h
+++ b/polly/include/polly/TempScopInfo.h
@@ -65,6 +65,7 @@ public:
bool isRead() const { return Type == READ; }
+ bool isWrite() const { return Type == WRITE; }
};
class Comparison {
OpenPOWER on IntegriCloud