Changeset e01eb4a for src/GenPoly
- Timestamp:
- Sep 22, 2022, 2:23:18 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 5d8dae7
- Parents:
- 0bd46fd
- Location:
- src/GenPoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/InstantiateGenericNew.cpp
r0bd46fd re01eb4a 23 23 #include "AST/Copy.hpp" // for deepCopy 24 24 #include "AST/Create.hpp" // for asForward 25 #include "AST/Inspect.hpp" // for getFunction 25 26 #include "AST/Pass.hpp" // for Pass, WithGuard, WithShortCi... 26 27 #include "AST/TranslationUnit.hpp" // for TranslationUnit … … 30 31 #include "GenPoly/GenPoly.h" // for isPolyType, typesPolyCompatible 31 32 #include "GenPoly/ScrubTyVars.h" // for scrubAll 32 #include "InitTweak/InitTweak.h" // for getFunction33 33 #include "ResolvExpr/typeops.h" // for typesCompatible 34 34 … … 294 294 ast::ApplicationExpr const * expr ) { 295 295 GuardValue( isLValueArg ) = false; 296 ast::Decl const * function = InitTweak::getFunction( expr );296 ast::Decl const * function = ast::getFunction( expr ); 297 297 if ( ast::Linkage::Intrinsic != function->linkage 298 298 || !CodeGen::isAssignment( function->name ) ) { -
src/GenPoly/SpecializeNew.cpp
r0bd46fd re01eb4a 16 16 #include "Specialize.h" 17 17 18 #include "AST/Pass.hpp" 18 #include "AST/Inspect.hpp" // for isIntrinsicCallExpr 19 #include "AST/Pass.hpp" // for Pass 19 20 #include "AST/TypeEnvironment.hpp" // for OpenVarSet, AssertionSet 20 21 #include "Common/UniqueName.h" // for UniqueName 21 22 #include "GenPoly/GenPoly.h" // for getFunctionType 22 #include "InitTweak/InitTweak.h" // for isIntrinsicCallExpr23 23 #include "ResolvExpr/FindOpenVars.h" // for findOpenVars 24 24 #include "ResolvExpr/TypeEnvironment.h" // for FirstOpen, FirstClosed 25 26 #include "AST/Print.hpp"27 25 28 26 namespace GenPoly { … … 425 423 const ast::Expr * SpecializeCore::postvisit( 426 424 const ast::ApplicationExpr * expr ) { 427 if ( InitTweak::isIntrinsicCallExpr( expr ) ) {425 if ( ast::isIntrinsicCallExpr( expr ) ) { 428 426 return expr; 429 427 }
Note: See TracChangeset
for help on using the changeset viewer.