Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: src/crankshaft/hydrogen.h

Issue 1604543002: [compiler] Remove CodeStub from CompilationInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/crankshaft/arm64/lithium-arm64.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen.h
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h
index 58904c4e617612df029f1adcffb6805405f38cfe..f990c4d26f47552c2bbec545920b234ff3b3cbf6 100644
--- a/src/crankshaft/hydrogen.h
+++ b/src/crankshaft/hydrogen.h
@@ -297,11 +297,12 @@ class BoundsCheckTable;
class InductionVariableBlocksTable;
class HGraph final : public ZoneObject {
public:
- explicit HGraph(CompilationInfo* info);
+ explicit HGraph(CompilationInfo* info, CallInterfaceDescriptor descriptor);
Isolate* isolate() const { return isolate_; }
Zone* zone() const { return zone_; }
CompilationInfo* info() const { return info_; }
+ CallInterfaceDescriptor descriptor() const { return descriptor_; }
const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; }
const ZoneList<HPhi*>* phi_list() const { return phi_list_; }
@@ -486,6 +487,7 @@ class HGraph final : public ZoneObject {
HOsrBuilder* osr_;
CompilationInfo* info_;
+ CallInterfaceDescriptor descriptor_;
Zone* zone_;
bool is_recursive_;
@@ -1006,8 +1008,10 @@ class HAllocationMode final BASE_EMBEDDED {
class HGraphBuilder {
public:
- explicit HGraphBuilder(CompilationInfo* info)
+ explicit HGraphBuilder(CompilationInfo* info,
+ CallInterfaceDescriptor descriptor)
: info_(info),
+ descriptor_(descriptor),
graph_(NULL),
current_block_(NULL),
scope_(info->scope()),
@@ -1912,6 +1916,7 @@ class HGraphBuilder {
}
CompilationInfo* info_;
+ CallInterfaceDescriptor descriptor_;
HGraph* graph_;
HBasicBlock* current_block_;
Scope* scope_;
« no previous file with comments | « src/crankshaft/arm64/lithium-arm64.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698