OSDN Git Service

Clean up JNI calling convention callee saves.
authorVladimir Marko <vmarko@google.com>
Thu, 19 May 2016 09:37:24 +0000 (10:37 +0100)
committerVladimir Marko <vmarko@google.com>
Thu, 19 May 2016 17:12:22 +0000 (18:12 +0100)
commit3224838dfe9c95330ad963286f2c47e9546d3b5c
tree50d1b8759c61d392ecc159ede7efab94ecbfcde8
parentdb9fcb30402a2726564905c206fa23ee86e146c3
Clean up JNI calling convention callee saves.

Precalculate callee saves at compile time and return them
as ArrayRef<> instead of keeping then in a std::vector<>.

Change-Id: I4fd7d2bbf6138dc31b0fe8554eac35b0777ec9ef
38 files changed:
compiler/jni/jni_cfi_test.cc
compiler/jni/quick/arm/calling_convention_arm.cc
compiler/jni/quick/arm/calling_convention_arm.h
compiler/jni/quick/arm64/calling_convention_arm64.cc
compiler/jni/quick/arm64/calling_convention_arm64.h
compiler/jni/quick/calling_convention.h
compiler/jni/quick/jni_compiler.cc
compiler/jni/quick/mips/calling_convention_mips.cc
compiler/jni/quick/mips/calling_convention_mips.h
compiler/jni/quick/mips64/calling_convention_mips64.cc
compiler/jni/quick/mips64/calling_convention_mips64.h
compiler/jni/quick/x86/calling_convention_x86.cc
compiler/jni/quick/x86/calling_convention_x86.h
compiler/jni/quick/x86_64/calling_convention_x86_64.cc
compiler/jni/quick/x86_64/calling_convention_x86_64.h
compiler/utils/arm/assembler_arm.cc
compiler/utils/arm/assembler_arm.h
compiler/utils/arm/managed_register_arm.h
compiler/utils/arm64/assembler_arm64.cc
compiler/utils/arm64/assembler_arm64.h
compiler/utils/arm64/managed_register_arm64.h
compiler/utils/assembler.h
compiler/utils/managed_register.h
compiler/utils/mips/assembler_mips.cc
compiler/utils/mips/assembler_mips.h
compiler/utils/mips/managed_register_mips.h
compiler/utils/mips64/assembler_mips64.cc
compiler/utils/mips64/assembler_mips64.h
compiler/utils/mips64/managed_register_mips64.h
compiler/utils/x86/assembler_x86.cc
compiler/utils/x86/assembler_x86.h
compiler/utils/x86/managed_register_x86.h
compiler/utils/x86_64/assembler_x86_64.cc
compiler/utils/x86_64/assembler_x86_64.h
compiler/utils/x86_64/assembler_x86_64_test.cc
compiler/utils/x86_64/constants_x86_64.h
compiler/utils/x86_64/managed_register_x86_64.h
runtime/base/logging.h