Make Method::ToDexPC tolerate callee save methods

Change-Id: I266db0d8505e909390f62151b7b7705bf68bc01c
diff --git a/src/object.cc b/src/object.cc
index 81c646e..558978c 100644
--- a/src/object.cc
+++ b/src/object.cc
@@ -588,7 +588,7 @@
 uint32_t Method::ToDexPC(const uintptr_t pc) const {
   const uint32_t* mapping_table = GetMappingTable();
   if (mapping_table == NULL) {
-    DCHECK(IsNative()) << PrettyMethod(this);
+    DCHECK(IsNative() || IsCalleeSaveMethod()) << PrettyMethod(this);
     return DexFile::kDexNoIndex;   // Special no mapping case
   }
   size_t mapping_table_length = GetMappingTableLength();