< prev index next >

src/hotspot/share/asm/codeBuffer.cpp

Print this page

        

@@ -1102,11 +1102,11 @@
 }
 
 // Convenience for add_comment.
 CodeString* CodeStrings::find_last(intptr_t offset) const {
   CodeString* a = _strings_last;
-  while (a != NULL && !a->is_comment() && a->offset() > offset) {
+  while (a != NULL && !(a->is_comment() && a->offset() == offset)) {
     a = a->_prev;
   }
   return a;
 }
 
< prev index next >