In the case when the virtual function returns by ref we need to convert the return storage properly and adjust the function call. Eg: virtual const MyClass& getMyClass();
In the case when the virtual function returns by ref we need to convert the
return storage properly and adjust the function call. Eg:
virtual const MyClass& getMyClass();

void trampoline(..., MyClass** __Res) {
  if(__Res)
    *__Res = &getMyClass();
  ...
}


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@48560 27541ba8-7e3a-0410-8455-c3a389f83636

krafczyk/root,mattkretz/root,buuck/root,cxx-hep/root-cern,CristinaCristescu/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,vukasinmilosevic/root,mhuwiler/rootauto,thomaskeck/root,CristinaCristescu/root,gbitzes/root,karies/root,0x0all/ROOT,satyarth934/root,georgtroska/root,sawenzel/root,BerserkerTroll/root,zzxuanyuan/root,arch1tect0r/root,olifre/root,bbockelm/root,krafczyk/root,beniz/root,sawenzel/root,karies/root,krafczyk/root,mkret2/root,mhuwiler/rootauto,Y--/root,omazapa/root-old,bbockelm/root,gganis/root,evgeny-boger/root,esakellari/my_root_for_test,davidlt/root,mkret2/root,beniz/root,bbockelm/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,omazapa/root,sbinet/cxx-root,cxx-hep/root-cern,dfunke/root,zzxuanyuan/root,Duraznos/root,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,davidlt/root,agarciamontoro/root,jrtomps/root,beniz/root,cxx-hep/root-cern,mattkretz/root,agarciamontoro/root,mkret2/root,mkret2/root,veprbl/root,evgeny-boger/root,veprbl/root,jrtomps/root,satyarth934/root,thomaskeck/root,nilqed/root,omazapa/root,mattkretz/root,satyarth934/root,gganis/root,smarinac/root,sirinath/root,veprbl/root,pspe/root,esakellari/my_root_for_test,BerserkerTroll/root,pspe/root,vukasinmilosevic/root,sawenzel/root,mattkretz/root,gbitzes/root,sbinet/cxx-root,davidlt/root,gbitzes/root,jrtomps/root,omazapa/root,sbinet/cxx-root,omazapa/root,perovic/root,bbockelm/root,gganis/root,evgeny-boger/root,agarciamontoro/root,olifre/root,georgtroska/root,BerserkerTroll/root,lgiommi/root,smarinac/root,zzxuanyuan/root-compressor-dummy,esakellari/my_root_for_test,karies/root,beniz/root,beniz/root,beniz/root,zzxuanyuan/root-compressor-dummy,gganis/root,gganis/root,Y--/root,arch1tect0r/root,BerserkerTroll/root,sbinet/cxx-root,smarinac/root,Duraznos/root,agarciamontoro/root,olifre/root,bbockelm/root,sirinath/root,omazapa/root-old,gganis/root,georgtroska/root,mhuwiler/rootauto,Duraznos/root,arch1tect0r/root,simonpf/root,smarinac/root,buuck/root,dfunke/root,CristinaCristescu/root,olifre/root,perovic/root,mhuwiler/rootauto,sirinath/root,veprbl/root,abhinavmoudgil95/root,vukasinmilosevic/root,evgeny-boger/root,veprbl/root,Duraznos/root,gbitzes/root,CristinaCristescu/root,evgeny-boger/root,pspe/root,arch1tect0r/root,arch1tect0r/root,jrtomps/root,zzxuanyuan/root,lgiommi/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,root-mirror/root,cxx-hep/root-cern,agarciamontoro/root,georgtroska/root,simonpf/root,veprbl/root,bbockelm/root,krafczyk/root,karies/root,esakellari/root,sawenzel/root,olifre/root,krafczyk/root,BerserkerTroll/root,gbitzes/root,beniz/root,sbinet/cxx-root,lgiommi/root,gbitzes/root,root-mirror/root,arch1tect0r/root,root-mirror/root,alexschlueter/cern-root,sbinet/cxx-root,sirinath/root,root-mirror/root,abhinavmoudgil95/root,krafczyk/root,nilqed/root,mkret2/root,perovic/root,alexschlueter/cern-root,veprbl/root,georgtroska/root,sawenzel/root,nilqed/root,nilqed/root,esakellari/my_root_for_test,jrtomps/root,thomaskeck/root,esakellari/my_root_for_test,omazapa/root,omazapa/root-old,zzxuanyuan/root,cxx-hep/root-cern,lgiommi/root,krafczyk/root,lgiommi/root,alexschlueter/cern-root,abhinavmoudgil95/root,beniz/root,zzxuanyuan/root,esakellari/root,omazapa/root,nilqed/root,veprbl/root,cxx-hep/root-cern,dfunke/root,omazapa/root,nilqed/root,georgtroska/root,pspe/root,mattkretz/root,BerserkerTroll/root,olifre/root,esakellari/my_root_for_test,pspe/root,dfunke/root,0x0all/ROOT,alexschlueter/cern-root,Duraznos/root,zzxuanyuan/root-compressor-dummy,veprbl/root,bbockelm/root,mattkretz/root,beniz/root,zzxuanyuan/root,sawenzel/root,perovic/root,evgeny-boger/root,esakellari/my_root_for_test,zzxuanyuan/root,arch1tect0r/root,Duraznos/root,omazapa/root-old,olifre/root,root-mirror/root,esakellari/root,arch1tect0r/root,georgtroska/root,georgtroska/root,bbockelm/root,veprbl/root,mkret2/root,omazapa/root-old,abhinavmoudgil95/root,jrtomps/root,arch1tect0r/root,zzxuanyuan/root-compressor-dummy,pspe/root,gganis/root,omazapa/root,buuck/root,krafczyk/root,karies/root,buuck/root,Duraznos/root,dfunke/root,smarinac/root,agarciamontoro/root,simonpf/root,CristinaCristescu/root,krafczyk/root,esakellari/root,satyarth934/root,omazapa/root-old,simonpf/root,vukasinmilosevic/root,agarciamontoro/root,abhinavmoudgil95/root,mhuwiler/rootauto,esakellari/root,sbinet/cxx-root,Duraznos/root,esakellari/root,sbinet/cxx-root,karies/root,satyarth934/root,mkret2/root,omazapa/root-old,krafczyk/root,davidlt/root,lgiommi/root,BerserkerTroll/root,BerserkerTroll/root,thomaskeck/root,gganis/root,vukasinmilosevic/root,Y--/root,root-mirror/root,nilqed/root,thomaskeck/root,dfunke/root,Y--/root,karies/root,dfunke/root,simonpf/root,0x0all/ROOT,davidlt/root,dfunke/root,sawenzel/root,BerserkerTroll/root,jrtomps/root,bbockelm/root,abhinavmoudgil95/root,lgiommi/root,0x0all/ROOT,agarciamontoro/root,smarinac/root,georgtroska/root,vukasinmilosevic/root,smarinac/root,sirinath/root,jrtomps/root,smarinac/root,abhinavmoudgil95/root,smarinac/root,smarinac/root,Y--/root,satyarth934/root,Duraznos/root,root-mirror/root,bbockelm/root,simonpf/root,perovic/root,dfunke/root,sirinath/root,zzxuanyuan/root,buuck/root,vukasinmilosevic/root,pspe/root,satyarth934/root,evgeny-boger/root,sbinet/cxx-root,satyarth934/root,mattkretz/root,zzxuanyuan/root-compressor-dummy,Duraznos/root,jrtomps/root,sirinath/root,pspe/root,zzxuanyuan/root-compressor-dummy,dfunke/root,0x0all/ROOT,abhinavmoudgil95/root,olifre/root,simonpf/root,karies/root,root-mirror/root,root-mirror/root,mattkretz/root,0x0all/ROOT,buuck/root,sawenzel/root,georgtroska/root,sirinath/root,davidlt/root,mattkretz/root,zzxuanyuan/root,buuck/root,lgiommi/root,lgiommi/root,mhuwiler/rootauto,gganis/root,CristinaCristescu/root,karies/root,mhuwiler/rootauto,perovic/root,perovic/root,zzxuanyuan/root,jrtomps/root,satyarth934/root,omazapa/root,CristinaCristescu/root,thomaskeck/root,sbinet/cxx-root,Y--/root,georgtroska/root,evgeny-boger/root,sirinath/root,BerserkerTroll/root,thomaskeck/root,Y--/root,alexschlueter/cern-root,karies/root,veprbl/root,esakellari/my_root_for_test,0x0all/ROOT,esakellari/root,cxx-hep/root-cern,CristinaCristescu/root,root-mirror/root,vukasinmilosevic/root,Y--/root,Y--/root,agarciamontoro/root,gbitzes/root,omazapa/root,agarciamontoro/root,abhinavmoudgil95/root,gbitzes/root,cxx-hep/root-cern,satyarth934/root,root-mirror/root,pspe/root,zzxuanyuan/root,mkret2/root,gbitzes/root,gbitzes/root,evgeny-boger/root,perovic/root,buuck/root,agarciamontoro/root,perovic/root,omazapa/root-old,olifre/root,0x0all/ROOT,gganis/root,thomaskeck/root,krafczyk/root,nilqed/root,davidlt/root,abhinavmoudgil95/root,alexschlueter/cern-root,esakellari/root,sbinet/cxx-root,vukasinmilosevic/root,CristinaCristescu/root,Y--/root,gganis/root,thomaskeck/root,pspe/root,sirinath/root,mkret2/root,esakellari/root,bbockelm/root,davidlt/root,omazapa/root-old,Duraznos/root,mkret2/root,sawenzel/root,evgeny-boger/root,zzxuanyuan/root,buuck/root,BerserkerTroll/root,CristinaCristescu/root,perovic/root,omazapa/root-old,sirinath/root,CristinaCristescu/root,pspe/root,satyarth934/root,lgiommi/root,mhuwiler/rootauto,alexschlueter/cern-root,mhuwiler/rootauto,buuck/root,olifre/root,omazapa/root,0x0all/ROOT,mattkretz/root,mhuwiler/rootauto,esakellari/my_root_for_test,karies/root,davidlt/root,simonpf/root,davidlt/root,abhinavmoudgil95/root,buuck/root,olifre/root,esakellari/root,perovic/root,simonpf/root,zzxuanyuan/root-compressor-dummy,esakellari/my_root_for_test,simonpf/root,beniz/root,mattkretz/root,mkret2/root,nilqed/root,jrtomps/root,evgeny-boger/root,simonpf/root,arch1tect0r/root,beniz/root,dfunke/root,sawenzel/root,davidlt/root,gbitzes/root,thomaskeck/root,Y--/root,nilqed/root,esakellari/root,vukasinmilosevic/root,nilqed/root,sawenzel/root,mhuwiler/rootauto