| OLD | NEW |
| 1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- C++ -*-===// | 1 //===- subzero/src/IceTranslator.h - ICE to machine code --------*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file declares the general driver class for translating ICE to | 10 // This file declares the general driver class for translating ICE to |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 /// Prefix to name unnamed names. Errors are put on Ostream. | 67 /// Prefix to name unnamed names. Errors are put on Ostream. |
| 68 /// Returns true if there isn't a potential conflict. | 68 /// Returns true if there isn't a potential conflict. |
| 69 bool checkIfUnnamedNameSafe(const IceString &Name, const char *Kind, | 69 bool checkIfUnnamedNameSafe(const IceString &Name, const char *Kind, |
| 70 const IceString &Prefix); | 70 const IceString &Prefix); |
| 71 | 71 |
| 72 uint32_t getNextSequenceNumber() { return NextSequenceNumber++; } | 72 uint32_t getNextSequenceNumber() { return NextSequenceNumber++; } |
| 73 | 73 |
| 74 protected: | 74 protected: |
| 75 GlobalContext *Ctx; | 75 GlobalContext *Ctx; |
| 76 uint32_t NextSequenceNumber; | 76 uint32_t NextSequenceNumber; |
| 77 // Exit status of the translation. False is successful. True otherwise. | 77 // ErrorCode of the translation. |
| 78 ErrorCode ErrorStatus; | 78 ErrorCode ErrorStatus; |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // end of namespace Ice | 81 } // end of namespace Ice |
| 82 | 82 |
| 83 #endif // SUBZERO_SRC_ICETRANSLATOR_H | 83 #endif // SUBZERO_SRC_ICETRANSLATOR_H |
| OLD | NEW |