Mercurial > projects > ldc
comparison gen/irstate.c @ 31:2841234d2aea trunk
[svn r35] * Attributes on struct fields/methods now work
* Updated object.d to 1.021
* Added -novalidate command line option. this is sometimes useful when debugging as it may let you read the .ll even if it's invalid.
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 16:44:07 +0200 |
parents | 0e86428ee567 |
children | 8b0e809563df |
comparison
equal
deleted
inserted
replaced
30:881158a93592 | 31:2841234d2aea |
---|---|
96 | 96 |
97 IRStruct::IRStruct() | 97 IRStruct::IRStruct() |
98 : recty(llvm::OpaqueType::get()) | 98 : recty(llvm::OpaqueType::get()) |
99 { | 99 { |
100 type = 0; | 100 type = 0; |
101 queueFuncs = true; | |
101 } | 102 } |
102 | 103 |
103 IRStruct::IRStruct(Type* t) | 104 IRStruct::IRStruct(Type* t) |
104 : recty(llvm::OpaqueType::get()) | 105 : recty(llvm::OpaqueType::get()) |
105 { | 106 { |
106 type = t; | 107 type = t; |
108 queueFuncs = true; | |
107 } | 109 } |
108 | 110 |
109 IRStruct::~IRStruct() | 111 IRStruct::~IRStruct() |
110 { | 112 { |
111 } | 113 } |