13 Commits (072ef603fe15088b1d1fd9b4b6c43aa80746d927)

Author SHA1 Message Date
Ayke van Laethem ecf6ffa62e
all: add bare-bones Cgo support 6 years ago
Ayke van Laethem dea660b21c
main: compile C source files in packages 6 years ago
Ayke van Laethem e10d05c74f
loader: switch to custom program loader 6 years ago
Ayke van Laethem 564b1b3312
compiler: always use fat function pointers with context 6 years ago
Ayke van Laethem b4c90f3677
compiler: lower interfaces in a separate pass 6 years ago
Ayke van Laethem f107a24b72
all: use LLVM library provided by the system 6 years ago
Ayke van Laethem 318567f398
ir: fix nil pointer dereference in IsVolatile 6 years ago
Ayke van Laethem 8d170d3bd2
all: change special type __volatile to pragma //go:volatile 6 years ago
Ayke van Laethem 13cb7d6503
avr: add interrupt support 6 years ago
Ayke van Laethem 1b229a8f8b
compiler: support compiling individual .go files 6 years ago
Ayke van Laethem a561e9a9ac
ir: move adding packages from the compiler 6 years ago
Ayke van Laethem 453450f40d
ir: sort function pragmas 6 years ago
Ayke van Laethem b75a02e66d
compiler: refactor IR parts into separate package 6 years ago
Ayke van Laethem 3c22f5731c
all: replace _extern_* workaround with //go:extern pragma 6 years ago
Ayke van Laethem 2ca2220e44
compiler: move SSA construction to ir.go 6 years ago
Ayke van Laethem 1f2af7d848
compiler: do not remove dead globals 6 years ago
Ayke van Laethem 43b8c24226
compiler: implement interface assertions 6 years ago
Ayke van Laethem 83ad0b6137
all: move bootstrapping IR to Go runtime 6 years ago
Ayke van Laethem bfff0c33e4
Fix external globals 6 years ago
Ayke van Laethem 88b6b2e7f5
Optimize/eliminate bounds checking 6 years ago
Ayke van Laethem 58c87329d4
Implement closures and bound methods 6 years ago
Ayke van Laethem b13cfc5255
Be able to deal with anonymous functions 6 years ago
Ayke van Laethem 74bd378c29
Replace _llvm_* workaround in the scheduler with //go:linkname 6 years ago
Ayke van Laethem 771f23e320
Implement //go:linkname pragma 6 years ago
Ayke van Laethem 6e0c60a7a1
Some extra header docs 6 years ago
Ayke van Laethem 309de00fd6
Simplify function names by removing $async suffix 6 years ago
Ayke van Laethem c25b448758
Rewrite init() interpretation to a real interpreter 6 years ago
Ayke van Laethem 7460e10894
Add dead code elimination (DCE) pass 6 years ago
Ayke van Laethem bce33bbf41
Rename {Function,Global}.Name -> LinkName 6 years ago
Ayke van Laethem 3146cc86d4
Move Compiler.program to Program.program 6 years ago
Ayke van Laethem ad9a62f260
Make sure we handle all package members 6 years ago
Ayke van Laethem a475233f36
Support recursive types 6 years ago
Ayke van Laethem 574c7ec047
Refactor: Use our own types as much as possible from the analysis 6 years ago