]> granicus.if.org Git - llvm/commitdiff
Fix build due to missing definition.
authorZachary Turner <zturner@google.com>
Wed, 2 Nov 2016 17:10:55 +0000 (17:10 +0000)
committerZachary Turner <zturner@google.com>
Wed, 2 Nov 2016 17:10:55 +0000 (17:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285837 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h

index 773cfa22bc764b293dbfad98ca329e4f5411f660..3a6a5b2d9344f85bf29006f2ef3e2a7c1c69fc1a 100644 (file)
@@ -107,7 +107,7 @@ public:
     } else {
       typename T::value_type Field;
       // Stop when we run out of bytes or we hit record padding bytes.
-      while (!Reader->empty() && Reader->peek() < LF_PAD0) {
+      while (!Reader->empty() && Reader->peek() < 0xf0 /* LF_PAD0 */) {
         if (auto EC = Mapper(*this, Field))
           return EC;
         Items.push_back(Field);