16 const int kUnalignedStackLocation = 17;
19 native_type, native_type,
SPREG, kUnalignedStackLocation);
21 EXPECT_EQ(kUnalignedStackLocation + native_type.SizeInBytes(),
22 native_location.StackTopInBytes());
28 const auto& native_location =
31 const auto& half_0 = native_location.
Split(
Z, 2, 0);
32 const auto& half_1 = native_location.
Split(
Z, 2, 1);
34 EXPECT_EQ(0, half_0.offset_in_bytes());
35 EXPECT_EQ(4, half_1.offset_in_bytes());
53 EXPECT(native_location1.Equals(native_location2));
66 EXPECT(!native_location1.Equals(native_location2));
79 EXPECT(!native_location1.Equals(native_location2));
virtual NativeStackLocation & Split(Zone *zone, intptr_t num_parts, intptr_t index) const
UNIT_TEST_CASE_WITH_ZONE(NativeCallingConvention_int8x10)