| OLD | NEW |
| 1 //===- subzero/src/IceThreading.cpp - Threading function definitions ------===// | 1 //===- subzero/src/IceThreading.cpp - Threading function definitions ------===// |
| 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 defines threading-related functions. | 10 /// \file |
| 11 // | 11 /// This file defines threading-related functions. |
| 12 /// |
| 12 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 13 | 14 |
| 14 #include "IceThreading.h" | 15 #include "IceThreading.h" |
| 15 | 16 |
| 16 #include "IceCfg.h" | 17 #include "IceCfg.h" |
| 17 #include "IceDefs.h" | 18 #include "IceDefs.h" |
| 18 | 19 |
| 19 namespace Ice { | 20 namespace Ice { |
| 20 | 21 |
| 21 EmitterWorkItem::EmitterWorkItem(uint32_t Seq) | 22 EmitterWorkItem::EmitterWorkItem(uint32_t Seq) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 assert(getKind() == WI_Asm); | 48 assert(getKind() == WI_Asm); |
| 48 return std::move(Function); | 49 return std::move(Function); |
| 49 } | 50 } |
| 50 | 51 |
| 51 std::unique_ptr<Cfg> EmitterWorkItem::getCfg() { | 52 std::unique_ptr<Cfg> EmitterWorkItem::getCfg() { |
| 52 assert(getKind() == WI_Cfg); | 53 assert(getKind() == WI_Cfg); |
| 53 return std::move(RawFunc); | 54 return std::move(RawFunc); |
| 54 } | 55 } |
| 55 | 56 |
| 56 } // end of namespace Ice | 57 } // end of namespace Ice |
| OLD | NEW |