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

Unified Diff: src/IceClFlags.h

Issue 1241763002: ARM: Add a postRA pass to legalize stack offsets. Greedy approach (reserve IP). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: review Created 5 years, 5 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 | « src/IceCfg.h ('k') | 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 97420eaa4c7ce870ef86eabde0a7d3215c13287a..70e590cc166cbc005a2ed001c9829e7cf51c6633 100644
--- a/src/IceClFlags.h
+++ b/src/IceClFlags.h
@@ -139,6 +139,14 @@ public:
void setTargetInstructionSet(TargetInstructionSet NewValue) {
TInstrSet = NewValue;
}
+ uint32_t getTestStackExtra() const {
+ return BuildDefs::minimal() ? 0 : TestStackExtra;
+ }
+ void setTestStackExtra(uint32_t NewValue) {
+ if (BuildDefs::minimal())
+ return;
+ TestStackExtra = NewValue;
+ }
VerboseMask getVerbose() const {
return BuildDefs::dump() ? VMask : (VerboseMask)IceV_None;
@@ -253,6 +261,7 @@ private:
int RandomNopProbabilityAsPercentage;
uint32_t ReorderFunctionsWindowSize;
TargetArch TArch;
+ uint32_t TestStackExtra;
TargetInstructionSet TInstrSet;
VerboseMask VMask;
« no previous file with comments | « src/IceCfg.h ('k') | src/IceClFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698