| Index: unittest/AssemblerX8632/TestUtil.h
|
| diff --git a/unittest/AssemblerX8632/TestUtil.h b/unittest/AssemblerX8632/TestUtil.h
|
| index a22c637d357913e69b07a1e724da8d4e26a1da06..5104fc49a41b04ec0f91546e14df428804633370 100644
|
| --- a/unittest/AssemblerX8632/TestUtil.h
|
| +++ b/unittest/AssemblerX8632/TestUtil.h
|
| @@ -729,8 +729,12 @@ protected:
|
| if (NeedsEpilogue) {
|
| addEpilogue();
|
| }
|
| -
|
| NeedsEpilogue = false;
|
| +
|
| + for (auto *Fixup : assembler()->fixups()) {
|
| + Fixup->emitOffset(assembler());
|
| + }
|
| +
|
| return AssembledTest(codeBytes(), codeBytesSize(), NumAllocatedDwords);
|
| }
|
|
|
|
|