Revision: 21409
Author: [email protected]
Date: Wed May 21 12:31:31 2014 UTC
Log: Fix OrderedHashSet::Remove caller in debug-only code after r21408
[email protected]
Review URL: https://codereview.chromium.org/294473011
http://code.google.com/p/v8/source/detail?r=21409
Modified:
/branches/bleeding_edge/test/cctest/test-dictionary.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-dictionary.cc Tue Apr 29
14:16:38 2014 UTC
+++ /branches/bleeding_edge/test/cctest/test-dictionary.cc Wed May 21
12:31:31 2014 UTC
@@ -187,7 +187,9 @@
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.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.