[PATCH] [-cxx-abi microsoft] Emit thunks for pointers to virtual	member functions
    Timur Iskhodzhanov 
    timurrrr at google.com
       
    Thu Nov 14 11:11:59 PST 2013
    
    
  
================
Comment at: lib/CodeGen/CodeGenFunction.h:1159
@@ +1158,3 @@
+  void EmitCallAndReturnForThunk(GlobalDecl GD, llvm::Value *Callee,
+                                 llvm::Value *AdjustedThisPtr,
+                                 const ThunkInfo *Thunk);
----------------
Hans Wennborg wrote:
> Timur Iskhodzhanov wrote:
> > Is there any strong reason why "this" adjustment can't be performed by this function?
> Yes, the vcall thunks shouldn't do this-adjustment.
Wait, how is that different from return adjustment? You're passing Thunk=0 anyways, right?
http://llvm-reviews.chandlerc.com/D2104
    
    
More information about the cfe-commits
mailing list