OLD | NEW |
---|---|
1 //===- subzero/src/PNaClTranslator.h - ICE from bitcode ---------*- C++ -*-===// | 1 //===- subzero/src/PNaClTranslator.h - ICE from bitcode ---------*- 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 /// \file | 10 /// \file |
11 /// This file declares the PNaCl bitcode file to ICE, to machine code | 11 /// \brief Declares the PNaCl bitcode file to ICE, to machine code |
Jim Stichnoth
2015/12/01 18:41:17
How about:
Declares the interface for translation
rkotlerimgtec
2015/12/02 01:32:49
Done.
| |
12 /// translator. | 12 /// translator. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #ifndef SUBZERO_SRC_PNACLTRANSLATOR_H | 16 #ifndef SUBZERO_SRC_PNACLTRANSLATOR_H |
17 #define SUBZERO_SRC_PNACLTRANSLATOR_H | 17 #define SUBZERO_SRC_PNACLTRANSLATOR_H |
18 | 18 |
19 #include "IceTranslator.h" | 19 #include "IceTranslator.h" |
20 | 20 |
21 #include <string> | 21 #include <string> |
(...skipping 21 matching lines...) Expand all Loading... | |
43 std::unique_ptr<llvm::MemoryObject> &&MemoryObject); | 43 std::unique_ptr<llvm::MemoryObject> &&MemoryObject); |
44 | 44 |
45 /// Reads MemBuf, assuming it is the PNaCl bitcode contents of IRFilename. | 45 /// Reads MemBuf, assuming it is the PNaCl bitcode contents of IRFilename. |
46 void translateBuffer(const std::string &IRFilename, | 46 void translateBuffer(const std::string &IRFilename, |
47 llvm::MemoryBuffer *MemBuf); | 47 llvm::MemoryBuffer *MemBuf); |
48 }; | 48 }; |
49 | 49 |
50 } // end of namespace Ice | 50 } // end of namespace Ice |
51 | 51 |
52 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H | 52 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H |
OLD | NEW |