[PATCH] [-cxx-abi microsoft] Emit thunks for pointers to virtual member functions

Timur Iskhodzhanov timurrrr at google.com
Fri Nov 15 04:14:23 PST 2013



================
Comment at: lib/CodeGen/CodeGenFunction.h:1159
@@ +1158,3 @@
+  void EmitCallAndReturnForThunk(GlobalDecl GD, llvm::Value *Callee,
+                                 llvm::Value *ThisPtr,
+                                 const ThunkInfo *Thunk);
----------------
Do you need ThisPtr as a parameter yet?
You pass `CGF.LoadCXXThis()` as an argument in both places.


http://llvm-reviews.chandlerc.com/D2104



More information about the cfe-commits mailing list