Index: src/typing.h |
diff --git a/src/typing.h b/src/typing.h |
index ec9132f161e9bbf808ab99e675bef7258f3ef3f2..0517812ec3061e9aed31c21019e81d504c48e1d0 100644 |
--- a/src/typing.h |
+++ b/src/typing.h |
@@ -70,13 +70,12 @@ class AstTyper: public AstVisitor { |
Store store_; |
TypeFeedbackOracle* oracle() { return &oracle_; } |
- Zone* zone() const { return info_->zone(); } |
void NarrowType(Expression* e, Bounds b) { |
- e->set_bounds(Bounds::Both(e->bounds(), b, isolate_)); |
+ e->set_bounds(Bounds::Both(e->bounds(), b, zone())); |
} |
- void NarrowLowerType(Expression* e, Handle<Type> t) { |
- e->set_bounds(Bounds::NarrowLower(e->bounds(), t, isolate_)); |
+ void NarrowLowerType(Expression* e, Type* t) { |
+ e->set_bounds(Bounds::NarrowLower(e->bounds(), t, zone())); |
} |
Effects EnterEffects() { |