summaryrefslogtreecommitdiff
path: root/runtime/stack_map.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2018-06-22 23:59:24 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-06-22 23:59:24 +0000
commitcca7cb9ffa56d8ab8fd0c5997c8bfd965d7426c1 (patch)
treec577edade71c41eb35bd349d63fa1bc097a3f493 /runtime/stack_map.h
parentaccb14cc7dac2443020fd44c9391c94673d78a4b (diff)
parenta45a85c61acbcc4ca4046619b7a98635b32e7622 (diff)
Merge "Ensure that BitTableAccessor refers to non-null table."
Diffstat (limited to 'runtime/stack_map.h')
-rw-r--r--runtime/stack_map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/stack_map.h b/runtime/stack_map.h
index e94f71a930..83f0c05501 100644
--- a/runtime/stack_map.h
+++ b/runtime/stack_map.h
@@ -388,7 +388,7 @@ class CodeInfo {
return stack_map;
}
}
- return StackMap();
+ return stack_maps_.GetInvalidRow();
}
// Searches the stack map list backwards because catch stack maps are stored at the end.
@@ -399,7 +399,7 @@ class CodeInfo {
return stack_map;
}
}
- return StackMap();
+ return stack_maps_.GetInvalidRow();
}
StackMap GetOsrStackMapForDexPc(uint32_t dex_pc) const {
@@ -409,7 +409,7 @@ class CodeInfo {
return stack_map;
}
}
- return StackMap();
+ return stack_maps_.GetInvalidRow();
}
StackMap GetStackMapForNativePcOffset(uint32_t pc, InstructionSet isa = kRuntimeISA) const;
@@ -421,7 +421,7 @@ class CodeInfo {
return item;
}
}
- return InvokeInfo();
+ return invoke_infos_.GetInvalidRow();
}
// Dump this CodeInfo object on `vios`.