diff options
author | Ian Rogers <irogers@google.com> | 2014-10-24 20:43:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-10-24 20:43:21 +0000 |
commit | 98c271d517bc4d25fc6879b4b8e35ea93885d9e2 (patch) | |
tree | 233cbcc2bbb555cbe4b9ae4bf3eb899d238e4b90 | |
parent | 661cb3f65d3d6fd09f4823f4519890646260fbe6 (diff) | |
parent | db0cccd9a74cb9aa5f3b62f377415f653e3c0ca4 (diff) | |
download | art-98c271d517bc4d25fc6879b4b8e35ea93885d9e2.zip art-98c271d517bc4d25fc6879b4b8e35ea93885d9e2.tar.gz art-98c271d517bc4d25fc6879b4b8e35ea93885d9e2.tar.bz2 |
Merge "Code cleanup."
-rw-r--r-- | runtime/verifier/register_line.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/verifier/register_line.h b/runtime/verifier/register_line.h index c7fd369..8f7823a 100644 --- a/runtime/verifier/register_line.h +++ b/runtime/verifier/register_line.h @@ -118,9 +118,7 @@ class RegisterLine { void FillWithGarbage() { memset(&line_, 0xf1, num_regs_ * sizeof(uint16_t)); - while (!monitors_.empty()) { - monitors_.pop_back(); - } + monitors_.clear(); reg_to_lock_depths_.clear(); } |