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

Unified Diff: src/ast/ast-type-bounds.h

Issue 2302283002: Forking the type system between Crankshaft & Turbofan. (Closed)
Patch Set: Nits. Created 4 years, 3 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/ast/ast.cc ('k') | src/ast/ast-types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/ast/ast.cc ('k') | src/ast/ast-types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698