diff ir/irfunction.h @ 584:c7d7e2282ba3

Make sure functions containing inline asm are never inlined to avoid duplicated labels.
author Christian Kamm <kamm incasoftware de>
date Mon, 08 Sep 2008 20:38:55 +0200
parents a34078905d01
children eef8ac26c66c
line wrap: on
line diff
--- a/ir/irfunction.h	Sun Sep 07 17:44:25 2008 -0700
+++ b/ir/irfunction.h	Mon Sep 08 20:38:55 2008 +0200
@@ -52,6 +52,10 @@
 
     IrFunction(FuncDeclaration* fd);
 
+    // annotations
+    void setNeverInline();
+    void setAlwaysInline();
+
 private:
     // prefix for labels and gotos
     // used for allowing labels to be emitted twice