diff options
author | Devang Patel <dpatel@apple.com> | 2007-10-24 00:56:23 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-10-24 00:56:23 +0000 |
commit | c4c429a1a5947ba9be64d3070741d98362872265 (patch) | |
tree | c1731652650e633cefc612540f94d89693916fba /CodeGen/CodeGenFunction.cpp | |
parent | 0e63f6b436dde5539723b005242a8a032fcd5332 (diff) |
Constify methods and reuse RecordOrganizer object.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CodeGen/CodeGenFunction.cpp b/CodeGen/CodeGenFunction.cpp index 07953483cd..03d125f2c4 100644 --- a/CodeGen/CodeGenFunction.cpp +++ b/CodeGen/CodeGenFunction.cpp @@ -127,7 +127,7 @@ void CodeGenFunction::StartBlock(const char *N) { } /// getRecordLayoutInfo - Return record layout info. -RecordLayoutInfo *CodeGenFunction::getRecordLayoutInfo(CodeGenTypes &CGT, +const RecordLayoutInfo *CodeGenFunction::getRecordLayoutInfo(CodeGenTypes &CGT, QualType RTy) { assert (isa<RecordType>(RTy) && "Unexpected type. RecordType expected here."); |