Reviewers: Toon Verwaest,
Description:
Fix failing test after r11924.
[email protected]
BUG=chromium:132744
TEST=cctest/test-dictionary/ObjectHashTableCausesGC
Please review this at https://chromiumcodereview.appspot.com/10658016/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M test/cctest/test-dictionary.cc
Index: test/cctest/test-dictionary.cc
diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc
index
c70436309d8b5e99cf277a8634ae2f27c3833615..a46e4f4ea798997c31ef07b67f1b3a67093db0e0
100644
--- a/test/cctest/test-dictionary.cc
+++ b/test/cctest/test-dictionary.cc
@@ -134,7 +134,7 @@ TEST(ObjectHashTableCausesGC) {
FLAG_gc_interval = 0;
// Calling Lookup() should not cause GC ever.
- CHECK(table->Lookup(*key)->IsUndefined());
+ CHECK(table->Lookup(*key)->IsTheHole());
// Calling Put() should request GC by returning a failure.
CHECK(table->Put(*key, *key)->IsRetryAfterGC());
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev