parent
b493d53424
commit
f4ffa0dabf
|
@ -1872,7 +1872,6 @@ LValue CodeGenFunction::EmitObjCSuperExprLValue(const ObjCSuperExpr *E) {
|
||||||
LValue CodeGenFunction::EmitStmtExprLValue(const StmtExpr *E) {
|
LValue CodeGenFunction::EmitStmtExprLValue(const StmtExpr *E) {
|
||||||
// Can only get l-value for message expression returning aggregate type
|
// Can only get l-value for message expression returning aggregate type
|
||||||
RValue RV = EmitAnyExprToTemp(E);
|
RValue RV = EmitAnyExprToTemp(E);
|
||||||
// FIXME: can this be volatile?
|
|
||||||
return LValue::MakeAddr(RV.getAggregateAddr(), MakeQualifiers(E->getType()));
|
return LValue::MakeAddr(RV.getAggregateAddr(), MakeQualifiers(E->getType()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace CodeGen {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CGRecordLayout(const llvm::Type *T, bool ContainsPointerToDataMember)
|
CGRecordLayout(const llvm::Type *T, bool ContainsPointerToDataMember)
|
||||||
: LLVMType(T), ContainsPointerToDataMember(ContainsPointerToDataMember) { }
|
: LLVMType(T), ContainsPointerToDataMember(ContainsPointerToDataMember) {}
|
||||||
|
|
||||||
/// getLLVMType - Return llvm type associated with this record.
|
/// getLLVMType - Return llvm type associated with this record.
|
||||||
const llvm::Type *getLLVMType() const {
|
const llvm::Type *getLLVMType() const {
|
||||||
|
@ -107,8 +107,6 @@ class CodeGenTypes {
|
||||||
|
|
||||||
/// CGRecordLayouts - This maps llvm struct type with corresponding
|
/// CGRecordLayouts - This maps llvm struct type with corresponding
|
||||||
/// record layout info.
|
/// record layout info.
|
||||||
/// FIXME : If CGRecordLayout is less than 16 bytes then use
|
|
||||||
/// inline it in the map.
|
|
||||||
llvm::DenseMap<const Type*, CGRecordLayout *> CGRecordLayouts;
|
llvm::DenseMap<const Type*, CGRecordLayout *> CGRecordLayouts;
|
||||||
|
|
||||||
/// FieldInfo - This maps struct field with corresponding llvm struct type
|
/// FieldInfo - This maps struct field with corresponding llvm struct type
|
||||||
|
|
Loading…
Reference in New Issue