Attempt to fix inscrutible build break...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 16 Nov 2017 22:40:02 +0000 (22:40 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 16 Nov 2017 22:40:02 +0000 (22:40 +0000)
llvm-svn: 318463

llvm/tools/llvm-readobj/ARMEHABIPrinter.h

index 813ac2b..4417aa6 100644 (file)
@@ -93,7 +93,7 @@ inline ArrayRef<OpcodeDecoder::RingEntry> OpcodeDecoder::ring() {
       {0xf8, 0xd0, &OpcodeDecoder::Decode_11010nnn},
       {0xc0, 0xc0, &OpcodeDecoder::Decode_11xxxyyy},
   };
-  return Ring;
+  return makeArrayRef(Ring);
 }
 
 inline void OpcodeDecoder::Decode_00xxxxxx(const uint8_t *Opcodes,