Revision: 12231
Author: [email protected]
Date: Mon Jul 30 06:48:52 2012
Log: Fix regression test on x64.
[email protected]
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10827084
http://code.google.com/p/v8/source/detail?r=12231
Modified:
/branches/bleeding_edge/test/cctest/test-heap.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Mon Jul 30 06:09:09
2012
+++ /branches/bleeding_edge/test/cctest/test-heap.cc Mon Jul 30 06:48:52
2012
@@ -2018,6 +2018,7 @@
DescriptorArray* descriptors =
internal_obj->map()->instance_descriptors();
ObjectHashTable* hashtable = ObjectHashTable::cast(
internal_obj->FastPropertyAt(descriptors->GetFieldIndex(0)));
- CHECK_LE(hashtable->SizeFor(hashtable->length()), 52);
+ // HashTable header (5) and 4 initial entries (8).
+ CHECK_LE(hashtable->SizeFor(hashtable->length()), 13 * kPointerSize);
}
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev