Update V8 to r4588
We're using WebKit r58033, as used by
http://src.chromium.org/svn/releases/5.0.387.0/DEPS
This requires http://v8.googlecode.com/svn/trunk@4465 but this version has a
crashing bug for ARM. Instead we use http://v8.googlecode.com/svn/trunk@4588,
which is used by http://src.chromium.org/svn/releases/6.0.399.0/DEPS
Note that a trivial bug fix was required in arm/codegen-arm.cc. This is guarded
with ANDROID. See http://code.google.com/p/v8/issues/detail?id=703
Change-Id: I459647a8286c4f8c7405f0c5581ecbf051a6f1e8
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
index 5335e9b..c4c8a45 100644
--- a/test/cctest/test-serialize.cc
+++ b/test/cctest/test-serialize.cc
@@ -283,7 +283,6 @@
#endif
CHECK(Top::global()->IsJSObject());
CHECK(Top::global_context()->IsContext());
- CHECK(Top::special_function_table()->IsFixedArray());
CHECK(Heap::symbol_table()->IsSymbolTable());
CHECK(!Factory::LookupAsciiSymbol("Empty")->IsFailure());
}
@@ -574,7 +573,8 @@
FixedArray::kHeaderSize + kSmallFixedArrayLength * kPointerSize;
const int kSmallStringLength = 16;
const int kSmallStringSize =
- SeqAsciiString::kHeaderSize + kSmallStringLength;
+ (SeqAsciiString::kHeaderSize + kSmallStringLength +
+ kObjectAlignmentMask) & ~kObjectAlignmentMask;
const int kMapSize = Map::kSize;
Object* new_last = NULL;
@@ -583,8 +583,8 @@
i += kSmallFixedArraySize) {
Object* obj = Heap::AllocateFixedArray(kSmallFixedArrayLength);
if (new_last != NULL) {
- CHECK_EQ(reinterpret_cast<char*>(obj),
- reinterpret_cast<char*>(new_last) + kSmallFixedArraySize);
+ CHECK(reinterpret_cast<char*>(obj) ==
+ reinterpret_cast<char*>(new_last) + kSmallFixedArraySize);
}
new_last = obj;
}
@@ -602,8 +602,8 @@
pointer_last = NULL;
}
if (pointer_last != NULL) {
- CHECK_EQ(reinterpret_cast<char*>(obj),
- reinterpret_cast<char*>(pointer_last) + kSmallFixedArraySize);
+ CHECK(reinterpret_cast<char*>(obj) ==
+ reinterpret_cast<char*>(pointer_last) + kSmallFixedArraySize);
}
pointer_last = obj;
}
@@ -619,8 +619,8 @@
data_last = NULL;
}
if (data_last != NULL) {
- CHECK_EQ(reinterpret_cast<char*>(obj),
- reinterpret_cast<char*>(data_last) + kSmallStringSize);
+ CHECK(reinterpret_cast<char*>(obj) ==
+ reinterpret_cast<char*>(data_last) + kSmallStringSize);
}
data_last = obj;
}
@@ -636,8 +636,8 @@
map_last = NULL;
}
if (map_last != NULL) {
- CHECK_EQ(reinterpret_cast<char*>(obj),
- reinterpret_cast<char*>(map_last) + kMapSize);
+ CHECK(reinterpret_cast<char*>(obj) ==
+ reinterpret_cast<char*>(map_last) + kMapSize);
}
map_last = obj;
}