Home
last modified time | relevance | path

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

/art/runtime/arch/mips/
Dcontext_mips.cc26 static constexpr uint32_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<uint32_t*>(&gZero); in SmashCallerSaves()
75 gprs_[V1] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
/art/runtime/arch/x86/
Dcontext_x86.cc26 static constexpr uintptr_t gZero = 0; variable
69 gprs_[EAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
70 gprs_[EDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
79 CHECK_NE(gprs_[reg], &gZero); in SetGPR()
86 CHECK_NE(fprs_[reg], reinterpret_cast<const uint32_t*>(&gZero)); in SetFPR()
/art/runtime/arch/arm/
Dcontext_arm.cc26 static constexpr uint32_t gZero = 0; variable
63 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
70 DCHECK_NE(fprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetFPR()
76 gprs_[R0] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
77 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.cc28 static constexpr uint64_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_[X0] = const_cast<uint64_t*>(&gZero); in SmashCallerSaves()