Mercurial > projects > ldc
comparison ir/irstruct.cpp @ 173:db9890b3fb64 trunk
[svn r189] moving IR data back into DMD frontend nodes
author | ChristianK |
---|---|
date | Tue, 06 May 2008 07:56:03 +0200 |
parents | 5c17f81fc1c1 |
children | aca17e55b7a5 |
comparison
equal
deleted
inserted
replaced
172:68a7dd38c03c | 173:db9890b3fb64 |
---|---|
25 ////////////////////////////////////////////////////////////////////////////// | 25 ////////////////////////////////////////////////////////////////////////////// |
26 ////////////////////////////////////////////////////////////////////////////// | 26 ////////////////////////////////////////////////////////////////////////////// |
27 ////////////////////////////////////////////////////////////////////////////// | 27 ////////////////////////////////////////////////////////////////////////////// |
28 | 28 |
29 IrStruct::IrStruct(Type* t) | 29 IrStruct::IrStruct(Type* t) |
30 : recty((gIR && gIR->irType[t].type) ? *gIR->irType[t].type : llvm::OpaqueType::get()) | 30 : recty((t->ir.type) ? *t->ir.type : llvm::OpaqueType::get()) |
31 { | 31 { |
32 type = t; | 32 type = t; |
33 defined = false; | 33 defined = false; |
34 constinited = false; | 34 constinited = false; |
35 interfaceInfosTy = NULL; | 35 interfaceInfosTy = NULL; |