diff gen/irstate.h @ 477:253f234eb80c

Make sure to initialize isBranchToLabel to zero. Fixes unittest compilation for tango.text.Text.
author Christian Kamm <kamm incasoftware de>
date Mon, 04 Aug 2008 21:34:53 +0200
parents f7259fa1349c
children 017ca8645a1f
line wrap: on
line diff
--- a/gen/irstate.h	Mon Aug 04 20:05:42 2008 +0200
+++ b/gen/irstate.h	Mon Aug 04 21:34:53 2008 +0200
@@ -61,6 +61,9 @@
 
 struct IRAsmStmt
 {
+    IRAsmStmt() 
+    : isBranchToLabel(NULL) {}
+
     std::string code;
     std::string out_c;
     std::string in_c;