| Index: unittest/AssemblerX8664/ControlFlow.cpp
|
| diff --git a/unittest/AssemblerX8664/ControlFlow.cpp b/unittest/AssemblerX8664/ControlFlow.cpp
|
| index 704f6fdb7d1fea6c7410c7eef5c77038d603f46e..30a0a5233edf0397a69a4c2c45d7ff986e0aaa9a 100644
|
| --- a/unittest/AssemblerX8664/ControlFlow.cpp
|
| +++ b/unittest/AssemblerX8664/ControlFlow.cpp
|
| @@ -158,6 +158,7 @@ TEST_F(AssemblerX8664Test, CallReg) {
|
| TEST_F(AssemblerX8664Test, CallAddr) {
|
| #define TestImpl(Dst, Src) \
|
| do { \
|
| + static constexpr AssemblerFixup *Fixup = nullptr; \
|
| const uint32_t T0 = allocateQword(); \
|
| const uint64_t V0 = 0xA0C0FFEEBEEFFEEFull; \
|
| __ call(Immediate(16)); \
|
| @@ -169,7 +170,7 @@ TEST_F(AssemblerX8664Test, CallAddr) {
|
| } \
|
| __ mov(IceType_i64, Encoded_GPR_##Dst##q(), dwordAddress(T0)); \
|
| __ mov(IceType_i64, Encoded_GPR_##Src##q(), Encoded_GPR_rsp()); \
|
| - __ call(Address(Encoded_GPR_##Src##q(), 0)); \
|
| + __ call(Address(Encoded_GPR_##Src##q(), 0, Fixup)); \
|
| __ popl(Encoded_GPR_##Src##q()); \
|
| \
|
| AssembledTest test = assemble(); \
|
|
|