Commit 1094c8f1 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix regression test on x64.

R=verwaest@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10827084

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12231 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 514fc74a
...@@ -2018,6 +2018,7 @@ TEST(Regress2211) { ...@@ -2018,6 +2018,7 @@ TEST(Regress2211) {
DescriptorArray* descriptors = internal_obj->map()->instance_descriptors(); DescriptorArray* descriptors = internal_obj->map()->instance_descriptors();
ObjectHashTable* hashtable = ObjectHashTable::cast( ObjectHashTable* hashtable = ObjectHashTable::cast(
internal_obj->FastPropertyAt(descriptors->GetFieldIndex(0))); 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);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment