Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 02cd5608bef4aef12c7907c0e5ace11f72aa6b0e..3f7923e4c60518db0e78bdf8a2bc6e3fc322da02 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1747,13 +1747,13 @@ TEST(TestSizeOfRegExpCode) { |
// Adjust source below and this check to match |
// RegExpImple::kRegExpTooLargeToOptimize. |
- DCHECK_EQ(i::RegExpImpl::kRegExpTooLargeToOptimize, 10 * KB); |
+ DCHECK_EQ(i::RegExpImpl::kRegExpTooLargeToOptimize, 20 * 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 < 10 * 1024) {" |
+ "while (reg_exp_source.length < 20 * 1024) {" |
" half_size_reg_exp = reg_exp_source;" |
" reg_exp_source = reg_exp_source + reg_exp_source;" |
"}" |