diff gen/tollvm.cpp @ 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 26fce59fe80a
children 29dc68c949b0
line wrap: on
line diff
--- a/gen/tollvm.cpp	Wed Oct 01 20:55:13 2008 +0200
+++ b/gen/tollvm.cpp	Wed Oct 01 23:17:14 2008 +0200
@@ -44,14 +44,14 @@
         {
         case Tint8:
         case Tint16:
-            return llvm::ParamAttr::SExt;
+            return llvm::Attribute::SExt;
 
         case Tuns8:
         case Tuns16:
-            return llvm::ParamAttr::ZExt;
+            return llvm::Attribute::ZExt;
         }
     }
-    return llvm::ParamAttr::None;
+    return llvm::Attribute::None;
 }
 
 const LLType* DtoType(Type* t)