| Index: src/typing.h
|
| diff --git a/src/typing.h b/src/typing.h
|
| index 6298e5a41b3d6824f45cc6879e408f48014ce9b0..117ec3d4554b3bc914f16cb536769e4be8a1496a 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(); }
|
|
|