Mercurial > projects > ldc
comparison gen/llvmhelpers.cpp @ 483:d86af825e8d9
Forgot return in DtoInitializer
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 07 Aug 2008 18:17:59 +0200 |
parents | aa8c050dfd19 |
children | a34078905d01 |
comparison
equal
deleted
inserted
replaced
482:aa8c050dfd19 | 483:d86af825e8d9 |
---|---|
1446 LLValue* padding = DtoGEPi1(castv, 5); | 1446 LLValue* padding = DtoGEPi1(castv, 5); |
1447 DtoStore(llvm::Constant::getNullValue(LLType::Int16Ty), padding); | 1447 DtoStore(llvm::Constant::getNullValue(LLType::Int16Ty), padding); |
1448 padding = DtoGEPi1(castv, 11); | 1448 padding = DtoGEPi1(castv, 11); |
1449 DtoStore(llvm::Constant::getNullValue(LLType::Int16Ty), padding); | 1449 DtoStore(llvm::Constant::getNullValue(LLType::Int16Ty), padding); |
1450 } | 1450 } |
1451 | |
1452 return res; | |
1451 } | 1453 } |
1452 else if (init->isVoidInitializer()) | 1454 else if (init->isVoidInitializer()) |
1453 { | 1455 { |
1454 // do nothing | 1456 // do nothing |
1455 } | 1457 } |