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

Unified Diff: src/IceClFlags.h

Issue 1338633005: Subzero: Add a flag to mock up bounds checking on unsafe references. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix comment Created 5 years, 3 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/IceClFlags.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlags.h
diff --git a/src/IceClFlags.h b/src/IceClFlags.h
index f71d8f434978b2e519ebdd2f64d3be7c98c72664..89f5783c7b41891cb59adef328a7862032aa5d21 100644
--- a/src/IceClFlags.h
+++ b/src/IceClFlags.h
@@ -87,6 +87,9 @@ public:
GenerateUnitTestMessages = NewValue;
}
+ bool getMockBoundsCheck() const { return MockBoundsCheck; }
+ void setMockBoundsCheck(bool NewValue) { MockBoundsCheck = NewValue; }
+
bool getPhiEdgeSplit() const { return PhiEdgeSplit; }
void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; }
@@ -247,6 +250,7 @@ private:
bool ForceMemIntrinOpt;
bool FunctionSections;
bool GenerateUnitTestMessages;
+ bool MockBoundsCheck;
bool PhiEdgeSplit;
bool RandomNopInsertion;
bool RandomRegAlloc;
« no previous file with comments | « no previous file | src/IceClFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698