summaryrefslogtreecommitdiffstats
path: root/src/objects-debug.cc
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-09-30 15:31:59 +0100
committerKristian Monsen <kristianm@google.com>2010-10-06 14:06:50 +0100
commit0d5e116f6aee03185f237311a943491bb079a768 (patch)
treee0a80472bc3151e606a32e8d68079579c8143495 /src/objects-debug.cc
parent59151504615d929945dc59db37bf1166937748c6 (diff)
downloadandroid_external_v8-0d5e116f6aee03185f237311a943491bb079a768.tar.gz
android_external_v8-0d5e116f6aee03185f237311a943491bb079a768.tar.bz2
android_external_v8-0d5e116f6aee03185f237311a943491bb079a768.zip
update V8 to r5532 as required by WebKit r68651
Change-Id: I5f75eeffbf64b30dd5080348528d277f293490ad
Diffstat (limited to 'src/objects-debug.cc')
-rw-r--r--src/objects-debug.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 6d49d750..ed08468e 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -649,8 +649,9 @@ void Map::MapVerify() {
}
-void Map::NormalizedMapVerify() {
+void Map::SharedMapVerify() {
MapVerify();
+ ASSERT(is_shared());
ASSERT_EQ(Heap::empty_descriptor_array(), instance_descriptors());
ASSERT_EQ(Heap::empty_fixed_array(), code_cache());
ASSERT_EQ(0, pre_allocated_property_fields());
@@ -904,7 +905,7 @@ void Code::CodePrint() {
void Code::CodeVerify() {
CHECK(IsAligned(reinterpret_cast<intptr_t>(instruction_start()),
- static_cast<intptr_t>(kCodeAlignment)));
+ kCodeAlignment));
Address last_gc_pc = NULL;
for (RelocIterator it(this); !it.done(); it.next()) {
it.rinfo()->Verify();
@@ -1381,7 +1382,7 @@ void NormalizedMapCache::NormalizedMapCacheVerify() {
for (int i = 0; i < length(); i++) {
Object* e = get(i);
if (e->IsMap()) {
- Map::cast(e)->NormalizedMapVerify();
+ Map::cast(e)->SharedMapVerify();
} else {
ASSERT(e->IsUndefined());
}