[cfe-commits] r90393 - /cfe/trunk/lib/CodeGen/CGVtable.cpp
Anders Carlsson
andersca at mac.com
Wed Dec 2 18:20:26 PST 2009
Author: andersca
Date: Wed Dec 2 20:20:26 2009
New Revision: 90393
URL: http://llvm.org/viewvc/llvm-project?rev=90393&view=rev
Log:
Whoops, forgot to save :)
Modified:
cfe/trunk/lib/CodeGen/CGVtable.cpp
Modified: cfe/trunk/lib/CodeGen/CGVtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVtable.cpp?rev=90393&r1=90392&r2=90393&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGVtable.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVtable.cpp Wed Dec 2 20:20:26 2009
@@ -78,6 +78,8 @@
/// CovariantThunk - Represents a single covariant thunk.
struct CovariantThunk {
+ CovariantThunk() { }
+
CovariantThunk(GlobalDecl GD, const ThunkAdjustment &ReturnAdjustment,
CanQualType ReturnType)
: GD(GD), ReturnAdjustment(ReturnAdjustment),
@@ -757,7 +759,7 @@
// FIXME: Do we always have to build a covariant thunk to save oret,
// which is the containing virtual base class?
if (!ReturnAdjustment.isEmpty())
- CovariantThunks[i] = CovariantThunk(i, GD, ReturnAdjustment, oret);
+ CovariantThunks[i] = CovariantThunk(GD, ReturnAdjustment, oret);
if (!isPure && !ThisAdjustment.isEmpty())
Thunks[GD] = Thunk(i, ThisAdjustment);
@@ -772,7 +774,7 @@
if (!ReturnAdjustment.isEmpty())
CovariantThunks[i] =
- CovariantThunk(i, GD, ReturnAdjustment, oret);
+ CovariantThunk(GD, ReturnAdjustment, oret);
if (!isPure)
Thunks[GD] = Thunk(i, ThisAdjustment);
More information about the cfe-commits
mailing list