Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 5d94eb8da7bb1a3b2fc91661af27f5e1fb3a06e5..012a0687e8f07f2bfe675feec95bf5456f383406 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -741,7 +741,8 @@ void RelocIterator::next() { |
} |
-RelocIterator::RelocIterator(Code* code, int mode_mask) { |
+RelocIterator::RelocIterator(Code* code, int mode_mask) |
+ : rinfo_(code->map()->GetIsolate()) { |
rinfo_.host_ = code; |
rinfo_.pc_ = code->instruction_start(); |
rinfo_.data_ = 0; |
@@ -766,7 +767,8 @@ RelocIterator::RelocIterator(Code* code, int mode_mask) { |
} |
-RelocIterator::RelocIterator(const CodeDesc& desc, int mode_mask) { |
+RelocIterator::RelocIterator(const CodeDesc& desc, int mode_mask) |
+ : rinfo_(desc.origin->isolate()) { |
rinfo_.pc_ = desc.buffer; |
rinfo_.data_ = 0; |
// Relocation info is read backwards. |