Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
476:526385b6d1fd | 477:253f234eb80c |
---|---|
59 IRBuilder* operator->(); | 59 IRBuilder* operator->(); |
60 }; | 60 }; |
61 | 61 |
62 struct IRAsmStmt | 62 struct IRAsmStmt |
63 { | 63 { |
64 IRAsmStmt() | |
65 : isBranchToLabel(NULL) {} | |
66 | |
64 std::string code; | 67 std::string code; |
65 std::string out_c; | 68 std::string out_c; |
66 std::string in_c; | 69 std::string in_c; |
67 std::vector<LLValue*> out; | 70 std::vector<LLValue*> out; |
68 std::vector<LLValue*> in; | 71 std::vector<LLValue*> in; |