summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-01-21 15:47:37 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-01-21 15:47:37 +0000
commitcf226584a08ee4ec7d88c40b28e4547a01580bb6 (patch)
tree032dc5e102d82f348810b0f9ad57c13a9c1ad852
parent05df3933ea7657f68c79c9b5b965b8a44e4969a2 (diff)
Add attribute to fix build.
Change-Id: I833b2e55ae7cc312404bd07b98ddf89a357bc786
-rw-r--r--runtime/jit/jit_instrumentation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jit/jit_instrumentation.cc b/runtime/jit/jit_instrumentation.cc
index 0cde00ae14..6b47b677dc 100644
--- a/runtime/jit/jit_instrumentation.cc
+++ b/runtime/jit/jit_instrumentation.cc
@@ -167,7 +167,7 @@ void JitInstrumentationListener::MethodEntered(Thread* thread,
void JitInstrumentationListener::Branch(Thread* thread,
ArtMethod* method,
- uint32_t dex_pc,
+ uint32_t dex_pc ATTRIBUTE_UNUSED,
int32_t dex_pc_offset) {
if (dex_pc_offset < 0) {
// Increment method hotness if it is a backward branch.