mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 17:29:02 +02:00
Adds explicit alignment information for alloca instructions in general, there's a few cases that still needs to be looked at but this should catch the majority. Fixes ticket #293 .
This commit is contained in:
@@ -206,8 +206,7 @@ LLValue* IRLandingPad::getExceptionStorage()
|
||||
if(!catch_var)
|
||||
{
|
||||
Logger::println("Making new catch var");
|
||||
const LLType* objectTy = DtoType(ClassDeclaration::object->type);
|
||||
catch_var = DtoAlloca(objectTy,"catchvar");
|
||||
catch_var = DtoAlloca(ClassDeclaration::object->type, "catchvar");
|
||||
}
|
||||
return catch_var;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user