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