Index: src/x87/assembler-x87.cc |
diff --git a/src/x87/assembler-x87.cc b/src/x87/assembler-x87.cc |
index 4177156ee66c1dede3776720fea62aa6548bae20..41a750249e586e67eaa9177fbc657a5db79b400d 100644 |
--- a/src/x87/assembler-x87.cc |
+++ b/src/x87/assembler-x87.cc |
@@ -256,6 +256,7 @@ Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) |
void Assembler::GetCode(CodeDesc* desc) { |
// Finalize code (at this point overflow() may be true, but the gap ensures |
// that we are still not overlapping instructions and relocation info). |
+ reloc_info_writer.Finish(); |
DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. |
// Set up code descriptor. |
desc->buffer = buffer_; |