diff 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
line wrap: on
line diff
--- a/gen/toir.cpp	Fri Oct 03 17:31:16 2008 +0200
+++ b/gen/toir.cpp	Fri Oct 03 19:24:46 2008 +0200
@@ -244,7 +244,7 @@
 
 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);