comparison gen/toir.cpp @ 643:2a0bcf7f7b3d

Fix -oq, closes #96 Add value debug output to RealExp::toConstElem.
author Christian Kamm <kamm incasoftware de>
date Fri, 03 Oct 2008 19:24:46 +0200
parents 0084d2c76b74
children a15ccbf7451d
comparison
equal deleted inserted replaced
642:307ae566885f 643:2a0bcf7f7b3d
242 242
243 ////////////////////////////////////////////////////////////////////////////////////////// 243 //////////////////////////////////////////////////////////////////////////////////////////
244 244
245 LLConstant* RealExp::toConstElem(IRState* p) 245 LLConstant* RealExp::toConstElem(IRState* p)
246 { 246 {
247 Logger::print("RealExp::toConstElem: %s | %s\n", toChars(), type->toChars()); 247 Logger::print("RealExp::toConstElem: %s | %s | %LX\n", toChars(), type->toChars(), value);
248 LOG_SCOPE; 248 LOG_SCOPE;
249 Type* t = type->toBasetype(); 249 Type* t = type->toBasetype();
250 return DtoConstFP(t, value); 250 return DtoConstFP(t, value);
251 } 251 }
252 252