1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Try to fix the build of IntelJITEventListener.

llvm-svn: 238709
This commit is contained in:
Rafael Espindola 2015-06-01 02:18:14 +00:00
parent 2dada5337b
commit 1aab75a797

View File

@ -119,10 +119,9 @@ void IntelJITEventListener::NotifyObjectEmitted(
if (SymType == SymbolRef::ST_Function) {
StringRef Name;
uint64_t Addr;
uint64_t Size;
if (I->getName(Name)) continue;
if (I->getAddress(Addr)) continue;
if (I->getSize(Size)) continue;
uint64_t Size = I->getSize();
// Record this address in a local vector
Functions.push_back((void*)Addr);