commit | b466d807007b522c17c56f66376b7f439b8f1352 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Jan 04 11:49:00 2017 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Jan 04 16:29:23 2017 +0000 |
tree | 91d0c0233997ac2f6fbc5b6b654933cd72bfb8e1 | |
parent | 059802455e80a92a0fac780246968588bb0cf88b [diff] |
Remove bogus DCHECK. The code may be executed concurrently by multiple threads, so the flag may already be set. Test: test-art-host bug:34074968 Change-Id: I162b90a853ce53e6b7063754bbfce5d68cffc82a
diff --git a/runtime/art_method.h b/runtime/art_method.h index 3bc6f5d..abc304d 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h
@@ -250,7 +250,6 @@ } void SetSkipAccessChecks() { - DCHECK(!SkipAccessChecks()); AddAccessFlags(kAccSkipAccessChecks); }