Commit ccf8b204 authored by adamk@chromium.org's avatar adamk@chromium.org

Fix OrderedHashSet::Remove caller in debug-only code after r21408

TBR=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/294473011

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21409 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 9f86a91e
......@@ -187,7 +187,9 @@ static void TestHashSetCausesGC(Handle<HashSet> table) {
CHECK(gc_count == isolate->heap()->gc_count());
// Calling Remove() will not cause GC in this case.
table = HashSet::Remove(table, key);
bool was_present = false;
table = HashSet::Remove(table, key, &was_present);
CHECK(!was_present);
CHECK(gc_count == isolate->heap()->gc_count());
// Calling Add() should cause GC.
......
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