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

Unified Diff: test/cctest/test-mark-compact.cc

Issue 227113005: Make `String.prototype.contains` throw when passing a regular expression (Closed) Base URL: git@github.com:v8/v8.git@master
Patch Set: Fix test-mark-compact/BootUpMemoryUse on x64 Created 6 years, 8 months 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
« no previous file with comments | « src/harmony-string.js ('k') | test/mjsunit/harmony/string-contains.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-mark-compact.cc
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc
index 0200129b1fcb04b95949e265f2f0739ab281087a..56d797a26d5e007b906e01f1458a6c796024b442 100644
--- a/test/cctest/test-mark-compact.cc
+++ b/test/cctest/test-mark-compact.cc
@@ -506,9 +506,9 @@ TEST(BootUpMemoryUse) {
printf("delta: %" V8_PTR_PREFIX "d kB\n", delta / 1024);
if (sizeof(initial_memory) == 8) { // 64-bit.
if (v8::internal::Snapshot::IsEnabled()) {
- CHECK_LE(delta, 4000 * 1024);
+ CHECK_LE(delta, 4100 * 1024);
} else {
- CHECK_LE(delta, 4500 * 1024);
+ CHECK_LE(delta, 4600 * 1024);
}
} else { // 32-bit.
if (v8::internal::Snapshot::IsEnabled()) {
« no previous file with comments | « src/harmony-string.js ('k') | test/mjsunit/harmony/string-contains.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698