Index: src/ast/ast-type-bounds.h |
diff --git a/src/ast/ast-type-bounds.h b/src/ast/ast-type-bounds.h |
index ec26fdfc024f7380f0534b9b4ba660b732a47b44..f3aa5b4d1294f824452cc7956906f3811573826e 100644 |
--- a/src/ast/ast-type-bounds.h |
+++ b/src/ast/ast-type-bounds.h |
@@ -7,7 +7,7 @@ |
#ifndef V8_AST_AST_TYPE_BOUNDS_H_ |
#define V8_AST_AST_TYPE_BOUNDS_H_ |
-#include "src/types.h" |
+#include "src/ast/ast-types.h" |
#include "src/zone-containers.h" |
namespace v8 { |
@@ -20,18 +20,18 @@ class AstTypeBounds { |
explicit AstTypeBounds(Zone* zone) : bounds_map_(zone) {} |
~AstTypeBounds() {} |
- Bounds get(Expression* expression) const { |
- ZoneMap<Expression*, Bounds>::const_iterator i = |
+ AstBounds get(Expression* expression) const { |
+ ZoneMap<Expression*, AstBounds>::const_iterator i = |
bounds_map_.find(expression); |
- return (i != bounds_map_.end()) ? i->second : Bounds::Unbounded(); |
+ return (i != bounds_map_.end()) ? i->second : AstBounds::Unbounded(); |
} |
- void set(Expression* expression, Bounds bounds) { |
+ void set(Expression* expression, AstBounds bounds) { |
bounds_map_[expression] = bounds; |
} |
private: |
- ZoneMap<Expression*, Bounds> bounds_map_; |
+ ZoneMap<Expression*, AstBounds> bounds_map_; |
}; |
} // namespace internal |