Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 4513c248fc8f886cbe22f2bac4700cc297f5d0ad..1800f8678a5e8951640534476f9b54160e5a4276 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -6,6 +6,7 @@ |
#include "src/address-map.h" |
#include "src/base/adapters.h" |
+#include "src/compilation-info.h" |
#include "src/compiler/code-generator-impl.h" |
#include "src/compiler/linkage.h" |
#include "src/compiler/pipeline.h" |
@@ -63,6 +64,8 @@ CodeGenerator::CodeGenerator(Frame* frame, Linkage* linkage, |
CreateFrameAccessState(frame); |
} |
+Isolate* CodeGenerator::isolate() const { return info_->isolate(); } |
+ |
void CodeGenerator::CreateFrameAccessState(Frame* frame) { |
FinishFrame(frame); |
frame_access_state_ = new (code()->zone()) FrameAccessState(frame); |