aboutsummaryrefslogtreecommitdiffstats
path: root/utils/json-bench
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2011-12-20 10:34:29 +0000
committerManuel Klimek <klimek@google.com>2011-12-20 10:34:29 +0000
commit2c777c8f865bf0e9773be1d5735bd2ae49c6790b (patch)
treea8989f20830743046cb72d4f94ee1537ed62c17e /utils/json-bench
parentc4850c9a061e40be8b8a75cbf55b0e3ed2d7e8b5 (diff)
downloadexternal_llvm-2c777c8f865bf0e9773be1d5735bd2ae49c6790b.zip
external_llvm-2c777c8f865bf0e9773be1d5735bd2ae49c6790b.tar.gz
external_llvm-2c777c8f865bf0e9773be1d5735bd2ae49c6790b.tar.bz2
Fixing option for JSON benchmark broken since the change to size_t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146970 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/json-bench')
-rw-r--r--utils/json-bench/JSONBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/json-bench/JSONBench.cpp b/utils/json-bench/JSONBench.cpp
index dc2285d..be2d8d0 100644
--- a/utils/json-bench/JSONBench.cpp
+++ b/utils/json-bench/JSONBench.cpp
@@ -23,7 +23,7 @@ Verify("verify", llvm::cl::desc(
"Run a quick verification useful for regression testing"),
llvm::cl::init(false));
-static llvm::cl::opt<size_t>
+static llvm::cl::opt<unsigned>
MemoryLimitMB("memory-limit", llvm::cl::desc(
"Do not use more megabytes of memory"),
llvm::cl::init(1000));