[llvm-commits] [dragonegg] r136335 - /dragonegg/trunk/src/Convert.cpp
Duncan Sands
baldrick at free.fr
Wed Jul 27 23:36:44 PDT 2011
Author: baldrick
Date: Thu Jul 28 01:36:44 2011
New Revision: 136335
URL: http://llvm.org/viewvc/llvm-project?rev=136335&view=rev
Log:
Another place that was using the in-memory type for a register.
Modified:
dragonegg/trunk/src/Convert.cpp
Modified: dragonegg/trunk/src/Convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Convert.cpp?rev=136335&r1=136334&r2=136335&view=diff
==============================================================================
--- dragonegg/trunk/src/Convert.cpp (original)
+++ dragonegg/trunk/src/Convert.cpp Thu Jul 28 01:36:44 2011
@@ -2441,7 +2441,7 @@
Value *TreeToLLVM::EmitOBJ_TYPE_REF(tree exp) {
return Builder.CreateBitCast(EmitRegister(OBJ_TYPE_REF_EXPR(exp)),
- ConvertType(TREE_TYPE(exp)));
+ getRegType(TREE_TYPE(exp)));
}
/// EmitCONSTRUCTOR - emit the constructor into the location specified by
More information about the llvm-commits
mailing list