Chromium Code Reviews| Index: unittest/AssemblerX8664/TestUtil.h |
| diff --git a/unittest/AssemblerX8664/TestUtil.h b/unittest/AssemblerX8664/TestUtil.h |
| index 1c681312b15ea77635bf9020cfde0361b8e31db1..4600a9a0653814a4f3ca330f298c55bc018fb32b 100644 |
| --- a/unittest/AssemblerX8664/TestUtil.h |
| +++ b/unittest/AssemblerX8664/TestUtil.h |
| @@ -913,8 +913,12 @@ protected: |
| if (NeedsEpilogue) { |
| addEpilogue(); |
| } |
| - |
| NeedsEpilogue = false; |
| + |
| + for (auto *Fixup : assembler()->fixups()) { |
|
Jim Stichnoth
2016/02/03 23:18:27
const auto * ?
John
2016/02/04 18:28:50
Done.
|
| + Fixup->emitOffset(assembler()); |
| + } |
| + |
| return AssembledTest(codeBytes(), codeBytesSize(), NumAllocatedDwords); |
| } |