Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index df485eba95209560ec13b01d0b0e5c0efd06acd1..44e3b9dc9d708378b0c1b60b215d3e762756c26f 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -21,7 +21,7 @@ CodeGenerator::CodeGenerator(Frame* frame, Linkage* linkage, |
labels_(zone()->NewArray<Label>(code->InstructionBlockCount())), |
current_block_(BasicBlock::RpoNumber::Invalid()), |
current_source_position_(SourcePosition::Invalid()), |
- masm_(code->zone()->isolate(), NULL, 0), |
+ masm_(info->isolate(), NULL, 0), |
resolver_(this), |
safepoints_(code->zone()), |
deoptimization_states_(code->zone()), |