Changeset df6cc9d for src/Common
- Timestamp:
- Oct 19, 2022, 4:43:26 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 1a45263
- Parents:
- 9cd5bd2 (diff), 135143ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/Common
- Files:
-
- 2 edited
-
Eval.cc (modified) (2 diffs)
-
PassVisitor.impl.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Eval.cc
r9cd5bd2 rdf6cc9d 16 16 #include <utility> // for pair 17 17 18 #include "AST/Inspect.hpp" 18 19 #include "Common/PassVisitor.h" 19 20 #include "CodeGen/OperatorTable.h" // access: OperatorInfo … … 177 178 178 179 void postvisit( const ast::ApplicationExpr * expr ) { 179 const ast::DeclWithType * function = InitTweak::getFunction(expr);180 const ast::DeclWithType * function = ast::getFunction(expr); 180 181 if ( ! function || function->linkage != ast::Linkage::Intrinsic ) { valid = false; return; } 181 182 const std::string & fname = function->name; -
src/Common/PassVisitor.impl.h
r9cd5bd2 rdf6cc9d 1934 1934 indexerScopedAccept( node->result, *this ); 1935 1935 maybeAccept_impl( node->type_decl, *this ); 1936 maybeAccept_impl( node->var, *this );1937 1936 1938 1937 VISIT_END( node ); … … 1945 1944 indexerScopedAccept( node->result, *this ); 1946 1945 maybeAccept_impl( node->type_decl, *this ); 1947 maybeAccept_impl( node->var, *this );1948 1946 1949 1947 VISIT_END( node ); … … 1957 1955 indexerScopedMutate( node->result, *this ); 1958 1956 maybeMutate_impl( node->type_decl, *this ); 1959 maybeAccept_impl( node->var, *this );1960 1957 1961 1958 MUTATE_END( Expression, node );
Note:
See TracChangeset
for help on using the changeset viewer.