OSDN Git Service

Add attribute to fix build.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 21 Jan 2016 15:47:37 +0000 (15:47 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Thu, 21 Jan 2016 15:47:37 +0000 (15:47 +0000)
Change-Id: I833b2e55ae7cc312404bd07b98ddf89a357bc786

runtime/jit/jit_instrumentation.cc

index 0cde00a..6b47b67 100644 (file)
@@ -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.