[PATCH] D17911: Bitcode reader: Inline readAbbreviatedField in readRecord and move the enclosing loop in each case (NFC)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 6 15:57:23 PST 2016


tejohnson accepted this revision.
tejohnson added a reviewer: tejohnson.
tejohnson added a comment.
This revision is now accepted and ready to land.

LGTM with fix noted below.


================
Comment at: lib/Bitcode/Reader/BitstreamReader.cpp:146
@@ +145,3 @@
+        for (; NumElts; --NumElts)
+          Read((unsigned)EltEnc.getEncodingData());
+        break;
----------------
ReadVBR64?


http://reviews.llvm.org/D17911





More information about the llvm-commits mailing list