comparison gen/toobj.cpp @ 1241:fc579f389f9a

!ClassInfo instances were not mutable, this is necessary for .classinfo based locking to work. !ModuleInfo generation was commented out as well.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 17 Apr 2009 00:54:20 +0200
parents 79758fd2f48a
children 2a92c115461d
comparison
equal deleted inserted replaced
1240:f295e51d2dd0 1241:fc579f389f9a
144 144
145 // emit function bodies 145 // emit function bodies
146 sir->emitFunctionBodies(); 146 sir->emitFunctionBodies();
147 147
148 // generate ModuleInfo 148 // generate ModuleInfo
149 //genmoduleinfo(); 149 genmoduleinfo();
150 150
151 // emit usedArray 151 // emit usedArray
152 if (!ir.usedArray.empty()) 152 if (!ir.usedArray.empty())
153 { 153 {
154 const LLArrayType* usedTy = LLArrayType::get(getVoidPtrType(), ir.usedArray.size()); 154 const LLArrayType* usedTy = LLArrayType::get(getVoidPtrType(), ir.usedArray.size());