Chromium Code Reviews

Unified Diff: src/compiler/code-generator.cc

Issue 2284313003: Separate CompilationInfo into its own file. (Closed)
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/compiler/code-generator.h ('k') | src/compiler/graph-visualizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/compiler/code-generator.h ('k') | src/compiler/graph-visualizer.cc » ('j') | no next file with comments »

Powered by Google App Engine