| Index: unittest/AssemblerX8664/LowLevel.cpp
|
| diff --git a/unittest/AssemblerX8664/LowLevel.cpp b/unittest/AssemblerX8664/LowLevel.cpp
|
| index 2281b144116a83fa41835298313d26a4d741705a..550f51a66b7817ccb9e66a6504002f0525952c80 100644
|
| --- a/unittest/AssemblerX8664/LowLevel.cpp
|
| +++ b/unittest/AssemblerX8664/LowLevel.cpp
|
| @@ -186,8 +186,7 @@ TEST_F(AssemblerX8664LowLevelTest, Cmp) {
|
| "(" #Inst ", " #Dst ", " #Disp ", " #OpType ", " #ByteCountUntyped \
|
| ", " #__VA_ARGS__ ")"; \
|
| static constexpr uint8_t ByteCount = ByteCountUntyped; \
|
| - __ Inst(IceType_##OpType, Encoded_GPR_##Dst(), \
|
| - Address(Disp, AssemblerFixup::NoFixup)); \
|
| + __ Inst(IceType_##OpType, Encoded_GPR_##Dst(), Address::Absolute(Disp)); \
|
| ASSERT_EQ(ByteCount, codeBytesSize()) << TestString; \
|
| ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), __VA_ARGS__)) \
|
| << TestString; \
|
|
|