Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 3079578051caf1cfe31129fcad18074ad59c6eeb..c6f942492bdf68c1fbc9f38e900b6b5f11bdc842 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -1178,13 +1178,13 @@ TEST(CodeSerializerThreeBigStrings) { |
Vector<const uint8_t> source_b = |
ConstructSource(STATIC_CHAR_VECTOR("var b = \""), STATIC_CHAR_VECTOR("b"), |
- STATIC_CHAR_VECTOR("\";"), 600000); |
+ STATIC_CHAR_VECTOR("\";"), 400000); |
Handle<String> source_b_str = |
f->NewStringFromOneByte(source_b).ToHandleChecked(); |
Vector<const uint8_t> source_c = |
ConstructSource(STATIC_CHAR_VECTOR("var c = \""), STATIC_CHAR_VECTOR("c"), |
- STATIC_CHAR_VECTOR("\";"), 500000); |
+ STATIC_CHAR_VECTOR("\";"), 400000); |
Handle<String> source_c_str = |
f->NewStringFromOneByte(source_c).ToHandleChecked(); |
@@ -1217,10 +1217,10 @@ TEST(CodeSerializerThreeBigStrings) { |
v8::Maybe<int32_t> result = |
CompileRun("(a + b).length") |
->Int32Value(v8::Isolate::GetCurrent()->GetCurrentContext()); |
- CHECK_EQ(600000 + 700000, result.FromJust()); |
+ CHECK_EQ(400000 + 700000, result.FromJust()); |
result = CompileRun("(b + c).length") |
->Int32Value(v8::Isolate::GetCurrent()->GetCurrentContext()); |
- CHECK_EQ(500000 + 600000, result.FromJust()); |
+ CHECK_EQ(400000 + 400000, result.FromJust()); |
Heap* heap = isolate->heap(); |
v8::Local<v8::String> result_str = |
CompileRun("a") |