MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / CanDoImplicitNullCheckOn

Function CanDoImplicitNullCheckOn

Bcore/src/main/cpp/base/globals.h:43–45  ·  view source on GitHub ↗

Returns whether the given memory offset can be used for generating an implicit null check.

Source from the content-addressed store, hash-verified

41// Returns whether the given memory offset can be used for generating
42// an implicit null check.
43static inline bool CanDoImplicitNullCheckOn(uintptr_t offset) {
44 return offset < kPageSize;
45}
46
47// Required object alignment
48static constexpr size_t kObjectAlignmentShift = 3;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected