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 // This file implements the PNaCl bitcode file to Ice, to machine code |
(...skipping 2229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2240 } | 2240 } |
2241 ++TopLevelBlocks; | 2241 ++TopLevelBlocks; |
2242 } | 2242 } |
2243 | 2243 |
2244 if (TopLevelBlocks != 1) { | 2244 if (TopLevelBlocks != 1) { |
2245 errs() << IRFilename | 2245 errs() << IRFilename |
2246 << ": Contains more than one module. Found: " << TopLevelBlocks | 2246 << ": Contains more than one module. Found: " << TopLevelBlocks |
2247 << "\n"; | 2247 << "\n"; |
2248 ErrorStatus = true; | 2248 ErrorStatus = true; |
2249 } | 2249 } |
2250 return; | |
2251 } | 2250 } |
2252 | 2251 |
2253 } // end of namespace Ice | 2252 } // end of namespace Ice |
OLD | NEW |