Chromium Code Reviews| Index: src/IceDefs.h |
| diff --git a/src/IceDefs.h b/src/IceDefs.h |
| index 1908a034f4c19b151a9faa98a44a4bd2019f655f..9267c01401ec96cad2e09f83186fb53e74fa9e5f 100644 |
| --- a/src/IceDefs.h |
| +++ b/src/IceDefs.h |
| @@ -275,6 +275,18 @@ llvm::iterator_range<typename T::reverse_iterator> reverse_range(T &Container) { |
| /// Options for pooling and randomization of immediates. |
| enum RandomizeAndPoolImmediatesEnum { RPI_None, RPI_Randomize, RPI_Pool }; |
| +/// Salts for Random number generator for different randomization passes. |
| +enum RandomizationPassesEnum { |
| + RS_BasicBlockReordering, |
|
Jim Stichnoth
2015/08/19 19:03:04
Usually the enum value prefix is directly derived
qining
2015/08/19 23:25:48
Done.
|
| + RS_ConstantBlinding, |
| + RS_FunctionReordering, |
| + RS_GlobalVariableReordering, |
| + RS_NopInsertion, |
| + RS_PooledConstantReordering, |
| + RS_RegAllocRandomization, |
| + RS_END = 16 |
|
Jim Stichnoth
2015/08/19 19:03:04
Instead, use
RPE_num
The _num name is used in l
qining
2015/08/19 23:25:48
Done.
|
| +}; |
| + |
| } // end of namespace Ice |
| #endif // SUBZERO_SRC_ICEDEFS_H |