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

Unified Diff: src/IceInstX8632.h

Issue 1185703004: Add constant blinding/pooling option for X8632 code translation (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add bool flag: Randomized to OperandX8632Mem class, fix comments, rebased to master:b0a8c24ecd98f4b… Created 5 years, 6 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
Index: src/IceInstX8632.h
diff --git a/src/IceInstX8632.h b/src/IceInstX8632.h
index b04be147d13ce1e84b87529df75cdb5c45031ea1..bb1461366e3ce53142559dce81f1f5cf0dcef5e4 100644
--- a/src/IceInstX8632.h
+++ b/src/IceInstX8632.h
@@ -86,6 +86,11 @@ public:
return Operand->getKind() == static_cast<OperandKind>(kMem);
}
+ // A flag to show if this memory operand is a randomized one.
+ // Randomized memory operands are generated in
+ // TargetX8632::randomizeOrPoolImmediate()
+ bool Randomized;
Jim Stichnoth 2015/06/19 16:57:22 Make this private, with getter/setter methods.
qining 2015/06/19 20:22:26 Done.
+
private:
OperandX8632Mem(Cfg *Func, Type Ty, Variable *Base, Constant *Offset,
Variable *Index, uint16_t Shift, SegmentRegisters SegmentReg);
« no previous file with comments | « src/IceGlobalContext.cpp ('k') | src/IceInstX8632.cpp » ('j') | src/IceInstX8632.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698