comparison gen/arrays.cpp @ 611:83ca663ecc20

Backed out changeset 1b62222581fb Do not use i8 for bool. Instead rely on the target to store i1 as i8.
author Christian Kamm <kamm incasoftware de>
date Sun, 21 Sep 2008 14:45:41 +0200
parents 1b62222581fb
children 26fce59fe80a
comparison
equal deleted inserted replaced
610:1b62222581fb 611:83ca663ecc20
151 151
152 // if not a zero initializer, call the appropriate runtime function! 152 // if not a zero initializer, call the appropriate runtime function!
153 switch (arrayelemty->ty) 153 switch (arrayelemty->ty)
154 { 154 {
155 case Tbool: 155 case Tbool:
156 funcname = "_d_array_init_i1";
157 break;
158
156 case Tvoid: 159 case Tvoid:
157 case Tchar: 160 case Tchar:
158 case Tint8: 161 case Tint8:
159 case Tuns8: 162 case Tuns8:
160 funcname = "_d_array_init_i8"; 163 funcname = "_d_array_init_i8";