summaryrefslogtreecommitdiffstats
path: root/src/objects-debug.cc
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-08-27 10:21:07 +0100
committerSteve Block <steveblock@google.com>2010-08-27 10:27:17 +0100
commit791712a13f1814dd3ab5d1a5ab8ff5dbc476f6d6 (patch)
tree875cbc3272688c25996968c5165b4a957f0eeefb /src/objects-debug.cc
parent756813857a4c2a4d8ad2e805969d5768d3cf43a0 (diff)
downloadandroid_external_v8-791712a13f1814dd3ab5d1a5ab8ff5dbc476f6d6.tar.gz
android_external_v8-791712a13f1814dd3ab5d1a5ab8ff5dbc476f6d6.tar.bz2
android_external_v8-791712a13f1814dd3ab5d1a5ab8ff5dbc476f6d6.zip
Update V8 to r5318 to fix crashing ARM bugs
Bug: 2947054 Change-Id: I9c7398edb1525477c75ace9d383efaf790d12c51
Diffstat (limited to 'src/objects-debug.cc')
-rw-r--r--src/objects-debug.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 0a971283..91aba269 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -640,8 +640,9 @@ void Map::MapPrint() {
void Map::MapVerify() {
ASSERT(!Heap::InNewSpace(this));
ASSERT(FIRST_TYPE <= instance_type() && instance_type() <= LAST_TYPE);
- ASSERT(kPointerSize <= instance_size()
- && instance_size() < Heap::Capacity());
+ ASSERT(instance_size() == kVariableSizeSentinel ||
+ (kPointerSize <= instance_size() &&
+ instance_size() < Heap::Capacity()));
VerifyHeapPointer(prototype());
VerifyHeapPointer(instance_descriptors());
}