commit | 423d2a3dcbb260b020efb5da59f784c9f02accbf | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Sep 12 17:33:56 2013 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Sep 13 10:30:24 2013 -0700 |
tree | 79ed739e6072f8308c1cd880f9420a1c63539c95 | |
parent | b048dd2b662c19644361f4396a1e8d6213445ee8 [diff] [blame] |
Add support for changing roots through the root visitor callback. Needed for copying collectors. Change-Id: Icc4a342a57e0cfb79587edb02ef8c85e08808877
diff --git a/runtime/sirt_ref.h b/runtime/sirt_ref.h index 81f0dff..25d6fb3 100644 --- a/runtime/sirt_ref.h +++ b/runtime/sirt_ref.h
@@ -30,7 +30,7 @@ self_->PushSirt(&sirt_); } ~SirtRef() { - CHECK(self_->PopSirt() == &sirt_); + CHECK_EQ(self_->PopSirt(), &sirt_); } T& operator*() const { return *get(); }