Revision: 12818
Author:   [email protected]
Date:     Thu Oct 25 06:54:10 2012
Log:      Fix test failures in r12813.

[email protected]
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);
   }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to