Mercurial > projects > ldc
diff gen/binops.cpp @ 244:a95056b3c996 trunk
[svn r261] Fixed debug info for integer and floating local variables, can now be inspected in GDB.
Did a lot of smaller cleans up here and there.
Replaced more llvm::Foo with LLFoo for common stuff.
Split up tollvm.cpp.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 09:37:08 +0200 |
parents | 7816aafeea3c |
children | ca2dfe98036c |
line wrap: on
line diff
--- a/gen/binops.cpp Mon Jun 09 03:02:14 2008 +0200 +++ b/gen/binops.cpp Mon Jun 09 09:37:08 2008 +0200 @@ -35,7 +35,7 @@ DValue* DtoBinDiv(DValue* lhs, DValue* rhs) { Type* t = lhs->getType(); - llvm::Value *l, *r; + LLValue *l, *r; l = lhs->getRVal(); r = rhs->getRVal(); LLValue* res; @@ -53,7 +53,7 @@ DValue* DtoBinRem(DValue* lhs, DValue* rhs) { Type* t = lhs->getType(); - llvm::Value *l, *r; + LLValue *l, *r; l = lhs->getRVal(); r = rhs->getRVal(); LLValue* res;