Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index 19f922a9bacf3c2844e10e62275ee2758ad111af..2dbb507abf429d75dcb4366d7ea85964d9d6b15d 100644 |
--- a/src/crankshaft/hydrogen.h |
+++ b/src/crankshaft/hydrogen.h |
@@ -7,6 +7,7 @@ |
#include "src/accessors.h" |
#include "src/allocation.h" |
+#include "src/ast/ast-type-bounds.h" |
#include "src/ast/ast.h" |
#include "src/ast/scopes.h" |
#include "src/bailout-reason.h" |
@@ -2183,6 +2184,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
void VisitDeclarations(ZoneList<Declaration*>* declarations) override; |
+ AstTypeBounds* bounds() { return &bounds_; } |
+ |
void* operator new(size_t size, Zone* zone) { return zone->New(size); } |
void operator delete(void* pointer, Zone* zone) { } |
void operator delete(void* pointer) { } |
@@ -2916,6 +2919,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
HOsrBuilder* osr_; |
+ AstTypeBounds bounds_; |
+ |
friend class FunctionState; // Pushes and pops the state stack. |
friend class AstContext; // Pushes and pops the AST context stack. |
friend class KeyedLoadFastElementStub; |