summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-01-04 11:49:00 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2017-01-04 16:29:23 +0000
commitb466d807007b522c17c56f66376b7f439b8f1352 (patch)
tree91d0c0233997ac2f6fbc5b6b654933cd72bfb8e1
parent059802455e80a92a0fac780246968588bb0cf88b (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
-rw-r--r--runtime/art_method.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h
index 3bc6f5d4fd..abc304de13 100644
--- a/runtime/art_method.h
+++ b/runtime/art_method.h
@@ -250,7 +250,6 @@ class ArtMethod FINAL {
}
void SetSkipAccessChecks() {
- DCHECK(!SkipAccessChecks());
AddAccessFlags(kAccSkipAccessChecks);
}