summaryrefslogtreecommitdiff
path: root/compiler/jni/quick/calling_convention.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/jni/quick/calling_convention.cc')
-rw-r--r--compiler/jni/quick/calling_convention.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/compiler/jni/quick/calling_convention.cc b/compiler/jni/quick/calling_convention.cc
index e7a84fdaec..eb4d3724ee 100644
--- a/compiler/jni/quick/calling_convention.cc
+++ b/compiler/jni/quick/calling_convention.cc
@@ -174,19 +174,6 @@ size_t JniCallingConvention::ReferenceCount() const {
return NumReferenceArgs() + (IsStatic() ? 1 : 0);
}
-FrameOffset JniCallingConvention::ReturnValueSaveLocation() const {
- // The saved return value goes at a properly aligned slot after the method pointer.
- DCHECK(SpillsReturnValue());
- size_t return_value_offset = static_cast<size_t>(frame_pointer_size_);
- const size_t return_value_size = SizeOfReturnValue();
- DCHECK(return_value_size == 4u || return_value_size == 8u) << return_value_size;
- DCHECK_ALIGNED(return_value_offset, 4u);
- if (return_value_size == 8u) {
- return_value_offset = RoundUp(return_value_offset, 8u);
- }
- return FrameOffset(displacement_.SizeValue() + return_value_offset);
-}
-
bool JniCallingConvention::HasNext() {
if (IsCurrentArgExtraForJni()) {
return true;