| 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 // This file implements the PNaCl bitcode file to Ice, to machine code | 10 /// \file |
| 11 // translator. | 11 /// This file implements the PNaCl bitcode file to Ice, to machine code |
| 12 // | 12 /// translator. |
| 13 /// |
| 13 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 14 | 15 |
| 15 #include "PNaClTranslator.h" | 16 #include "PNaClTranslator.h" |
| 16 | 17 |
| 17 #include "IceAPInt.h" | 18 #include "IceAPInt.h" |
| 18 #include "IceAPFloat.h" | 19 #include "IceAPFloat.h" |
| 19 #include "IceCfg.h" | 20 #include "IceCfg.h" |
| 20 #include "IceCfgNode.h" | 21 #include "IceCfgNode.h" |
| 21 #include "IceClFlags.h" | 22 #include "IceClFlags.h" |
| 22 #include "IceDefs.h" | 23 #include "IceDefs.h" |
| (...skipping 3084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3107 } | 3108 } |
| 3108 if (InputStreamFile.getBitcodeBytes().getExtent() % 4 != 0) { | 3109 if (InputStreamFile.getBitcodeBytes().getExtent() % 4 != 0) { |
| 3109 ErrStream | 3110 ErrStream |
| 3110 << IRFilename | 3111 << IRFilename |
| 3111 << ": Bitcode stream should be a multiple of 4 bytes in length.\n"; | 3112 << ": Bitcode stream should be a multiple of 4 bytes in length.\n"; |
| 3112 llvm::report_fatal_error("Bitcode stream should be a multiple of 4 bytes"); | 3113 llvm::report_fatal_error("Bitcode stream should be a multiple of 4 bytes"); |
| 3113 } | 3114 } |
| 3114 } | 3115 } |
| 3115 | 3116 |
| 3116 } // end of namespace Ice | 3117 } // end of namespace Ice |
| OLD | NEW |