]> granicus.if.org Git - clang/commit
Save another call to GetAddrOfFunction.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 9 Dec 2013 16:01:03 +0000 (16:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 9 Dec 2013 16:01:03 +0000 (16:01 +0000)
commit1befc8f8e0d108ee43d3c7e738f6920f064d2181
treef23dfefe434ecdd6f183a59517cdd362df2c11a2
parent9c8da1b492c33dce3367c7edd3d3bcf1560535e9
Save another call to GetAddrOfFunction.

Thread an optional GV down to EmitGlobalFunctionDefinition so that it can
avoid the lookup when we already know the corresponding llvm global value.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196789 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h