From noreply at github.com Tue Jan 16 05:40:15 2018 From: noreply at github.com (GitHub) Date: Mon, 15 Jan 2018 20:40:15 -0800 Subject: [M3commit] [modula3/cm3] cf8828: Add computation of expression alignments. Message-ID: <5a5d822f66b8a_48c82ad7e17c7c1488083@hookshot-fe-32b5f5b.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: cf882891195a6979817c8beeaa241992196cded1 https://github.com/modula3/cm3/commit/cf882891195a6979817c8beeaa241992196cded1 Author: Rodney Bates Date: 2018-01-15 (Mon, 15 Jan 2018) Changed paths: M m3-sys/m3front/src/exprs/AddressExpr.i3 M m3-sys/m3front/src/exprs/AddressExpr.m3 M m3-sys/m3front/src/exprs/AndExpr.m3 M m3-sys/m3front/src/exprs/ArrayExpr.i3 M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/exprs/CallExpr.m3 M m3-sys/m3front/src/exprs/CastExpr.m3 M m3-sys/m3front/src/exprs/CheckExpr.m3 M m3-sys/m3front/src/exprs/ConcatExpr.m3 M m3-sys/m3front/src/exprs/ConsExpr.i3 M m3-sys/m3front/src/exprs/ConsExpr.m3 M m3-sys/m3front/src/exprs/EqualExpr.m3 M m3-sys/m3front/src/exprs/Expr.i3 M m3-sys/m3front/src/exprs/Expr.m3 M m3-sys/m3front/src/exprs/ExprRep.i3 M m3-sys/m3front/src/exprs/InExpr.m3 M m3-sys/m3front/src/exprs/IntegerExpr.i3 M m3-sys/m3front/src/exprs/IntegerExpr.m3 M m3-sys/m3front/src/exprs/KeywordExpr.m3 M m3-sys/m3front/src/exprs/MethodExpr.m3 M m3-sys/m3front/src/exprs/NarrowExpr.m3 M m3-sys/m3front/src/exprs/NotExpr.m3 M m3-sys/m3front/src/exprs/OrExpr.m3 M m3-sys/m3front/src/exprs/ProcExpr.i3 M m3-sys/m3front/src/exprs/ProcExpr.m3 M m3-sys/m3front/src/exprs/QualifyExpr.m3 M m3-sys/m3front/src/exprs/RecordExpr.i3 M m3-sys/m3front/src/exprs/RecordExpr.m3 M m3-sys/m3front/src/exprs/SetExpr.i3 M m3-sys/m3front/src/exprs/SetExpr.m3 M m3-sys/m3front/src/exprs/SubscriptExpr.m3 M m3-sys/m3front/src/exprs/TextExpr.m3 M m3-sys/m3front/src/exprs/TypeExpr.m3 M m3-sys/m3front/src/types/Type.i3 M m3-sys/m3middle/src/Target.i3 Log Message: ----------- Add computation of expression alignments. To fix bugs passing packed values as parameters, there is a need to know aligments of expressions. Merely using the alignment of the expression's type is sometimes not enough. The type knows nothing of the context in which a value occurs. Particularly, the alignment of a value of packed type depends on whether it is an array element or record or object field, and, if so, what its predecessor elements/fields are. This commit purely adds computation of expression aligments, with no uses thereof yet. From noreply at github.com Wed Jan 17 23:06:46 2018 From: noreply at github.com (GitHub) Date: Wed, 17 Jan 2018 14:06:46 -0800 Subject: [M3commit] [modula3/cm3] 76cbb4: Builtins LOOPHOLE and SUBARRAY need some special e... Message-ID: <5a5fc8f616402_6a4a2b006a673c1c18082@hookshot-fe-cace476.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 76cbb4f2960f5e8b28b140e3fe477b9ac8b6f1c1 https://github.com/modula3/cm3/commit/76cbb4f2960f5e8b28b140e3fe477b9ac8b6f1c1 Author: Rodney Bates Date: 2018-01-17 (Wed, 17 Jan 2018) Changed paths: M m3-sys/m3front/src/builtinOps/Loophole.m3 M m3-sys/m3front/src/builtinOps/Subarray.m3 M m3-sys/m3front/src/exprs/CallExpr.i3 M m3-sys/m3front/src/exprs/CallExpr.m3 M m3-sys/m3front/src/exprs/SubscriptExpr.m3 M m3-sys/m3front/src/misc/CG.m3 M m3-sys/m3front/src/types/ArrayType.i3 Log Message: ----------- Builtins LOOPHOLE and SUBARRAY need some special expression alignment treatment. Again, only computes new info, does not use it. From noreply at github.com Tue Jan 23 00:04:26 2018 From: noreply at github.com (GitHub) Date: Mon, 22 Jan 2018 15:04:26 -0800 Subject: [M3commit] [modula3/cm3] c6eaf9: Fix typos in comments. Message-ID: <5a666dfadd9b_54642aadaf387c14958eb@hookshot-fe-cace476.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: c6eaf9ff2b9ad85378d1debf93645f3779d23a36 https://github.com/modula3/cm3/commit/c6eaf9ff2b9ad85378d1debf93645f3779d23a36 Author: Rodney Bates Date: 2018-01-22 (Mon, 22 Jan 2018) Changed paths: M m3-sys/m3middle/src/M3CG_Ops.i3 Log Message: ----------- Fix typos in comments. From noreply at github.com Mon Jan 29 12:22:39 2018 From: noreply at github.com (GitHub) Date: Mon, 29 Jan 2018 03:22:39 -0800 Subject: [M3commit] [modula3/cm3] 240831: Create the param type in pop_struct whether it exi... Message-ID: <5a6f03ffacafa_144b2b000aad7c1458231@hookshot-fe-265448d.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 240831d68d8b7e34e86459763061c186601244c0 https://github.com/modula3/cm3/commit/240831d68d8b7e34e86459763061c186601244c0 Author: peter mckinna Date: 2018-01-29 (Mon, 29 Jan 2018) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Create the param type in pop_struct whether it exists or not Direct and indirect calls have declare_param to define the type of struct value parameters. Indirect method calls imported from another module just have pop_param and pop_struct from which we infer the type of the parameters and the signature of the call. Commit: e053878e862c3f6b9374bb1cd95c65db986ccd65 https://github.com/modula3/cm3/commit/e053878e862c3f6b9374bb1cd95c65db986ccd65 Author: peter mckinna Date: 2018-01-29 (Mon, 29 Jan 2018) Changed paths: M m3-sys/m3front/src/values/Variable.m3 Log Message: ----------- A global should have a name. Partly fixes llvm debug globals. Compare: https://github.com/modula3/cm3/compare/c6eaf9ff2b9a...e053878e862c From noreply at github.com Mon Jan 29 12:44:59 2018 From: noreply at github.com (GitHub) Date: Mon, 29 Jan 2018 03:44:59 -0800 Subject: [M3commit] [modula3/cm3] 0441b8: Add llvm 5.0 bindings Message-ID: <5a6f093baabcc_11d02add0003fc0c36941@hookshot-fe-cace476.cp1-iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 0441b8ee6a20785eb3f6d38045721476a46b0fe6 https://github.com/modula3/cm3/commit/0441b8ee6a20785eb3f6d38045721476a46b0fe6 Author: peter mckinna Date: 2018-01-29 (Mon, 29 Jan 2018) Changed paths: A m3-sys/llvm5.0bindings/src/DwarfConst.i3 A m3-sys/llvm5.0bindings/src/LLVM.i3 A m3-sys/llvm5.0bindings/src/LLVMTypes.i3 A m3-sys/llvm5.0bindings/src/M3DIBuilder.cpp A m3-sys/llvm5.0bindings/src/M3DIBuilder.i A m3-sys/llvm5.0bindings/src/M3DIBuilder.i3 A m3-sys/llvm5.0bindings/src/M3DIBuilder.m3 A m3-sys/llvm5.0bindings/src/M3DIBuilderRaw.i3 A m3-sys/llvm5.0bindings/src/M3DIBuilderRaw.m3 A m3-sys/llvm5.0bindings/src/M3Extras.cpp A m3-sys/llvm5.0bindings/src/M3Extras.h A m3-sys/llvm5.0bindings/src/Makefile A m3-sys/llvm5.0bindings/src/WinMakefile A m3-sys/llvm5.0bindings/src/gendibuilder A m3-sys/llvm5.0bindings/src/m3makefile Log Message: ----------- Add llvm 5.0 bindings Commit: 8f82f8719a2950c38c7d6267880e3262d870ea7d https://github.com/modula3/cm3/commit/8f82f8719a2950c38c7d6267880e3262d870ea7d Author: peter mckinna Date: 2018-01-29 (Mon, 29 Jan 2018) Changed paths: A m3-sys/llvm5.0/src/M3CG_LLVM.i3 A m3-sys/llvm5.0/src/M3CG_LLVM.m3 A m3-sys/llvm5.0/src/Main.m3 A m3-sys/llvm5.0/src/m3makefile Log Message: ----------- Add llvm 5.0 CG to IR translator Compare: https://github.com/modula3/cm3/compare/e053878e862c...8f82f8719a29