mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-23 16:23:14 +01:00
[svn r100] Moved test/ray.d to demos/ray.d.
Cleanups.
This commit is contained in:
@@ -78,7 +78,7 @@ llvm::Constant* DtoConstStructInitializer(StructInitializer* si)
|
||||
Logger::println("DtoConstStructInitializer: %s", si->toChars());
|
||||
LOG_SCOPE;
|
||||
|
||||
const llvm::StructType* structtype = llvm::cast<llvm::StructType>(si->ad->llvmType);
|
||||
const llvm::StructType* structtype = isaStruct(si->ad->llvmType);
|
||||
Logger::cout() << "llvm struct type: " << *structtype << '\n';
|
||||
|
||||
assert(si->value.dim == si->vars.dim);
|
||||
|
||||
Reference in New Issue
Block a user