Changes in / [b751c8e:b227f68]
- Files:
-
- 3 added
- 20 deleted
- 27 edited
-
.gitignore (modified) (2 diffs)
-
configure (modified) (2 diffs)
-
configure.ac (modified) (1 diff)
-
doc/proposals/associated_types.md (deleted)
-
src/CodeGen/FixNames.cc (modified) (2 diffs)
-
src/Makefile.in (modified) (6 diffs)
-
src/Parser/DeclarationNode.cc (modified) (2 diffs)
-
src/Parser/ExpressionNode.cc (modified) (2 diffs)
-
src/Parser/LinkageSpec.cc (modified) (6 diffs)
-
src/Parser/LinkageSpec.h (modified) (3 diffs)
-
src/Parser/StatementNode.cc (modified) (2 diffs)
-
src/Parser/TypeData.cc (modified) (6 diffs)
-
src/Parser/TypeData.h (modified) (2 diffs)
-
src/Parser/TypedefTable.h (modified) (2 diffs)
-
src/Parser/lex.h (added)
-
src/Parser/lex.ll (modified) (2 diffs)
-
src/Parser/module.mk (modified) (2 diffs)
-
src/Parser/parser.hh (deleted)
-
src/Parser/parser.yy (modified) (5 diffs)
-
src/Parser/parserutility.cc (deleted)
-
src/Parser/parserutility.h (deleted)
-
src/Parser/parseutility.cc (added)
-
src/Parser/parseutility.h (added)
-
src/SymTab/Autogen.cc (modified) (2 diffs)
-
src/SymTab/Mangler.cc (modified) (2 diffs)
-
src/SynTree/AggregateDecl.cc (modified) (2 diffs)
-
src/SynTree/Declaration.h (modified) (5 diffs)
-
src/libcfa/Makefile.am (modified) (3 diffs)
-
src/libcfa/Makefile.in (modified) (2 diffs)
-
src/libcfa/exception.c (deleted)
-
src/libcfa/exception.h (deleted)
-
src/main.cc (modified) (4 diffs)
-
src/prelude/Makefile.am (modified) (3 diffs)
-
src/prelude/Makefile.in (modified) (5 diffs)
-
src/prelude/builtins.c (deleted)
-
src/tests/preempt_longrun/Makefile.am (modified) (1 diff)
-
src/tests/preempt_longrun/Makefile.in (modified) (1 diff)
-
tools/prettyprinter/Makefile.am (deleted)
-
tools/prettyprinter/Makefile.in (deleted)
-
tools/prettyprinter/filter.cc (deleted)
-
tools/prettyprinter/filter.h (deleted)
-
tools/prettyprinter/lex.ll (deleted)
-
tools/prettyprinter/main.cc (deleted)
-
tools/prettyprinter/parser.hh (deleted)
-
tools/prettyprinter/parser.yy (deleted)
-
tools/prettyprinter/test.tex (deleted)
-
tools/prettyprinter/test.y (deleted)
-
tools/prettyprinter/test1.y (deleted)
-
tools/prettyprinter/token.cc (deleted)
-
tools/prettyprinter/token.h (deleted)
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rb751c8e rb227f68 31 31 32 32 src/prelude/builtins.cf 33 src/prelude/gcc-builtins.cf 34 src/prelude/gcc-builtins.c 33 src/prelude/builtins.c 35 34 src/prelude/extras.cf 36 35 src/prelude/bootloader.c 37 36 src/libcfa/libcfa-prelude.c 38 37 39 # generated by bison and lex from parser.yy and lex.ll38 # generated by bison and lex from cfa.yy and lex.ll, respectively 40 39 src/Parser/parser.output 41 40 src/Parser/lex.cc … … 43 42 src/Parser/parser.h 44 43 45 tools/prettyprinter/parser.output46 tools/prettyprinter/lex.cc47 tools/prettyprinter/parser.cc48 tools/prettyprinter/parser.h49 tools/prettyprinter/pretty50 tools/pretty51 52 44 # generated by xfig for user manual 53 45 doc/user/Cdecl.tex -
configure
rb751c8e rb227f68 6251 6251 6252 6252 6253 ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/benchmark/Makefile src/examples/Makefile src/tests/Makefile src/tests/preempt_longrun/Makefile src/prelude/Makefile src/libcfa/Makefile tools/prettyprinter/Makefile"6253 ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/benchmark/Makefile src/examples/Makefile src/tests/Makefile src/tests/preempt_longrun/Makefile src/prelude/Makefile src/libcfa/Makefile" 6254 6254 6255 6255 … … 7022 7022 "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;; 7023 7023 "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;; 7024 "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;;7025 7024 7026 7025 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; -
configure.ac
rb751c8e rb227f68 238 238 src/prelude/Makefile 239 239 src/libcfa/Makefile 240 tools/prettyprinter/Makefile241 240 ]) 242 241 -
src/CodeGen/FixNames.cc
rb751c8e rb227f68 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 2 8 15:26:00201713 // Update Count : 2011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 21 14:22:59 2017 13 // Update Count : 19 14 14 // 15 15 … … 93 93 void FixNames::fixDWT( DeclarationWithType *dwt ) { 94 94 if ( dwt->get_name() != "" ) { 95 if ( LinkageSpec::is Mangled( dwt->get_linkage() ) ) {95 if ( LinkageSpec::isDecoratable( dwt->get_linkage() ) ) { 96 96 dwt->set_mangleName( SymTab::Mangler::mangle( dwt ) ); 97 97 dwt->set_scopeLevel( scopeLevel ); -
src/Makefile.in
rb751c8e rb227f68 143 143 Parser/driver_cfa_cpp-TypeData.$(OBJEXT) \ 144 144 Parser/driver_cfa_cpp-LinkageSpec.$(OBJEXT) \ 145 Parser/driver_cfa_cpp-parse rutility.$(OBJEXT) \145 Parser/driver_cfa_cpp-parseutility.$(OBJEXT) \ 146 146 ResolvExpr/driver_cfa_cpp-AlternativeFinder.$(OBJEXT) \ 147 147 ResolvExpr/driver_cfa_cpp-Alternative.$(OBJEXT) \ … … 405 405 Parser/ExpressionNode.cc Parser/StatementNode.cc \ 406 406 Parser/InitializerNode.cc Parser/TypeData.cc \ 407 Parser/LinkageSpec.cc Parser/parse rutility.cc \407 Parser/LinkageSpec.cc Parser/parseutility.cc \ 408 408 ResolvExpr/AlternativeFinder.cc ResolvExpr/Alternative.cc \ 409 409 ResolvExpr/Unify.cc ResolvExpr/PtrsAssignable.cc \ … … 663 663 Parser/driver_cfa_cpp-LinkageSpec.$(OBJEXT): Parser/$(am__dirstamp) \ 664 664 Parser/$(DEPDIR)/$(am__dirstamp) 665 Parser/driver_cfa_cpp-parse rutility.$(OBJEXT): Parser/$(am__dirstamp) \665 Parser/driver_cfa_cpp-parseutility.$(OBJEXT): Parser/$(am__dirstamp) \ 666 666 Parser/$(DEPDIR)/$(am__dirstamp) 667 667 ResolvExpr/$(am__dirstamp): … … 882 882 -rm -f Parser/driver_cfa_cpp-lex.$(OBJEXT) 883 883 -rm -f Parser/driver_cfa_cpp-parser.$(OBJEXT) 884 -rm -f Parser/driver_cfa_cpp-parse rutility.$(OBJEXT)884 -rm -f Parser/driver_cfa_cpp-parseutility.$(OBJEXT) 885 885 -rm -f ResolvExpr/driver_cfa_cpp-AdjustExprType.$(OBJEXT) 886 886 -rm -f ResolvExpr/driver_cfa_cpp-Alternative.$(OBJEXT) … … 994 994 @AMDEP_TRUE@@am__include@ @am__quote@Parser/$(DEPDIR)/driver_cfa_cpp-lex.Po@am__quote@ 995 995 @AMDEP_TRUE@@am__include@ @am__quote@Parser/$(DEPDIR)/driver_cfa_cpp-parser.Po@am__quote@ 996 @AMDEP_TRUE@@am__include@ @am__quote@Parser/$(DEPDIR)/driver_cfa_cpp-parse rutility.Po@am__quote@996 @AMDEP_TRUE@@am__include@ @am__quote@Parser/$(DEPDIR)/driver_cfa_cpp-parseutility.Po@am__quote@ 997 997 @AMDEP_TRUE@@am__include@ @am__quote@ResolvExpr/$(DEPDIR)/driver_cfa_cpp-AdjustExprType.Po@am__quote@ 998 998 @AMDEP_TRUE@@am__include@ @am__quote@ResolvExpr/$(DEPDIR)/driver_cfa_cpp-Alternative.Po@am__quote@ … … 1691 1691 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -c -o Parser/driver_cfa_cpp-LinkageSpec.obj `if test -f 'Parser/LinkageSpec.cc'; then $(CYGPATH_W) 'Parser/LinkageSpec.cc'; else $(CYGPATH_W) '$(srcdir)/Parser/LinkageSpec.cc'; fi` 1692 1692 1693 Parser/driver_cfa_cpp-parse rutility.o: Parser/parserutility.cc1694 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -MT Parser/driver_cfa_cpp-parse rutility.o -MD -MP -MF Parser/$(DEPDIR)/driver_cfa_cpp-parserutility.Tpo -c -o Parser/driver_cfa_cpp-parserutility.o `test -f 'Parser/parserutility.cc' || echo '$(srcdir)/'`Parser/parserutility.cc1695 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) Parser/$(DEPDIR)/driver_cfa_cpp-parse rutility.Tpo Parser/$(DEPDIR)/driver_cfa_cpp-parserutility.Po1696 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='Parser/parse rutility.cc' object='Parser/driver_cfa_cpp-parserutility.o' libtool=no @AMDEPBACKSLASH@1697 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1698 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -c -o Parser/driver_cfa_cpp-parse rutility.o `test -f 'Parser/parserutility.cc' || echo '$(srcdir)/'`Parser/parserutility.cc1699 1700 Parser/driver_cfa_cpp-parse rutility.obj: Parser/parserutility.cc1701 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -MT Parser/driver_cfa_cpp-parse rutility.obj -MD -MP -MF Parser/$(DEPDIR)/driver_cfa_cpp-parserutility.Tpo -c -o Parser/driver_cfa_cpp-parserutility.obj `if test -f 'Parser/parserutility.cc'; then $(CYGPATH_W) 'Parser/parserutility.cc'; else $(CYGPATH_W) '$(srcdir)/Parser/parserutility.cc'; fi`1702 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) Parser/$(DEPDIR)/driver_cfa_cpp-parse rutility.Tpo Parser/$(DEPDIR)/driver_cfa_cpp-parserutility.Po1703 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='Parser/parse rutility.cc' object='Parser/driver_cfa_cpp-parserutility.obj' libtool=no @AMDEPBACKSLASH@1704 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1705 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -c -o Parser/driver_cfa_cpp-parse rutility.obj `if test -f 'Parser/parserutility.cc'; then $(CYGPATH_W) 'Parser/parserutility.cc'; else $(CYGPATH_W) '$(srcdir)/Parser/parserutility.cc'; fi`1693 Parser/driver_cfa_cpp-parseutility.o: Parser/parseutility.cc 1694 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -MT Parser/driver_cfa_cpp-parseutility.o -MD -MP -MF Parser/$(DEPDIR)/driver_cfa_cpp-parseutility.Tpo -c -o Parser/driver_cfa_cpp-parseutility.o `test -f 'Parser/parseutility.cc' || echo '$(srcdir)/'`Parser/parseutility.cc 1695 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) Parser/$(DEPDIR)/driver_cfa_cpp-parseutility.Tpo Parser/$(DEPDIR)/driver_cfa_cpp-parseutility.Po 1696 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='Parser/parseutility.cc' object='Parser/driver_cfa_cpp-parseutility.o' libtool=no @AMDEPBACKSLASH@ 1697 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1698 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -c -o Parser/driver_cfa_cpp-parseutility.o `test -f 'Parser/parseutility.cc' || echo '$(srcdir)/'`Parser/parseutility.cc 1699 1700 Parser/driver_cfa_cpp-parseutility.obj: Parser/parseutility.cc 1701 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -MT Parser/driver_cfa_cpp-parseutility.obj -MD -MP -MF Parser/$(DEPDIR)/driver_cfa_cpp-parseutility.Tpo -c -o Parser/driver_cfa_cpp-parseutility.obj `if test -f 'Parser/parseutility.cc'; then $(CYGPATH_W) 'Parser/parseutility.cc'; else $(CYGPATH_W) '$(srcdir)/Parser/parseutility.cc'; fi` 1702 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) Parser/$(DEPDIR)/driver_cfa_cpp-parseutility.Tpo Parser/$(DEPDIR)/driver_cfa_cpp-parseutility.Po 1703 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='Parser/parseutility.cc' object='Parser/driver_cfa_cpp-parseutility.obj' libtool=no @AMDEPBACKSLASH@ 1704 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1705 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(driver_cfa_cpp_CXXFLAGS) $(CXXFLAGS) -c -o Parser/driver_cfa_cpp-parseutility.obj `if test -f 'Parser/parseutility.cc'; then $(CYGPATH_W) 'Parser/parseutility.cc'; else $(CYGPATH_W) '$(srcdir)/Parser/parseutility.cc'; fi` 1706 1706 1707 1707 ResolvExpr/driver_cfa_cpp-AlternativeFinder.o: ResolvExpr/AlternativeFinder.cc -
src/Parser/DeclarationNode.cc
rb751c8e rb227f68 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 12:34:05 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 28 15:27:00201713 // Update Count : 101 911 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 17 15:46:33 2017 13 // Update Count : 1018 14 14 // 15 15 … … 1063 1063 case TypeData::Enum: 1064 1064 case TypeData::Aggregate: { 1065 ReferenceToType * ret = buildComAggInst( type, attributes , linkage);1065 ReferenceToType * ret = buildComAggInst( type, attributes ); 1066 1066 buildList( type->aggregate.actuals, ret->get_parameters() ); 1067 1067 return ret; -
src/Parser/ExpressionNode.cc
rb751c8e rb227f68 10 10 // Created On : Sat May 16 13:17:07 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 2 8 21:08:15201713 // Update Count : 54 212 // Last Modified On : Wed Jun 21 16:44:46 2017 13 // Update Count : 541 14 14 // 15 15 … … 27 27 #include "SynTree/Declaration.h" 28 28 #include "Common/UnimplementedError.h" 29 #include "parse rutility.h"29 #include "parseutility.h" 30 30 #include "Common/utility.h" 31 31 -
src/Parser/LinkageSpec.cc
rb751c8e rb227f68 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 13:22:09 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 28 11:51:00 201713 // Update Count : 2 411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Oct 2 23:16:21 2016 13 // Update Count : 23 14 14 // 15 15 … … 28 28 } else if ( *spec == "\"C\"" ) { 29 29 return C; 30 } else if ( *spec == "\"BuiltinC\"" ) {31 return BuiltinC;32 30 } else { 33 31 throw SemanticError( "Invalid linkage specifier " + *spec ); … … 38 36 assert( 0 <= linkage && linkage < LinkageSpec::NoOfSpecs ); 39 37 static const char *linkageKinds[LinkageSpec::NoOfSpecs] = { 40 "intrinsic", "Cforall", "C", "automatically generated", "compiler built-in", "cfa built-in", "c built-in",38 "intrinsic", "Cforall", "C", "automatically generated", "compiler built-in", 41 39 }; 42 40 return linkageKinds[linkage]; 43 41 } 44 42 45 bool LinkageSpec::is Mangled( Spec spec ) {43 bool LinkageSpec::isDecoratable( Spec spec ) { 46 44 assert( 0 <= spec && spec < LinkageSpec::NoOfSpecs ); 47 45 static bool decoratable[LinkageSpec::NoOfSpecs] = { 48 // Intrinsic, Cforall, C, AutoGen, Compiler ,46 // Intrinsic, Cforall, C, AutoGen, Compiler 49 47 true, true, false, true, false, 50 // Builtin, BuiltinC,51 true, false,52 48 }; 53 49 return decoratable[spec]; … … 57 53 assert( 0 <= spec && spec < LinkageSpec::NoOfSpecs ); 58 54 static bool generatable[LinkageSpec::NoOfSpecs] = { 59 // Intrinsic, Cforall, C, AutoGen, Compiler ,55 // Intrinsic, Cforall, C, AutoGen, Compiler 60 56 true, true, true, true, false, 61 // Builtin, BuiltinC,62 true, true,63 57 }; 64 58 return generatable[spec]; … … 68 62 assert( spec >= 0 && spec < LinkageSpec::NoOfSpecs ); 69 63 static bool overridable[LinkageSpec::NoOfSpecs] = { 70 // Intrinsic, Cforall, C, AutoGen, Compiler ,64 // Intrinsic, Cforall, C, AutoGen, Compiler 71 65 true, false, false, true, false, 72 // Builtin, BuiltinC,73 false, false,74 66 }; 75 67 return overridable[spec]; … … 79 71 assert( spec >= 0 && spec < LinkageSpec::NoOfSpecs ); 80 72 static bool builtin[LinkageSpec::NoOfSpecs] = { 81 // Intrinsic, Cforall, C, AutoGen, Compiler ,73 // Intrinsic, Cforall, C, AutoGen, Compiler 82 74 true, false, false, false, true, 83 // Builtin, BuiltinC,84 true, true,85 75 }; 86 76 return builtin[spec]; -
src/Parser/LinkageSpec.h
rb751c8e rb227f68 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 13:24:28 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 28 11:50:00 201713 // Update Count : 1 211 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Oct 1 23:03:17 2016 13 // Update Count : 11 14 14 // 15 15 … … 26 26 AutoGen, // built by translator (struct assignment) 27 27 Compiler, // gcc internal 28 Builtin, // mangled builtins29 BuiltinC, // non-mangled builtins30 28 NoOfSpecs 31 29 }; … … 34 32 static std::string linkageName( Spec ); 35 33 36 static bool is Mangled( Spec );34 static bool isDecoratable( Spec ); 37 35 static bool isGeneratable( Spec ); 38 36 static bool isOverridable( Spec ); -
src/Parser/StatementNode.cc
rb751c8e rb227f68 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 14:59:41 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Wed Jun 28 21:08:37201713 // Update Count : 3 3011 // Last Modified By : Andrew Beach 12 // Last Modified On : Mon Jun 12 13:03:00 2017 13 // Update Count : 329 14 14 // 15 15 … … 21 21 #include "SynTree/Statement.h" 22 22 #include "SynTree/Expression.h" 23 #include "parse rutility.h"23 #include "parseutility.h" 24 24 #include "Common/utility.h" 25 25 -
src/Parser/TypeData.cc
rb751c8e rb227f68 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 15:12:51 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 28 15:28:00201713 // Update Count : 56 411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 17 15:52:43 2017 13 // Update Count : 563 14 14 // 15 15 … … 614 614 } // buildPointer 615 615 616 AggregateDecl * buildAggregate( const TypeData * td, std::list< Attribute * > attributes , LinkageSpec::Spec linkage) {616 AggregateDecl * buildAggregate( const TypeData * td, std::list< Attribute * > attributes ) { 617 617 assert( td->kind == TypeData::Aggregate ); 618 618 AggregateDecl * at; … … 622 622 case DeclarationNode::Monitor: 623 623 case DeclarationNode::Thread: 624 at = new StructDecl( *td->aggregate.name, td->aggregate.kind, attributes , linkage);624 at = new StructDecl( *td->aggregate.name, td->aggregate.kind, attributes ); 625 625 buildForall( td->aggregate.params, at->get_parameters() ); 626 626 break; … … 643 643 } // buildAggregate 644 644 645 ReferenceToType * buildComAggInst( const TypeData * type, std::list< Attribute * > attributes , LinkageSpec::Spec linkage) {645 ReferenceToType * buildComAggInst( const TypeData * type, std::list< Attribute * > attributes ) { 646 646 switch ( type->kind ) { 647 647 case TypeData::Enum: { … … 656 656 ReferenceToType * ret; 657 657 if ( type->aggregate.body ) { 658 AggregateDecl * typedecl = buildAggregate( type, attributes , linkage);658 AggregateDecl * typedecl = buildAggregate( type, attributes ); 659 659 switch ( type->aggregate.kind ) { 660 660 case DeclarationNode::Struct: … … 802 802 return decl->set_asmName( asmName ); 803 803 } else if ( td->kind == TypeData::Aggregate ) { 804 return buildAggregate( td, attributes , linkage);804 return buildAggregate( td, attributes ); 805 805 } else if ( td->kind == TypeData::Enum ) { 806 806 return buildEnum( td, attributes ); -
src/Parser/TypeData.h
rb751c8e rb227f68 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 15:18:36 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 28 15:29:00201713 // Update Count : 18 611 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Mar 16 08:32:39 2017 13 // Update Count : 185 14 14 // 15 15 … … 102 102 ArrayType * buildArray( const TypeData * ); 103 103 AggregateDecl * buildAggregate( const TypeData *, std::list< Attribute * > ); 104 ReferenceToType * buildComAggInst( const TypeData *, std::list< Attribute * > attributes , LinkageSpec::Spec linkage);104 ReferenceToType * buildComAggInst( const TypeData *, std::list< Attribute * > attributes ); 105 105 ReferenceToType * buildAggInst( const TypeData * ); 106 106 TypeDecl * buildVariable( const TypeData * ); -
src/Parser/TypedefTable.h
rb751c8e rb227f68 10 10 // Created On : Sat May 16 15:24:36 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 28 21:56:34 201713 // Update Count : 3312 // Last Modified On : Mon Aug 15 18:25:04 2016 13 // Update Count : 28 14 14 // 15 15 … … 22 22 #include <stack> 23 23 24 #include " parser.hh"24 #include "lex.h" 25 25 #include "parser.h" 26 26 -
src/Parser/lex.ll
rb751c8e rb227f68 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Wed Jun 28 21:03:45201713 * Update Count : 52 912 * Last Modified On : Tue May 30 22:00:48 2017 13 * Update Count : 527 14 14 */ 15 15 … … 27 27 #include <cstdio> // FILENAME_MAX 28 28 29 #include "lex.h" 30 #include "parser.h" // YACC generated definitions based on C++ grammar 29 31 #include "ParseNode.h" 30 32 #include "TypedefTable.h" -
src/Parser/module.mk
rb751c8e rb227f68 11 11 ## Created On : Sat May 16 15:29:09 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Wed Jun 28 21:58:29 201714 ## Update Count : 10 413 ## Last Modified On : Tue Aug 16 17:28:34 2016 14 ## Update Count : 101 15 15 ############################################################################### 16 16 … … 29 29 Parser/TypeData.cc \ 30 30 Parser/LinkageSpec.cc \ 31 Parser/parse rutility.cc31 Parser/parseutility.cc 32 32 33 33 MAINTAINERCLEANFILES += Parser/parser.output -
src/Parser/parser.yy
rb751c8e rb227f68 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // parser.yy --7 // cfa.y -- 8 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 28 22:11:22201713 // Update Count : 24 1412 // Last Modified On : Mon Jun 12 12:59:00 2017 13 // Update Count : 2402 14 14 // 15 15 … … 48 48 #include <cstdio> 49 49 #include <stack> 50 #include "lex.h" 51 #include "parser.h" 50 52 #include "ParseNode.h" 51 53 #include "TypedefTable.h" … … 86 88 bool forall = false; // aggregate have one or more forall qualifiers ? 87 89 %} 88 89 // Types declaration90 %union91 {92 Token tok;93 ParseNode * pn;94 ExpressionNode * en;95 DeclarationNode * decl;96 DeclarationNode::Aggregate aggKey;97 DeclarationNode::TypeClass tclass;98 StatementNode * sn;99 ConstantExpr * constant;100 ForCtl * fctl;101 LabelNode * label;102 InitializerNode * in;103 OperKinds op;104 std::string * str;105 bool flag;106 }107 90 108 91 //************************* TERMINAL TOKENS ******************************** … … 156 139 157 140 %token ATassign // @= 141 142 // Types declaration 143 %union 144 { 145 Token tok; 146 ParseNode * pn; 147 ExpressionNode * en; 148 DeclarationNode * decl; 149 DeclarationNode::Aggregate aggKey; 150 DeclarationNode::TypeClass tclass; 151 StatementNode * sn; 152 ConstantExpr * constant; 153 ForCtl * fctl; 154 LabelNode * label; 155 InitializerNode * in; 156 OperKinds op; 157 std::string * str; 158 bool flag; 159 } 158 160 159 161 %type<tok> identifier no_attr_identifier zero_one … … 957 959 958 960 handler_clause: 959 // TEMPORARY, TEST EXCEPTIONS 960 CATCH '(' push push INTEGERconstant pop ')' compound_statement pop 961 { $$ = new StatementNode( build_catch( CatchStmt::Terminate, nullptr, new ExpressionNode( build_constantInteger( *$5 ) ), $8 ) ); } 962 | handler_clause CATCH '(' push push INTEGERconstant pop ')' compound_statement pop 963 { $$ = (StatementNode *)$1->set_last( new StatementNode( build_catch( CatchStmt::Terminate, nullptr, new ExpressionNode( build_constantInteger( *$6 ) ), $9 ) ) ); } 964 965 | CATCH '(' push push exception_declaration pop ')' compound_statement pop 961 CATCH '(' push push exception_declaration pop ')' compound_statement pop 966 962 { $$ = new StatementNode( build_catch( CatchStmt::Terminate, $5, nullptr, $8 ) ); } 967 963 | handler_clause CATCH '(' push push exception_declaration pop ')' compound_statement pop -
src/SymTab/Autogen.cc
rb751c8e rb227f68 9 9 // Author : Rob Schluntz 10 10 // Created On : Thu Mar 03 15:45:56 2016 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 28 15:30:00201713 // Update Count : 6 111 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 17 09:41:08 2017 13 // Update Count : 60 14 14 // 15 15 … … 400 400 /// generates struct constructors, destructor, and assignment functions 401 401 void makeStructFunctions( StructDecl *aggregateDecl, StructInstType *refType, unsigned int functionNesting, std::list< Declaration * > & declsToAdd, const std::vector< FuncData > & data ) { 402 // Builtins do not use autogeneration.403 if ( aggregateDecl->get_linkage() == LinkageSpec::Builtin ||404 aggregateDecl->get_linkage() == LinkageSpec::BuiltinC ) {405 return;406 }407 408 402 // Make function polymorphic in same parameters as generic struct, if applicable 409 403 const std::list< TypeDecl* > & typeParams = aggregateDecl->get_parameters(); // List of type variables to be placed on the generated functions -
src/SymTab/Mangler.cc
rb751c8e rb227f68 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 21:40:29 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jun 28 15:31:00201713 // Update Count : 2 111 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 17 09:40:01 2017 13 // Update Count : 20 14 14 // 15 15 … … 72 72 } else { 73 73 // if we add another kind of overridable function, this has to change 74 assert( false && "unknown overrideable linkage");74 assert( false ); 75 75 } // if 76 76 } -
src/SynTree/AggregateDecl.cc
rb751c8e rb227f68 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 23:56:39 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : T us Jun 27 15:30:00201713 // Update Count : 2 111 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Mar 16 07:49:07 2017 13 // Update Count : 20 14 14 // 15 15 … … 20 20 21 21 22 AggregateDecl::AggregateDecl( const std::string &name, const std::list< Attribute * > & attributes , LinkageSpec::Spec linkage ) : Parent( name, Type::StorageClasses(), linkage), body( false ), attributes( attributes ) {22 AggregateDecl::AggregateDecl( const std::string &name, const std::list< Attribute * > & attributes ) : Parent( name, Type::StorageClasses(), LinkageSpec::Cforall ), body( false ), attributes( attributes ) { 23 23 } 24 24 -
src/SynTree/Declaration.h
rb751c8e rb227f68 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Tus Jun 27 15:31:00201713 // Update Count : 12 211 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 17 16:05:08 2017 13 // Update Count : 121 14 14 // 15 15 … … 238 238 typedef Declaration Parent; 239 239 public: 240 AggregateDecl( const std::string &name, const std::list< Attribute * > & attributes = std::list< class Attribute * >() , LinkageSpec::Spec linkage = LinkageSpec::Cforall);240 AggregateDecl( const std::string &name, const std::list< Attribute * > & attributes = std::list< class Attribute * >() ); 241 241 AggregateDecl( const AggregateDecl &other ); 242 242 virtual ~AggregateDecl(); … … 266 266 typedef AggregateDecl Parent; 267 267 public: 268 StructDecl( const std::string &name, DeclarationNode::Aggregate kind = DeclarationNode::Struct, const std::list< Attribute * > & attributes = std::list< class Attribute * >() , LinkageSpec::Spec linkage = LinkageSpec::Cforall ) : Parent( name, attributes, linkage), kind( kind ) {}268 StructDecl( const std::string &name, DeclarationNode::Aggregate kind = DeclarationNode::Struct, const std::list< Attribute * > & attributes = std::list< class Attribute * >() ) : Parent( name, attributes ), kind( kind ) {} 269 269 StructDecl( const StructDecl &other ) : Parent( other ) {} 270 270 … … 284 284 typedef AggregateDecl Parent; 285 285 public: 286 UnionDecl( const std::string &name, const std::list< Attribute * > & attributes = std::list< class Attribute * >() , LinkageSpec::Spec linkage = LinkageSpec::Cforall ) : Parent( name, attributes, linkage) {}286 UnionDecl( const std::string &name, const std::list< Attribute * > & attributes = std::list< class Attribute * >() ) : Parent( name, attributes ) {} 287 287 UnionDecl( const UnionDecl &other ) : Parent( other ) {} 288 288 … … 297 297 typedef AggregateDecl Parent; 298 298 public: 299 EnumDecl( const std::string &name, const std::list< Attribute * > & attributes = std::list< class Attribute * >() , LinkageSpec::Spec linkage = LinkageSpec::Cforall ) : Parent( name, attributes, linkage) {}299 EnumDecl( const std::string &name, const std::list< Attribute * > & attributes = std::list< class Attribute * >() ) : Parent( name, attributes ) {} 300 300 EnumDecl( const EnumDecl &other ) : Parent( other ) {} 301 301 -
src/libcfa/Makefile.am
rb751c8e rb227f68 10 10 ## Author : Peter A. Buhr 11 11 ## Created On : Sun May 31 08:54:01 2015 12 ## Last Modified By : Andrew Beach13 ## Last Modified On : Wed Jun 28 15:36:00201714 ## Update Count : 21 512 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Sun May 14 21:04:21 2017 14 ## Update Count : 214 15 15 ############################################################################### 16 16 … … 64 64 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $< 65 65 66 libcfa_a-exception.o : exception.c67 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $<68 69 66 concurrency/libcfa_d_a-invoke.o : concurrency/invoke.c 70 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<71 72 libcfa_d_a-exception.o : exception.c73 67 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $< 74 68 … … 78 72 libcfa_a_CFLAGS = -nodebug -O2 79 73 libcfa_d_a_SOURCES = ${libsrc} 80 libcfa_d_a_CFLAGS = -debug -O0 #No need for __CFA_DEBUG__ since we pass -debug74 libcfa_d_a_CFLAGS = -debug -O0 81 75 82 76 stdhdr = ${shell echo stdhdr/*} -
src/libcfa/Makefile.in
rb751c8e rb227f68 332 332 libcfa_a_CFLAGS = -nodebug -O2 333 333 libcfa_d_a_SOURCES = ${libsrc} 334 libcfa_d_a_CFLAGS = -debug -O0 #No need for __CFA_DEBUG__ since we pass -debug334 libcfa_d_a_CFLAGS = -debug -O0 335 335 stdhdr = ${shell echo stdhdr/*} 336 336 cfa_includedir = $(CFA_INCDIR) … … 1428 1428 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $< 1429 1429 1430 libcfa_a-exception.o : exception.c1431 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $<1432 1433 1430 concurrency/libcfa_d_a-invoke.o : concurrency/invoke.c 1434 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $<1435 1436 libcfa_d_a-exception.o : exception.c1437 1431 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -D__CFA_DEBUG__ -O0 ${EXTRA_FLAGS} -c -o $@ $< 1438 1432 -
src/main.cc
rb751c8e rb227f68 10 10 // Author : Richard C. Bilson 11 11 // Created On : Fri May 15 23:12:02 2015 12 // Last Modified By : Peter A. Buhr13 // Last Modified On : Wed Jun 28 21:56:47201714 // Update Count : 4 4012 // Last Modified By : Andrew Beach 13 // Last Modified On : Wed May 10 14:45:00 2017 14 // Update Count : 437 15 15 // 16 16 … … 25 25 using namespace std; 26 26 27 #include "Parser/parser.hh" 27 #include "Parser/lex.h" 28 #include "Parser/parser.h" 28 29 #include "Parser/TypedefTable.h" 29 30 #include "GenPoly/Lvalue.h" … … 185 186 if ( ! nopreludep ) { // include gcc builtins 186 187 // -l is for initial build ONLY and builtins.cf is not in the lib directory so access it here. 187 188 // Read to gcc builtins, if not generating the cfa library 189 FILE * gcc_builtins = fopen( libcfap | treep ? "../prelude/gcc-builtins.cf" : CFA_LIBDIR "/gcc-builtins.cf", "r" ); 190 assertf( gcc_builtins, "cannot open gcc-builtins.cf\n" ); 191 parse( gcc_builtins, LinkageSpec::Compiler ); 188 FILE * builtins = fopen( libcfap | treep ? "../prelude/builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" ); 189 assertf( builtins, "cannot open builtins.cf\n" ); 190 parse( builtins, LinkageSpec::Compiler ); 192 191 193 192 // read the extra prelude in, if not generating the cfa library … … 201 200 assertf( prelude, "cannot open prelude.cf\n" ); 202 201 parse( prelude, LinkageSpec::Intrinsic ); 203 204 // Read to cfa builtins, if not generating the cfa library205 FILE * builtins = fopen( libcfap | treep ? "../prelude/builtins.cf" : CFA_LIBDIR "/builtins.cf", "r" );206 assertf( builtins, "cannot open builtins.cf\n" );207 parse( builtins, LinkageSpec::Builtin );208 202 } // if 209 203 } // if -
src/prelude/Makefile.am
rb751c8e rb227f68 20 20 # put into lib for now 21 21 cfalibdir = ${CFA_LIBDIR} 22 cfalib_DATA = gcc-builtins.cfbuiltins.cf extras.cf prelude.cf bootloader.c22 cfalib_DATA = builtins.cf extras.cf prelude.cf bootloader.c 23 23 noinst_DATA = ../libcfa/libcfa-prelude.c 24 25 $(DEPDIR) :26 mkdir $(DEPDIR)27 28 $(DEPDIR)/builtins.Po : $(DEPDIR)29 touch ${@}30 24 31 25 # create extra forward types/declarations to reduce inclusion of library files … … 34 28 35 29 # create forward declarations for gcc builtins 36 gcc-builtins.cf : gcc-builtins.c prototypes.sed30 builtins.cf : builtins.c prototypes.sed 37 31 ${AM_V_GEN}@BACKEND_CC@ -E -P $< | sed -f prototypes.sed > $@ 38 32 39 gcc-builtins.c : builtins.def prototypes.awk33 builtins.c : builtins.def prototypes.awk 40 34 ${AM_V_GEN}@BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ 41 35 … … 44 38 prototypes.awk : 45 39 46 # create forward declarations for cfa builtins 47 builtins.cf : builtins.c 48 ${AM_V_GEN}@BACKEND_CC@ -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po 49 ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po 50 51 include $(DEPDIR)/builtins.Po 52 53 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 40 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 54 41 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l prelude.cf $@ # use src/cfa-cpp as not in lib until after install 55 42 56 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cfbuiltins.cf ${abs_top_srcdir}/src/driver/cfa-cpp43 bootloader.c : bootloader.cf prelude.cf extras.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 57 44 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpmL bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 58 45 59 maintainer-clean-local : 60 rm -rf $(DEPDIR) 61 62 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cf builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} 46 MAINTAINERCLEANFILES = builtins.c builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} -
src/prelude/Makefile.in
rb751c8e rb227f68 211 211 # put into lib for now 212 212 cfalibdir = ${CFA_LIBDIR} 213 cfalib_DATA = gcc-builtins.cfbuiltins.cf extras.cf prelude.cf bootloader.c213 cfalib_DATA = builtins.cf extras.cf prelude.cf bootloader.c 214 214 noinst_DATA = ../libcfa/libcfa-prelude.c 215 MAINTAINERCLEANFILES = gcc-builtins.c gcc-builtins.cfbuiltins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}215 MAINTAINERCLEANFILES = builtins.c builtins.cf extras.cf bootloader.c ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} 216 216 all: all-am 217 217 … … 390 390 maintainer-clean: maintainer-clean-am 391 391 -rm -f Makefile 392 maintainer-clean-am: distclean-am maintainer-clean-generic \ 393 maintainer-clean-local 392 maintainer-clean-am: distclean-am maintainer-clean-generic 394 393 395 394 mostlyclean: mostlyclean-am … … 417 416 install-ps install-ps-am install-strip installcheck \ 418 417 installcheck-am installdirs maintainer-clean \ 419 maintainer-clean-generic maintainer-clean-local mostlyclean \ 420 mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ 421 uninstall-cfalibDATA 422 423 424 $(DEPDIR) : 425 mkdir $(DEPDIR) 426 427 $(DEPDIR)/builtins.Po : $(DEPDIR) 428 touch ${@} 418 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ 419 pdf-am ps ps-am uninstall uninstall-am uninstall-cfalibDATA 420 429 421 430 422 # create extra forward types/declarations to reduce inclusion of library files … … 433 425 434 426 # create forward declarations for gcc builtins 435 gcc-builtins.cf : gcc-builtins.c prototypes.sed427 builtins.cf : builtins.c prototypes.sed 436 428 ${AM_V_GEN}@BACKEND_CC@ -E -P $< | sed -f prototypes.sed > $@ 437 429 438 gcc-builtins.c : builtins.def prototypes.awk430 builtins.c : builtins.def prototypes.awk 439 431 ${AM_V_GEN}@BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ 440 432 … … 443 435 prototypes.awk : 444 436 445 # create forward declarations for cfa builtins 446 builtins.cf : builtins.c 447 ${AM_V_GEN}@BACKEND_CC@ -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po 448 ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po 449 450 include $(DEPDIR)/builtins.Po 451 452 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 437 ../libcfa/libcfa-prelude.c : prelude.cf extras.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 453 438 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l prelude.cf $@ # use src/cfa-cpp as not in lib until after install 454 439 455 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cfbuiltins.cf ${abs_top_srcdir}/src/driver/cfa-cpp440 bootloader.c : bootloader.cf prelude.cf extras.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 456 441 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpmL bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 457 458 maintainer-clean-local :459 rm -rf $(DEPDIR)460 442 461 443 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
src/tests/preempt_longrun/Makefile.am
rb751c8e rb227f68 16 16 17 17 repeats=10 18 max_time=30 18 max_time=10 19 N=10ul 19 20 preempt=10_000ul 20 21 21 22 REPEAT = ${abs_top_srcdir}/tools/repeat -s 22 23 23 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -D PREEMPTION_RATE=${preempt}24 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DN=${N} -DPREEMPTION_RATE=${preempt} 24 25 CFLAGS = ${BUILD_FLAGS} 25 26 CC = @CFA_BINDIR@/@CFA_NAME@ -
src/tests/preempt_longrun/Makefile.in
rb751c8e rb227f68 178 178 top_srcdir = @top_srcdir@ 179 179 repeats = 10 180 max_time = 30 180 max_time = 10 181 N = 10ul 181 182 preempt = 10_000ul 182 183 REPEAT = ${abs_top_srcdir}/tools/repeat -s 183 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -D PREEMPTION_RATE=${preempt}184 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DN=${N} -DPREEMPTION_RATE=${preempt} 184 185 TESTS = barge block create disjoint processor stack wait yield 185 186 all: all-am
Note:
See TracChangeset
for help on using the changeset viewer.