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

Unified Diff: src/IceRNG.cpp

Issue 756543002: Subzero: Fix new issues after the LLVM 3.5 merge. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 1 month 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/IceRNG.cpp
diff --git a/src/IceRNG.cpp b/src/IceRNG.cpp
index b874d8392bdfd43c83ddbb8f4c09d4bbb1065918..ed3467ba81df2f0c828a35126bf8f472b8fe5d74 100644
--- a/src/IceRNG.cpp
+++ b/src/IceRNG.cpp
@@ -22,8 +22,11 @@ namespace Ice {
namespace {
namespace cl = llvm::cl;
+// TODO(stichnot): See if we can easily use LLVM's -rng-seed option
+// and implementation. I expect the implementation is different and
+// therefore the tests would need to be changed.
cl::opt<unsigned long long>
-RandomSeed("rng-seed", cl::desc("Seed the random number generator"),
+RandomSeed("sz-seed", cl::desc("Seed the random number generator"),
cl::init(time(0)));
const unsigned MAX = 2147483647;

Powered by Google App Engine
This is Rietveld 408576698