changeset 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 526385b6d1fd
children b657298222d9
files gen/irstate.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;