Home
last modified time | relevance | path

Searched refs:gZero (Results 1 – 6 of 6) sorted by relevance

/art/runtime/arch/x86/
Dcontext_x86.cc27 static constexpr uintptr_t gZero = 0; variable
70 gprs_[EAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
71 gprs_[EDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
80 CHECK_NE(gprs_[reg], &gZero); in SetGPR()
87 CHECK_NE(fprs_[reg], reinterpret_cast<const uint32_t*>(&gZero)); in SetFPR()
/art/runtime/arch/mips/
Dcontext_mips.cc26 static constexpr uint32_t gZero = 0; variable
70 CHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
77 CHECK_NE(fprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetFPR()
83 gprs_[V0] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
84 gprs_[V1] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
/art/runtime/arch/arm/
Dcontext_arm.cc27 static constexpr uint32_t gZero = 0; variable
64 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
71 DCHECK_NE(fprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetFPR()
77 gprs_[R0] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
78 gprs_[R1] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
/art/runtime/arch/x86_64/
Dcontext_x86_64.cc26 static constexpr uintptr_t gZero = 0; variable
66 gprs_[RAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
67 gprs_[RDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
92 CHECK_NE(gprs_[reg], &gZero); in SetGPR()
99 CHECK_NE(fprs_[reg], reinterpret_cast<const uint64_t*>(&gZero)); in SetFPR()
/art/runtime/arch/mips64/
Dcontext_mips64.cc26 static constexpr uintptr_t gZero = 0; variable
61 CHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
68 CHECK_NE(fprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetFPR()
74 gprs_[V0] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
75 gprs_[V1] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
/art/runtime/arch/arm64/
Dcontext_arm64.cc29 static constexpr uint64_t gZero = 0; variable
65 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
72 DCHECK_NE(fprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetFPR()
78 gprs_[X0] = const_cast<uint64_t*>(&gZero); in SmashCallerSaves()