- Timestamp:
- Nov 14, 2023, 12:19:09 PM (2 years ago)
- Branches:
- master
- Children:
- 1ccae59, 89a8bab
- Parents:
- df8ba61a (diff), 5625427 (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/AST
- Files:
-
- 2 deleted
- 5 edited
-
Convert.cpp (deleted)
-
Convert.hpp (deleted)
-
Decl.cpp (modified) (3 diffs)
-
SymbolTable.cpp (modified) (1 diff)
-
SymbolTable.hpp (modified) (1 diff)
-
Type.hpp (modified) (1 diff)
-
module.mk (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.cpp
rdf8ba61a r8d182b1 20 20 #include <unordered_map> 21 21 22 #include "CodeGen/FixMain.h" // for FixMain23 22 #include "Common/Eval.h" // for eval 24 23 … … 76 75 } 77 76 this->type = ftype; 78 // Hack forcing the function "main" to have Cforall linkage to replace79 // main even if it is inside an extern "C", and also makes sure the80 // replacing function is always a C function.81 if ( name == "main" ) {82 this->linkage = CodeGen::FixMain::getMainLinkage();83 }84 77 } 85 78 … … 108 101 } 109 102 this->type = type; 110 // See note above about this hack.111 if ( name == "main" ) {112 this->linkage = CodeGen::FixMain::getMainLinkage();113 }114 103 } 115 104 -
src/AST/SymbolTable.cpp
rdf8ba61a r8d182b1 39 39 static inline auto stats() { 40 40 using namespace Stats::Counters; 41 static auto group = build<CounterGroup>(" Indexers");41 static auto group = build<CounterGroup>("Symbol Tables"); 42 42 static struct { 43 43 SimpleCounter * count; -
src/AST/SymbolTable.hpp
rdf8ba61a r8d182b1 88 88 using Ptr = std::shared_ptr<const SymbolTable>; 89 89 90 Ptr prevScope; ///< Indexerfor parent scope90 Ptr prevScope; ///< Symbol Table for parent scope 91 91 unsigned long scope; ///< Scope index of this indexer 92 92 unsigned long repScope; ///< Scope index of currently represented scope -
src/AST/Type.hpp
rdf8ba61a r8d182b1 34 34 35 35 namespace ast { 36 37 template< typename T > class Pass;38 36 39 37 class Type : public Node { -
src/AST/module.mk
rdf8ba61a r8d182b1 20 20 AST/Bitfield.hpp \ 21 21 AST/Chain.hpp \ 22 AST/Convert.cpp \23 AST/Convert.hpp \24 22 AST/Copy.cpp \ 25 23 AST/Copy.hpp \
Note:
See TracChangeset
for help on using the changeset viewer.