Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 86774965d716c8b38689287d3ad2453d5f1ea469..9c858c67a89b8c4666f2428b22b474837d7bfb8c 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -54,7 +54,8 @@ CodeGenerator::CodeGenerator(Frame* frame, Linkage* linkage, |
jump_tables_(nullptr), |
ools_(nullptr), |
osr_pc_offset_(-1), |
- source_position_table_builder_(info->isolate(), zone()) { |
+ source_position_table_builder_(info->isolate(), code->zone(), |
+ info->SourcePositionRecordingMode()) { |
for (int i = 0; i < code->InstructionBlockCount(); ++i) { |
new (&labels_[i]) Label; |
} |