mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-01 12:33:13 +01: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:
@@ -600,7 +600,7 @@ void AsmBlockStatement::toIR(IRState* p)
|
||||
outSetterStmt->code += asmGotoEndLabel.str()+":\n";
|
||||
|
||||
// create storage for and initialize the temporary
|
||||
jump_target = DtoAlloca(LLType::Int32Ty, "__llvm_jump_target");
|
||||
jump_target = DtoAlloca(Type::tint32, "__llvm_jump_target");
|
||||
gIR->ir->CreateStore(DtoConstUint(0), jump_target);
|
||||
// setup variable for output from asm
|
||||
outSetterStmt->out_c = "=*m,";
|
||||
|
||||
Reference in New Issue
Block a user