diff options
| author | Devang Patel <dpatel@apple.com> | 2011-04-04 20:36:06 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-04-04 20:36:06 +0000 |
| commit | 84852bbb42b5302682d70fc9969fa1c8e0ac84a4 (patch) | |
| tree | fb74e3305ba0c2c4b40489774fb8bf1ff7b9922d /clang/lib/CodeGen/CGVTables.h | |
| parent | 8372006296ffcd23845acd0072c4bfbd24479be6 (diff) | |
| download | bcm5719-llvm-84852bbb42b5302682d70fc9969fa1c8e0ac84a4.tar.gz bcm5719-llvm-84852bbb42b5302682d70fc9969fa1c8e0ac84a4.zip | |
Revert r128770, r128771, r128773 and r128776 for now. It breaks debug info.
llvm-svn: 128842
Diffstat (limited to 'clang/lib/CodeGen/CGVTables.h')
| -rw-r--r-- | clang/lib/CodeGen/CGVTables.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGVTables.h b/clang/lib/CodeGen/CGVTables.h index e830e9a6fbc..b2f94018585 100644 --- a/clang/lib/CodeGen/CGVTables.h +++ b/clang/lib/CodeGen/CGVTables.h @@ -103,9 +103,9 @@ class CodeGenVTables { const CXXRecordDecl *> ClassPairTy; /// VirtualBaseClassOffsetOffsets - Contains the vtable offset (relative to - /// the address point) in chars where the offsets for virtual bases of a class + /// the address point) in bytes where the offsets for virtual bases of a class /// are stored. - typedef llvm::DenseMap<ClassPairTy, CharUnits> + typedef llvm::DenseMap<ClassPairTy, int64_t> VirtualBaseClassOffsetOffsetsMapTy; VirtualBaseClassOffsetOffsetsMapTy VirtualBaseClassOffsetOffsets; @@ -235,13 +235,13 @@ public: /// stored. uint64_t getMethodVTableIndex(GlobalDecl GD); - /// getVirtualBaseOffsetOffset - Return the offset in chars (relative to the + /// getVirtualBaseOffsetOffset - Return the offset in bytes (relative to the /// vtable address point) where the offset of the virtual base that contains /// the given base is stored, otherwise, if no virtual base contains the given /// class, return 0. Base must be a virtual base class or an unambigious /// base. - CharUnits getVirtualBaseOffsetOffset(const CXXRecordDecl *RD, - const CXXRecordDecl *VBase); + int64_t getVirtualBaseOffsetOffset(const CXXRecordDecl *RD, + const CXXRecordDecl *VBase); /// getAddressPoint - Get the address point of the given subobject in the /// class decl. |

