Modified: MacRuby/branches/experimental/roxor.cpp (1066 => 1067)
--- MacRuby/branches/experimental/roxor.cpp 2009-03-22 21:48:59 UTC (rev 1066)
+++ MacRuby/branches/experimental/roxor.cpp 2009-03-22 22:12:02 UTC (rev 1067)
@@ -2722,7 +2722,7 @@
bb = thenBB;
DEBUG_LEVEL_INC();
- Value *thenVal = node->nd_body != NULL ? compile_node(node->nd_body) : trueVal;
+ Value *thenVal = node->nd_body != NULL ? compile_node(node->nd_body) : nilVal;
DEBUG_LEVEL_DEC();
thenBB = bb;
BranchInst::Create(mergeBB, thenBB);