comparison 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
comparison
equal deleted inserted replaced
629:607b6b5819a7 632:df196c8dea26
42 { 42 {
43 switch(type->ty) 43 switch(type->ty)
44 { 44 {
45 case Tint8: 45 case Tint8:
46 case Tint16: 46 case Tint16:
47 return llvm::ParamAttr::SExt; 47 return llvm::Attribute::SExt;
48 48
49 case Tuns8: 49 case Tuns8:
50 case Tuns16: 50 case Tuns16:
51 return llvm::ParamAttr::ZExt; 51 return llvm::Attribute::ZExt;
52 } 52 }
53 } 53 }
54 return llvm::ParamAttr::None; 54 return llvm::Attribute::None;
55 } 55 }
56 56
57 const LLType* DtoType(Type* t) 57 const LLType* DtoType(Type* t)
58 { 58 {
59 assert(t); 59 assert(t);