commit | 28a452a74432b1dc1c161581ecf551a1dd61fa54 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 17 20:39:44 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 17 20:39:44 2012 -0800 |
tree | 89de0cba123fbf2cdf9652f32d3c7cc4e809b8c4 | |
parent | b4807ec95e8ba663b47c13da3e065874b1b586e6 [diff] |
Assert that the mark stack is empty when destroyed. Change-Id: Ic1c2c9c02e487aad37bbc92ac28f1a6c5ad3ecbc
diff --git a/src/mark_stack.cc b/src/mark_stack.cc index b61597b..707b98b 100644 --- a/src/mark_stack.cc +++ b/src/mark_stack.cc
@@ -36,6 +36,8 @@ } } -MarkStack::~MarkStack() {} +MarkStack::~MarkStack() { + CHECK(IsEmpty()); +} } // namespace art