Changes in src/ResolvExpr/Unify.h [ee574a2:d286cf68]
- File:
-
- 1 edited
-
src/ResolvExpr/Unify.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Unify.h
ree574a2 rd286cf68 18 18 #include <list> // for list 19 19 20 #include "AST/Node.hpp" // for ptr21 #include "AST/TypeEnvironment.hpp" // for TypeEnvironment, AssertionSet, OpenVarSet22 20 #include "Common/utility.h" // for deleteAll 23 21 #include "SynTree/Declaration.h" // for TypeDecl, TypeDecl::Data 24 22 #include "TypeEnvironment.h" // for AssertionSet, OpenVarSet 25 #include "WidenMode.h" // for WidenMode23 #include "WidenMode.h" // for WidenMode 26 24 27 25 class Type; 28 26 class TypeInstType; 29 27 namespace SymTab { 30 class Indexer; 31 } 32 33 namespace ast { 34 class SymbolTable; 35 class Type; 36 } 28 class Indexer; 29 } // namespace SymTab 37 30 38 31 namespace ResolvExpr { … … 40 33 bool unify( Type *type1, Type *type2, TypeEnvironment &env, AssertionSet &needAssertions, AssertionSet &haveAssertions, OpenVarSet &openVars, const SymTab::Indexer &indexer, Type *&commonType ); 41 34 bool unifyExact( Type *type1, Type *type2, TypeEnvironment &env, AssertionSet &needAssertions, AssertionSet &haveAssertions, OpenVarSet &openVars, const SymTab::Indexer &indexer ); 42 bool unifyInexact( Type *type1, Type *type2, TypeEnvironment &env, AssertionSet &needAssertions, AssertionSet &haveAssertions, const OpenVarSet &openVars, WidenMode widen , const SymTab::Indexer &indexer, Type *&common );35 bool unifyInexact( Type *type1, Type *type2, TypeEnvironment &env, AssertionSet &needAssertions, AssertionSet &haveAssertions, const OpenVarSet &openVars, WidenMode widenMode, const SymTab::Indexer &indexer, Type *&common ); 43 36 44 37 template< typename Iterator1, typename Iterator2 > … … 69 62 } 70 63 71 bool unify(72 const ast::ptr<ast::Type> & type1, const ast::ptr<ast::Type> & type2,73 ast::TypeEnvironment & env, ast::AssertionSet & need, ast::AssertionSet & have,74 ast::OpenVarSet & open, const ast::SymbolTable & symtab, ast::ptr<ast::Type> & common );75 76 bool unifyExact(77 const ast::Type * type1, const ast::Type * type2, ast::TypeEnvironment & env,78 ast::AssertionSet & need, ast::AssertionSet & have, const ast::OpenVarSet & open,79 WidenMode widen, const ast::SymbolTable & symtab );80 81 bool unifyInexact(82 const ast::ptr<ast::Type> & type1, const ast::ptr<ast::Type> & type2,83 ast::TypeEnvironment & env, ast::AssertionSet & need, ast::AssertionSet & have,84 const ast::OpenVarSet & open, WidenMode widen, const ast::SymbolTable & symtab,85 ast::ptr<ast::Type> & common );86 87 64 } // namespace ResolvExpr 88 65
Note:
See TracChangeset
for help on using the changeset viewer.