diff options
author | 2016-04-04 14:19:01 -0700 | |
---|---|---|
committer | 2016-04-04 14:19:01 -0700 | |
commit | 22deed092ff53e4e11e09dd9bd24a220a566190f (patch) | |
tree | 13354a8868ca70c5e12e032c7a0714de76ae6a03 /runtime/native/java_lang_Class.cc | |
parent | 7d9a5b0fbceef5806f059060d47533b9e699ec28 (diff) |
Move DCHECK into loop.
Rationale:
Since pointer is non-null on loop entry, moving the check
into the while loop (rather than after) gives a more friendly
error message in debug mode when something goes wrong.
BUG=27825731
BUG=27627004
Change-Id: I2ea67b3ab6c4edc6815fea38a436e5c3c194e540
Diffstat (limited to 'runtime/native/java_lang_Class.cc')
0 files changed, 0 insertions, 0 deletions