Mercurial > projects > ldc
diff gen/dwarftypes.cpp @ 133:44a95ac7368a trunk
[svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 05:11:54 +0100 |
parents | fd32135dca3e |
children | 9d44ec83acd1 |
line wrap: on
line diff
--- a/gen/dwarftypes.cpp Fri Jan 11 17:57:40 2008 +0100 +++ b/gen/dwarftypes.cpp Mon Jan 14 05:11:54 2008 +0100 @@ -32,10 +32,10 @@ std::vector<const Type*>StructTy_1_fields; StructType* StructTy_1 = StructType::get(StructTy_1_fields, /*isPacked=*/false); - PointerType* PointerTy_0 = PointerType::get(StructTy_1); + PointerType* PointerTy_0 = PointerType::get(StructTy_1,0); StructTy_llvm_dbg_basictype_type_fields.push_back(PointerTy_0); - PointerType* PointerTy_2 = PointerType::get(IntegerType::get(8)); + PointerType* PointerTy_2 = PointerType::get(IntegerType::get(8),0); StructTy_llvm_dbg_basictype_type_fields.push_back(PointerTy_2); StructTy_llvm_dbg_basictype_type_fields.push_back(PointerTy_0); @@ -130,33 +130,27 @@ std::vector<const Type*>FuncTy_3_args; FuncTy_3_args.push_back(PointerTy_0); - ParamAttrsList *FuncTy_3_PAL = 0; FunctionType* FuncTy_3 = FunctionType::get( /*Result=*/Type::VoidTy, /*Params=*/FuncTy_3_args, - /*isVarArg=*/false, - /*ParamAttrs=*/FuncTy_3_PAL); + /*isVarArg=*/false); std::vector<const Type*>FuncTy_4_args; FuncTy_4_args.push_back(IntegerType::get(32)); FuncTy_4_args.push_back(IntegerType::get(32)); FuncTy_4_args.push_back(PointerTy_0); - ParamAttrsList *FuncTy_4_PAL = 0; FunctionType* FuncTy_4 = FunctionType::get( /*Result=*/Type::VoidTy, /*Params=*/FuncTy_4_args, - /*isVarArg=*/false, - /*ParamAttrs=*/FuncTy_4_PAL); + /*isVarArg=*/false); std::vector<const Type*>FuncTy_5_args; FuncTy_5_args.push_back(PointerTy_0); FuncTy_5_args.push_back(PointerTy_0); - ParamAttrsList *FuncTy_5_PAL = 0; FunctionType* FuncTy_5 = FunctionType::get( /*Result=*/Type::VoidTy, /*Params=*/FuncTy_5_args, - /*isVarArg=*/false, - /*ParamAttrs=*/FuncTy_5_PAL); + /*isVarArg=*/false); // Function Declarations