Fix -oq, closes #96

Add value debug output to RealExp::toConstElem.
This commit is contained in:
Christian Kamm
2008-10-03 19:24:46 +02:00
parent 2f9b9dead7
commit f4da5f4a89
2 changed files with 12 additions and 6 deletions

View File

@@ -244,7 +244,7 @@ DValue* RealExp::toElem(IRState* p)
LLConstant* RealExp::toConstElem(IRState* p)
{
Logger::print("RealExp::toConstElem: %s | %s\n", toChars(), type->toChars());
Logger::print("RealExp::toConstElem: %s | %s | %LX\n", toChars(), type->toChars(), value);
LOG_SCOPE;
Type* t = type->toBasetype();
return DtoConstFP(t, value);