Mercurial > projects > ldc
comparison gen/dvalue.h @ 664:eef8ac26c66c
Some missed LLVMDC -> LDC.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 06 Oct 2008 22:54:08 +0200 |
parents | 03a5e609eef3 |
children | 30b42a283c8e |
comparison
equal
deleted
inserted
replaced
663:6aaa3d3c1183 | 664:eef8ac26c66c |
---|---|
1 #ifndef LLVMDC_GEN_DVALUE_H | 1 #ifndef LDC_GEN_DVALUE_H |
2 #define LLVMDC_GEN_DVALUE_H | 2 #define LDC_GEN_DVALUE_H |
3 | 3 |
4 /* | 4 /* |
5 These classes are used for generating the IR. They encapsulate D values and | 5 These classes are used for generating the IR. They encapsulate D values and |
6 provide a common interface to the most common operations. When more specialized | 6 provide a common interface to the most common operations. When more specialized |
7 handling is necessary, they hold enough information to do-the-right-thing (TM) | 7 handling is necessary, they hold enough information to do-the-right-thing (TM) |
166 Type*& getRType() { return rvalue->getType(); } | 166 Type*& getRType() { return rvalue->getType(); } |
167 virtual Type*& getType() { return getRType(); } | 167 virtual Type*& getType() { return getRType(); } |
168 virtual DLRValue* isLRValue() { return this; } | 168 virtual DLRValue* isLRValue() { return this; } |
169 }; | 169 }; |
170 | 170 |
171 #endif // LLVMDC_GEN_DVALUE_H | 171 #endif // LDC_GEN_DVALUE_H |