diff gen/irstate.h @ 632:df196c8dea26

Updated to latest LLVM trunk, function notes have been removed and merged with parameter attributes, which have been renamed to just attributes. Nothing seems to have broke!
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 01 Oct 2008 23:17:14 +0200
parents 017ca8645a1f
children eef8ac26c66c
line wrap: on
line diff
--- a/gen/irstate.h	Wed Oct 01 20:55:13 2008 +0200
+++ b/gen/irstate.h	Wed Oct 01 23:17:14 2008 +0200
@@ -88,7 +88,7 @@
 // adjusting these common properties these structs are made
 struct CallOrInvoke
 {
-    virtual void setParamAttrs(const llvm::PAListPtr& Attrs) = 0;
+    virtual void setAttributes(const llvm::AttrListPtr& Attrs) = 0;
     virtual void setCallingConv(unsigned CC) = 0;
     virtual llvm::Instruction* get() = 0;
 };
@@ -98,8 +98,8 @@
     llvm::CallInst* inst;
     CallOrInvoke_Call(llvm::CallInst* call) : inst(call) {}
 
-    virtual void setParamAttrs(const llvm::PAListPtr& Attrs)
-    { inst->setParamAttrs(Attrs); }
+    virtual void setAttributes(const llvm::AttrListPtr& Attrs)
+    { inst->setAttributes(Attrs); }
     virtual void setCallingConv(unsigned CC)
     { inst->setCallingConv(CC); }
     virtual llvm::Instruction* get()
@@ -111,8 +111,8 @@
     llvm::InvokeInst* inst;
     CallOrInvoke_Invoke(llvm::InvokeInst* invoke) : inst(invoke) {}
 
-    virtual void setParamAttrs(const llvm::PAListPtr& Attrs)
-    { inst->setParamAttrs(Attrs); }
+    virtual void setAttributes(const llvm::AttrListPtr& Attrs)
+    { inst->setAttributes(Attrs); }
     virtual void setCallingConv(unsigned CC)
     { inst->setCallingConv(CC); }
     virtual llvm::Instruction* get()