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
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.