| Index: src/typing.h
|
| diff --git a/src/typing.h b/src/typing.h
|
| index a111ae5fd1594d14868ba2db80df27a34e2caf1e..8c2fc050c447f42d256e08b4e1952ddfd2108d62 100644
|
| --- a/src/typing.h
|
| +++ b/src/typing.h
|
| @@ -58,6 +58,10 @@ class AstTyper: public AstVisitor {
|
| private:
|
| explicit AstTyper(CompilationInfo* info);
|
|
|
| + Handle<Type> ObserveType(Object* value);
|
| + void ObserveTypesOnStack();
|
| + Handle<Type> GetObservedType(Variable* var);
|
| +
|
| static const int kNoVar = INT_MIN;
|
| typedef v8::internal::Effects<int, kNoVar> Effects;
|
| typedef v8::internal::NestedEffects<int, kNoVar> Store;
|
| @@ -65,6 +69,8 @@ class AstTyper: public AstVisitor {
|
| CompilationInfo* info_;
|
| TypeFeedbackOracle oracle_;
|
| Store store_;
|
| + ZoneList<Handle<Type> >* parameter_types_;
|
| + ZoneList<Handle<Type> >* stack_local_types_;
|
|
|
| TypeFeedbackOracle* oracle() { return &oracle_; }
|
| Zone* zone() const { return info_->zone(); }
|
|
|