Index: src/compiler/code-generator.h |
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h |
index d59105e67e2de2573dac01128a4494078861ff56..035cd5cc1e93a29586b2b998a957cc6a2ee05796 100644 |
--- a/src/compiler/code-generator.h |
+++ b/src/compiler/code-generator.h |
@@ -38,7 +38,7 @@ class CodeGenerator FINAL : public GapResolver::Assembler { |
InstructionSequence* code() const { return code_; } |
Frame* frame() const { return frame_; } |
- Isolate* isolate() const { return zone()->isolate(); } |
+ Isolate* isolate() const { return info_->isolate(); } |
Linkage* linkage() const { return linkage_; } |
Label* GetLabel(BasicBlock::RpoNumber rpo) { return &labels_[rpo.ToSize()]; } |