| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 1df063f88810d781919b4ae39febf31bbeb591ab..f0dc643fc60f3a06b65e190bdc534ff7aca9735b 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -1747,13 +1747,13 @@
|
|
|
| // Adjust source below and this check to match
|
| // RegExpImple::kRegExpTooLargeToOptimize.
|
| - DCHECK_EQ(i::RegExpImpl::kRegExpTooLargeToOptimize, 20 * KB);
|
| + DCHECK_EQ(i::RegExpImpl::kRegExpTooLargeToOptimize, 10 * KB);
|
|
|
| // Compile a regexp that is much larger if we are using regexp optimizations.
|
| CompileRun(
|
| "var reg_exp_source = '(?:a|bc|def|ghij|klmno|pqrstu)';"
|
| "var half_size_reg_exp;"
|
| - "while (reg_exp_source.length < 20 * 1024) {"
|
| + "while (reg_exp_source.length < 10 * 1024) {"
|
| " half_size_reg_exp = reg_exp_source;"
|
| " reg_exp_source = reg_exp_source + reg_exp_source;"
|
| "}"
|
|
|