| OLD | NEW | 
|---|
| 1 //===-- NaClBitcodeAbbrevDist.h ---------------------------------------------===
     // | 1 //===-- NaClBitcodeAbbrevDist.h ---------------------------------------------===
     // | 
| 2 //      Defines distribution maps for abbreviations associated with | 2 //      Defines distribution maps for abbreviations associated with | 
| 3 //      bitcode records. | 3 //      bitcode records. | 
| 4 // | 4 // | 
| 5 //                     The LLVM Compiler Infrastructure | 5 //                     The LLVM Compiler Infrastructure | 
| 6 // | 6 // | 
| 7 // This file is distributed under the University of Illinois Open Source | 7 // This file is distributed under the University of Illinois Open Source | 
| 8 // License. See LICENSE.TXT for details. | 8 // License. See LICENSE.TXT for details. | 
| 9 // | 9 // | 
| 10 //===----------------------------------------------------------------------===// | 10 //===----------------------------------------------------------------------===// | 
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 58 | 58 | 
| 59   virtual const char *GetValueHeader() const; | 59   virtual const char *GetValueHeader() const; | 
| 60 | 60 | 
| 61   virtual void PrintRowValue(raw_ostream &Stream, | 61   virtual void PrintRowValue(raw_ostream &Stream, | 
| 62                              NaClBitcodeDistValue Value, | 62                              NaClBitcodeDistValue Value, | 
| 63                              const NaClBitcodeDist *Distribution) const; | 63                              const NaClBitcodeDist *Distribution) const; | 
| 64 | 64 | 
| 65   virtual const SmallVectorImpl<NaClBitcodeDist*> * | 65   virtual const SmallVectorImpl<NaClBitcodeDist*> * | 
| 66   GetNestedDistributions() const; | 66   GetNestedDistributions() const; | 
| 67 | 67 | 
| 68   NaClBitcodeDist *GetCodeDist() { | 68   NaClBitcodeDist &GetCodeDist() { | 
| 69     return &CodeDist; | 69     return CodeDist; | 
| 70   } | 70   } | 
| 71 | 71 | 
| 72 private: | 72 private: | 
| 73   // The block id associated with the abbreviation. | 73   // The block id associated with the abbreviation. | 
| 74   unsigned BlockID; | 74   unsigned BlockID; | 
| 75 | 75 | 
| 76   // Nested blocks used by GetNestedDistributions. | 76   // Nested blocks used by GetNestedDistributions. | 
| 77   SmallVector<NaClBitcodeDist*, 1> NestedDists; | 77   SmallVector<NaClBitcodeDist*, 1> NestedDists; | 
| 78 | 78 | 
| 79   /// The records associated with the given abbreviation. | 79   /// The records associated with the given abbreviation. | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 114 | 114 | 
| 115 private: | 115 private: | 
| 116   // The block id associated with the abbreviations in this | 116   // The block id associated with the abbreviations in this | 
| 117   // distribution map. | 117   // distribution map. | 
| 118   unsigned BlockID; | 118   unsigned BlockID; | 
| 119 }; | 119 }; | 
| 120 | 120 | 
| 121 } | 121 } | 
| 122 | 122 | 
| 123 #endif | 123 #endif | 
| OLD | NEW | 
|---|