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

Unified Diff: src/crankshaft/typing.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/crankshaft/hydrogen-types.cc ('k') | src/crankshaft/typing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/typing.h
diff --git a/src/crankshaft/typing.h b/src/crankshaft/typing.h
index 94340c5a74510736f691b8a5be2c02828cc5a42e..ff112f0d36ed0575ac1dd7eee86b5883abf8f6e1 100644
--- a/src/crankshaft/typing.h
+++ b/src/crankshaft/typing.h
@@ -7,11 +7,11 @@
#include "src/allocation.h"
#include "src/ast/ast-type-bounds.h"
+#include "src/ast/ast-types.h"
#include "src/ast/scopes.h"
#include "src/ast/variables.h"
#include "src/effects.h"
#include "src/type-info.h"
-#include "src/types.h"
#include "src/zone.h"
namespace v8 {
@@ -49,11 +49,11 @@ class AstTyper final : public AstVisitor<AstTyper> {
Zone* zone() const { return zone_; }
TypeFeedbackOracle* oracle() { return &oracle_; }
- void NarrowType(Expression* e, Bounds b) {
- bounds_->set(e, Bounds::Both(bounds_->get(e), b, zone()));
+ void NarrowType(Expression* e, AstBounds b) {
+ bounds_->set(e, AstBounds::Both(bounds_->get(e), b, zone()));
}
- void NarrowLowerType(Expression* e, Type* t) {
- bounds_->set(e, Bounds::NarrowLower(bounds_->get(e), t, zone()));
+ void NarrowLowerType(Expression* e, AstType* t) {
+ bounds_->set(e, AstBounds::NarrowLower(bounds_->get(e), t, zone()));
}
Effects EnterEffects() {
« no previous file with comments | « src/crankshaft/hydrogen-types.cc ('k') | src/crankshaft/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698