src/os/windows/vm/os_windows.cpp

Print this page

        

@@ -1387,11 +1387,11 @@
    }
 }
 
 bool os::dll_address_to_function_name(address addr, char *buf,
                                       int buflen, int *offset) {
-  if (Decoder::decode(addr, buf, buflen, offset) == Decoder::no_error) {
+  if (Decoder::decode(addr, buf, buflen, offset)) {
     return true;
   }
   if (offset != NULL)  *offset  = -1;
   if (buf != NULL) buf[0] = '\0';
   return false;