aboutsummaryrefslogtreecommitdiff
path: root/src/boot/llvm/lltrans.ml
Commit message (Collapse)AuthorAgeFilesLines
* Remove LLVM rustboot backend.Graydon Hoare2010-12-291-1148/+0
|
* Update lltrans to also emit WinMain@16 on windows.Graydon Hoare2010-11-051-1/+1
|
* Git index wins again.Graydon Hoare2010-10-121-12/+13
|
* Changes to make rustboot compile on OCaml 3.12Graydon Hoare2010-10-121-9/+9
|
* Add Ast.ATOM_pexp and -pexp mode wherein pexps live beyond parsing, into ↵Graydon Hoare2010-09-151-0/+2
| | | | later stages. Fixes to pexp pretty printer.
* Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare2010-09-091-19/+12
| | | | work, possibly a little bumpy. Changes a lot.
* Fix LLVM translation of modules.Jeffrey Yasskin2010-08-061-10/+29
|
* Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as ↵Graydon Hoare2010-07-271-3/+3
| | | | a cast notation. Closes #129.
* Calm some LLVM indigestion of last change.Graydon Hoare2010-07-271-6/+6
|
* Rename STMT_init_* to STMT_new_*; former name was confusing.Graydon Hoare2010-07-231-2/+2
|
* Re-classify some err / bug cases as unimpl. Ideally rustboot should never ↵Graydon Hoare2010-07-221-4/+6
| | | | produce a backtrace.
* Fix simple generic type parameters in LLVM.Jeffrey Yasskin2010-07-231-3/+4
|
* Implement tuple access for LLVM.Jeffrey Yasskin2010-07-231-20/+77
| | | | | | | This involved adding an Ast.ty return to trans_lval. I also included the code for record and box access, but their tests don't completely pass yet.
* Make sure debug locations are propagated to every new block created by makingJeffrey Yasskin2010-07-221-19/+47
| | | | | them an argument to new_block. gdb should do a good job of single-stepping LLVM-compiled rust programs by rust line number now.
* Tidy up handling of unimplemented features. These are expected (if ↵Graydon Hoare2010-07-201-17/+25
| | | | undesirable) sorts of error, we should handle better than "backtrace and exit 2".
* Fix opeq.rs for LLVM by implementing simple augmented-assignment operators.Jeffrey Yasskin2010-07-201-17/+31
|
* Make the LLVM compiler crash when it hits a source construct it doesn't knowJeffrey Yasskin2010-07-201-17/+34
| | | | what to do with, rather than silently omitting it from the output.
* Teach the LLVM backend to emit line number information.Jeffrey Yasskin2010-07-201-27/+87
| | | | | | This isn't complete: it misses line numbers in certain kinds of block. It's also still tricky to use it on Darwin, where we need to call dsymutil while the .o file is still around in order for gdb to find the debugging symbols.
* Clean up nomenclature in the Abi constants brigade. Purge magic GEP numbers ↵Roy Frostig2010-07-161-2/+2
| | | | in trans. Adjust obj_closure_rty (and its consumers) to be more explicit about the fact that it is a box.
* Make mutability no longer a type constructorPatrick Walton2010-07-151-3/+3
|
* Wrap long line.Graydon Hoare2010-07-021-11/+12
|
* Return LLVM to at least being able to run hello world.Graydon Hoare2010-07-021-1/+1
|
* Correct overzealous bulk-edit to LLVM code.Graydon Hoare2010-07-011-1/+1
|
* Rename 'exterior' to 'box' and 'interior' to 'local' (at least wrt. slots; ↵Graydon Hoare2010-06-301-6/+6
| | | | keep MEM_interior for describing interior-parts-of-allocations)
* Update LLVM translation to match changes to slot and ty.Graydon Hoare2010-06-291-16/+23
|
* Move more of the GC logic into the runtime.Graydon Hoare2010-06-281-1/+1
|
* Add fmt module, move out some common format helpers, add ↵Graydon Hoare2010-06-241-1/+1
| | | | instruction-selection tracing and make selection use queues rather than list refs.
* Populate tree.Graydon Hoare2010-06-231-0/+938