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

Unified Diff: src/IceCfg.h

Issue 1300993002: Use separate random number generator for each randomization pass (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Assign default value of ConstantBlindingCookie in its declaration Created 5 years, 4 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/IceCfg.cpp » ('j') | src/IceDefs.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfg.h
diff --git a/src/IceCfg.h b/src/IceCfg.h
index b5ded6a44bbe8eef96834300d30dc6ae1eac3228..bbf050cfc424c49af62aa55d3c451d0688a4792e 100644
--- a/src/IceCfg.h
+++ b/src/IceCfg.h
@@ -164,6 +164,7 @@ public:
bool hasComputedFrame() const;
bool getFocusedTiming() const { return FocusedTiming; }
void setFocusedTiming() { FocusedTiming = true; }
+ uint32_t getConstantBlindingCookie() const { return ConstantBlindingCookie; }
/// @}
/// Returns true if Var is a global variable that is used by the profiling
@@ -247,7 +248,8 @@ private:
void emitJumpTables();
GlobalContext *Ctx;
- uint32_t SequenceNumber; /// output order for emission
+ uint32_t SequenceNumber; /// output order for emission
+ uint32_t ConstantBlindingCookie = 0; /// Cookie for Constant Blinding
Jim Stichnoth 2015/08/19 19:03:04 Make capitalization consistent across the adjacent
qining 2015/08/19 23:25:48 Done.
VerboseMask VMask;
IceString FunctionName = "";
Type ReturnType = IceType_void;
« no previous file with comments | « no previous file | src/IceCfg.cpp » ('j') | src/IceDefs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698