Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 //===- subzero/src/PNaClTranslator.cpp - ICE from bitcode -----------------===// | 1 //===- subzero/src/PNaClTranslator.cpp - ICE from bitcode -----------------===// |
| 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 implements the PNaCl bitcode file to Ice, to machine code | 11 /// \brief Implements the PNaCl bitcode file to Ice, to machine code |
|
Jim Stichnoth
2015/12/01 18:41:17
How about:
Implements the interface for translati
rkotlerimgtec
2015/12/02 01:32:49
Done.
| |
| 12 /// translator. | 12 /// translator. |
| 13 /// | 13 /// |
| 14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 15 | 15 |
| 16 #include "PNaClTranslator.h" | 16 #include "PNaClTranslator.h" |
| 17 | 17 |
| 18 #include "IceAPInt.h" | 18 #include "IceAPInt.h" |
| 19 #include "IceAPFloat.h" | 19 #include "IceAPFloat.h" |
| 20 #include "IceCfg.h" | 20 #include "IceCfg.h" |
| 21 #include "IceCfgNode.h" | 21 #include "IceCfgNode.h" |
| (...skipping 3275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3297 raw_string_ostream StrBuf(Buffer); | 3297 raw_string_ostream StrBuf(Buffer); |
| 3298 StrBuf << IRFilename << ": Does not contain a module!"; | 3298 StrBuf << IRFilename << ": Does not contain a module!"; |
| 3299 llvm::report_fatal_error(StrBuf.str()); | 3299 llvm::report_fatal_error(StrBuf.str()); |
| 3300 } | 3300 } |
| 3301 if (InputStreamFile.getBitcodeBytes().getExtent() % 4 != 0) { | 3301 if (InputStreamFile.getBitcodeBytes().getExtent() % 4 != 0) { |
| 3302 llvm::report_fatal_error("Bitcode stream should be a multiple of 4 bytes"); | 3302 llvm::report_fatal_error("Bitcode stream should be a multiple of 4 bytes"); |
| 3303 } | 3303 } |
| 3304 } | 3304 } |
| 3305 | 3305 |
| 3306 } // end of namespace Ice | 3306 } // end of namespace Ice |
| OLD | NEW |