comparison gen/tollvm.cpp @ 650:aa6a0b7968f7

Added test case for bug #100 Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 05 Oct 2008 17:28:15 +0200
parents 8d850fa25713
children 5812d6fac0f0
comparison
equal deleted inserted replaced
649:505f41873d4f 650:aa6a0b7968f7
182 // opaque type 182 // opaque type
183 case Topaque: 183 case Topaque:
184 return llvm::OpaqueType::get(); 184 return llvm::OpaqueType::get();
185 185
186 default: 186 default:
187 printf("trying to convert unknown type with value %d\n", t->ty); 187 printf("trying to convert unknown type '%s' with value %d\n", t->toChars(), t->ty);
188 assert(0); 188 assert(0);
189 } 189 }
190 return 0; 190 return 0;
191 } 191 }
192 192