Mercurial > projects > ldc
comparison gen/irstate.cpp @ 94:61615fa85940 trunk
[svn r98] Added support for std.c.stdlib.alloca via pragma(LLVM_internal, "alloca").
Added support for array .sort and .reverse properties.
Fixed some bugs with pointer arithmetic.
Disabled some DMD AST optimizations that was messing things up, destroying valuable information.
Added a KDevelop project file, this is what I use for coding LLVMDC now :)
Other minor stuff.
author | lindquist |
---|---|
date | Mon, 12 Nov 2007 06:32:46 +0100 |
parents | fd32135dca3e |
children | 5071469303d4 |
comparison
equal
deleted
inserted
replaced
93:08508eebbb3e | 94:61615fa85940 |
---|---|
36 dmodule = 0; | 36 dmodule = 0; |
37 module = 0; | 37 module = 0; |
38 emitMain = false; | 38 emitMain = false; |
39 mainFunc = 0; | 39 mainFunc = 0; |
40 ir.state = this; | 40 ir.state = this; |
41 dwarfCompileUnit = 0; | |
42 } | 41 } |
43 | 42 |
44 IRFunction& IRState::func() | 43 IRFunction& IRState::func() |
45 { | 44 { |
46 assert(!functions.empty() && "Function stack is empty!"); | 45 assert(!functions.empty() && "Function stack is empty!"); |