[v8] r12818 committed - Fix test failures in r12813....

3 views
Skip to first unread message

codesite...@google.com

unread,
Oct 25, 2012, 9:57:36 AM10/25/12
to v8-...@googlegroups.com
Revision: 12818
Author: mstar...@chromium.org
Date: Thu Oct 25 06:54:10 2012
Log: Fix test failures in r12813.

R=yan...@chromium.org
BUG=v8:1490

Review URL: https://codereview.chromium.org/11264035
http://code.google.com/p/v8/source/detail?r=12818

Modified:
/branches/bleeding_edge/src/objects-inl.h

=======================================
--- /branches/bleeding_edge/src/objects-inl.h Thu Oct 25 04:52:37 2012
+++ /branches/bleeding_edge/src/objects-inl.h Thu Oct 25 06:54:10 2012
@@ -2290,9 +2290,10 @@
// EnsureCapacity will guarantee the hash table is never full.
while (true) {
Object* element = KeyAt(entry);
- // Empty entry.
- if (element == isolate->heap()->undefined_value()) break;
- if (element != isolate->heap()->the_hole_value() &&
+ // Empty entry. Uses raw unchecked accessors because it is called by
the
+ // symbol table during bootstrapping.
+ if (element == isolate->heap()->raw_unchecked_undefined_value()) break;
+ if (element != isolate->heap()->raw_unchecked_the_hole_value() &&
Shape::IsMatch(key, element)) return entry;
entry = NextProbe(entry, count++, capacity);
}
Reply all
Reply to author
Forward
0 new messages