Mercurial > projects > ldc
comparison ir/irstruct.h @ 199:ba47ac346ddd trunk
[svn r215] fix for empty class vtbl
author | ChristianK |
---|---|
date | Mon, 12 May 2008 21:08:33 +0200 |
parents | aca17e55b7a5 |
children | a95056b3c996 |
comparison
equal
deleted
inserted
replaced
198:17dc52256c58 | 199:ba47ac346ddd |
---|---|
75 bool defined; | 75 bool defined; |
76 bool constinited; | 76 bool constinited; |
77 | 77 |
78 llvm::GlobalVariable* vtbl; | 78 llvm::GlobalVariable* vtbl; |
79 #if OPAQUE_VTBLS | 79 #if OPAQUE_VTBLS |
80 llvm::ConstantArray* constVtbl; | 80 llvm::Constant* constVtbl; |
81 #else | 81 #else |
82 llvm::ConstantStruct* constVtbl; | 82 llvm::ConstantStruct* constVtbl; |
83 #endif | 83 #endif |
84 llvm::GlobalVariable* init; | 84 llvm::GlobalVariable* init; |
85 llvm::Constant* constInit; | 85 llvm::Constant* constInit; |