Changes in src/main.cpp [c778ef1:b2ea0cd]
- File:
-
- 1 edited
-
src/main.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cpp
rc778ef1 rb2ea0cd 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // main.c pp--7 // main.cc -- 8 8 // 9 9 // Author : Peter Buhr and Rob Schluntz … … 35 35 #include "CompilationState.hpp" 36 36 #include "../config.h" // for CFA_LIBDIR 37 #include "CodeGen/FixMain.h pp"// for FixMain38 #include "CodeGen/FixNames.h pp"// for fixNames39 #include "CodeGen/Generate.h pp"// for generate40 #include "CodeGen/LinkOnce.h pp"// for translateLinkOnce37 #include "CodeGen/FixMain.h" // for FixMain 38 #include "CodeGen/FixNames.h" // for fixNames 39 #include "CodeGen/Generate.h" // for generate 40 #include "CodeGen/LinkOnce.h" // for translateLinkOnce 41 41 #include "Common/CodeLocationTools.hpp" // for forceFillCodeLocations 42 42 #include "Common/DeclStats.hpp" // for printDeclStats 43 43 #include "Common/ResolvProtoDump.hpp" // for dumpAsResolverProto 44 #include "Common/Stats.h pp"// for Stats45 #include "Common/ Utility.hpp"// for deleteAll, filter, printAll44 #include "Common/Stats.h" // for Stats 45 #include "Common/utility.h" // for deleteAll, filter, printAll 46 46 #include "Concurrency/Actors.hpp" // for implementActors 47 47 #include "Concurrency/Corun.hpp" // for implementCorun 48 #include "Concurrency/Keywords.h pp"// for implementMutex, implement...49 #include "Concurrency/Waitfor.h pp"// for generateWaitfor48 #include "Concurrency/Keywords.h" // for implementMutex, implement... 49 #include "Concurrency/Waitfor.h" // for generateWaitfor 50 50 #include "Concurrency/Waituntil.hpp" // for generateWaitUntil 51 #include "ControlStruct/ExceptDecl.h pp"// for translateExcept52 #include "ControlStruct/ExceptTranslate.h pp"// for translateThrows, translat...51 #include "ControlStruct/ExceptDecl.h" // for translateExcept 52 #include "ControlStruct/ExceptTranslate.h" // for translateThrows, translat... 53 53 #include "ControlStruct/FixLabels.hpp" // for fixLabels 54 54 #include "ControlStruct/HoistControlDecls.hpp" // hoistControlDecls 55 #include "GenPoly/Box.h pp"// for box56 #include "GenPoly/InstantiateGeneric.h pp"// for instantiateGeneric57 #include "GenPoly/Lvalue.h pp"// for convertLvalue58 #include "GenPoly/Specialize.h pp"// for convertSpecializations59 #include "InitTweak/FixInit.h pp"// for fix60 #include "InitTweak/GenInit.h pp"// for genInit55 #include "GenPoly/Box.h" // for box 56 #include "GenPoly/InstantiateGeneric.h" // for instantiateGeneric 57 #include "GenPoly/Lvalue.h" // for convertLvalue 58 #include "GenPoly/Specialize.h" // for convertSpecializations 59 #include "InitTweak/FixInit.h" // for fix 60 #include "InitTweak/GenInit.h" // for genInit 61 61 #include "MakeLibCfa.hpp" // for makeLibCfa 62 62 #include "Parser/RunParser.hpp" // for buildList, dumpParseTree,... 63 63 #include "ResolvExpr/CandidatePrinter.hpp" // for printCandidates 64 64 #include "ResolvExpr/EraseWith.hpp" // for eraseWith 65 #include "ResolvExpr/Resolver.h pp"// for resolve66 #include "Tuples/Tuples.h pp"// for expandMemberTuples, expan...65 #include "ResolvExpr/Resolver.h" // for resolve 66 #include "Tuples/Tuples.h" // for expandMemberTuples, expan... 67 67 #include "Validate/Autogen.hpp" // for autogenerateRoutines 68 #include "Validate/ImplementEnumFunc.hpp" // for implementEnumFunc 68 69 #include "Validate/CompoundLiteral.hpp" // for handleCompoundLiterals 69 70 #include "Validate/EliminateTypedef.hpp" // for eliminateTypedef 70 71 #include "Validate/EnumAndPointerDecay.hpp" // for decayEnumsAndPointers 71 #include "Validate/FindSpecialDecls.h pp"// for findGlobalDecls72 #include "Validate/FindSpecialDecls.h" // for findGlobalDecls 72 73 #include "Validate/FixQualifiedTypes.hpp" // for fixQualifiedTypes 73 74 #include "Validate/FixReturnTypes.hpp" // for fixReturnTypes … … 76 77 #include "Validate/HoistStruct.hpp" // for hoistStruct 77 78 #include "Validate/HoistTypeDecls.hpp" // for hoistTypeDecls 78 #include "Validate/ImplementEnumFunc.hpp" // for implementEnumFunc79 79 #include "Validate/InitializerLength.hpp" // for setLengthFromInitializer 80 80 #include "Validate/LabelAddressFixer.hpp" // for fixLabelAddresses … … 83 83 #include "Validate/ReturnCheck.hpp" // for checkReturnStatements 84 84 #include "Validate/VerifyCtorDtorAssign.hpp" // for verifyCtorDtorAssign 85 #include "Virtual/ExpandCasts.hpp" // for expandCasts 85 #include "Validate/ReplacePseudoFunc.hpp" // for replacePseudoFunc 86 #include "Virtual/ExpandCasts.h" // for expandCasts 86 87 #include "Virtual/VirtualDtor.hpp" // for implementVirtDtors 87 88 … … 382 383 PASS( "Resolve", ResolvExpr::resolve, transUnit ); 383 384 DUMP( exprp, std::move( transUnit ) ); 385 PASS( "Replace Pseudo Func", Validate::replacePseudoFunc, transUnit ); 384 386 PASS( "Fix Init", InitTweak::fix, transUnit, buildingLibrary() ); // Here 385 387 PASS( "Erase With", ResolvExpr::eraseWith, transUnit );
Note:
See TracChangeset
for help on using the changeset viewer.