OSDN Git Service

Remove unused variable.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 9 Nov 2015 09:15:15 +0000 (09:15 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 9 Nov 2015 09:15:15 +0000 (09:15 +0000)
Change-Id: I29d80004eba897b72304ec83fe89ed1071a24024

runtime/jit/jit_code_cache.cc

index 9dac504..a291a09 100644 (file)
@@ -440,7 +440,6 @@ void JitCodeCache::GarbageCollectCache(Thread* self) {
               << ", data=" << PrettySize(DataCacheSize());
   }
 
-  size_t map_size = 0;
   instrumentation::Instrumentation* instrumentation = Runtime::Current()->GetInstrumentation();
 
   // Wait for an existing collection, or let everyone know we are starting one.
@@ -457,7 +456,6 @@ void JitCodeCache::GarbageCollectCache(Thread* self) {
   // methods to interpreter.
   {
     MutexLock mu(self, lock_);
-    map_size = method_code_map_.size();
     for (auto& it : method_code_map_) {
       instrumentation->UpdateMethodsCode(it.second, GetQuickToInterpreterBridge());
     }