mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-18 13:53:14 +01:00
Make sure functions containing inline asm are never inlined to avoid
duplicated labels.
This commit is contained in:
@@ -52,6 +52,10 @@ struct IrFunction : IrBase
|
||||
|
||||
IrFunction(FuncDeclaration* fd);
|
||||
|
||||
// annotations
|
||||
void setNeverInline();
|
||||
void setAlwaysInline();
|
||||
|
||||
private:
|
||||
// prefix for labels and gotos
|
||||
// used for allowing labels to be emitted twice
|
||||
|
||||
Reference in New Issue
Block a user