Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Side by Side Diff: src/PNaClTranslator.h

Issue 1341423002: Reflow comments to use the full width. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix spelling and rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceUtils.h ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 19 matching lines...) Expand all
30 class PNaClTranslator : public Translator { 30 class PNaClTranslator : public Translator {
31 PNaClTranslator() = delete; 31 PNaClTranslator() = delete;
32 PNaClTranslator(const PNaClTranslator &) = delete; 32 PNaClTranslator(const PNaClTranslator &) = delete;
33 PNaClTranslator &operator=(const PNaClTranslator &) = delete; 33 PNaClTranslator &operator=(const PNaClTranslator &) = delete;
34 34
35 public: 35 public:
36 explicit PNaClTranslator(GlobalContext *Ctx) : Translator(Ctx) {} 36 explicit PNaClTranslator(GlobalContext *Ctx) : Translator(Ctx) {}
37 ~PNaClTranslator() override = default; 37 ~PNaClTranslator() override = default;
38 38
39 /// Reads the PNaCl bitcode file and translates to ICE, which is then 39 /// Reads the PNaCl bitcode file and translates to ICE, which is then
40 /// converted to machine code. Sets ErrorStatus to 1 if any errors 40 /// converted to machine code. Sets ErrorStatus to 1 if any errors occurred.
41 /// occurred. Takes ownership of the MemoryObject. 41 /// Takes ownership of the MemoryObject.
42 void translate(const std::string &IRFilename, 42 void translate(const std::string &IRFilename,
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
OLDNEW
« no previous file with comments | « src/IceUtils.h ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698