diff options
author | Rui Ueyama <ruiu@google.com> | 2018-07-05 17:14:33 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-07-05 17:14:33 +0000 |
commit | a8db71f06fd9cd37ebcf154efe38b0e2d4e4034b (patch) | |
tree | 115c1e82b6e422c6f25376ed99b786e2c13d7a68 | |
parent | 22f5b9f124d2a606d27bfa8d5b3049e88dc3df21 (diff) | |
download | bcm5719-llvm-a8db71f06fd9cd37ebcf154efe38b0e2d4e4034b.tar.gz bcm5719-llvm-a8db71f06fd9cd37ebcf154efe38b0e2d4e4034b.zip |
Remove redundnat call of makeArrayRef(). NFC.
llvm-svn: 336378
-rw-r--r-- | lld/ELF/Arch/PPC64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Arch/PPC64.cpp b/lld/ELF/Arch/PPC64.cpp index cba1049dfb7..73317584aca 100644 --- a/lld/ELF/Arch/PPC64.cpp +++ b/lld/ELF/Arch/PPC64.cpp @@ -119,7 +119,7 @@ static uint32_t getEFlags(InputFile *File) { // This file implements v2 ABI. This function makes sure that all // object files have v2 or an unspecified version as an ABI version. uint32_t PPC64::calcEFlags() const { - for (InputFile *F : makeArrayRef(ObjectFiles)) { + for (InputFile *F : ObjectFiles) { uint32_t Flag = getEFlags(F); if (Flag == 1) error(toString(F) + ": ABI version 1 is not supported"); |