Home
last modified time | relevance | path

Searched refs:gZero (Results 1 – 4 of 4) 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/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/arm64/
Dcontext_arm64.cc35 static constexpr uint64_t gZero = 0; variable
71 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
78 DCHECK_NE(fprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetFPR()
84 gprs_[X0] = const_cast<uint64_t*>(&gZero); in SmashCallerSaves()