Update for llvm changes.

llvm-svn: 240781
This commit is contained in:
Rafael Espindola 2015-06-26 13:19:38 +00:00
parent b39953d2df
commit bb50727e94
1 changed files with 1 additions and 3 deletions

View File

@ -215,9 +215,7 @@ private:
continue;
// Returns true if it's a data symbol.
SymbolRef::Type type;
if (sym.getType(type))
return false;
SymbolRef::Type type = sym.getType();
if (type == SymbolRef::ST_Data)
return true;
}