Try to fix the build of IntelJITEventListener.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 1 Jun 2015 02:18:14 +0000 (02:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 1 Jun 2015 02:18:14 +0000 (02:18 +0000)
llvm-svn: 238709

llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp

index ec67019..08d9d6b 100644 (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);