OLD | NEW |
1 //===- subzero/src/IceAssemblerX8632.h - Assembler for x86-32 ---*- C++ -*-===// | 1 //===- subzero/src/IceAssemblerX8632.h - Assembler for x86-32 ---*- C++ -*-===// |
2 // | 2 // |
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
6 // | 6 // |
7 // Modified by the Subzero authors. | 7 // Modified by the Subzero authors. |
8 // | 8 // |
9 //===----------------------------------------------------------------------===// | 9 //===----------------------------------------------------------------------===// |
10 // | 10 // |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 public: | 47 public: |
48 explicit AssemblerX8632(bool use_far_branches = false) | 48 explicit AssemblerX8632(bool use_far_branches = false) |
49 : X86Internal::AssemblerX86Base<TargetX8632>(Asm_X8632, | 49 : X86Internal::AssemblerX86Base<TargetX8632>(Asm_X8632, |
50 use_far_branches) {} | 50 use_far_branches) {} |
51 ~AssemblerX8632() override = default; | 51 ~AssemblerX8632() override = default; |
52 | 52 |
53 static bool classof(const Assembler *Asm) { | 53 static bool classof(const Assembler *Asm) { |
54 return Asm->getKind() == Asm_X8632; | 54 return Asm->getKind() == Asm_X8632; |
55 } | 55 } |
| 56 |
| 57 private: |
| 58 ENABLE_MAKE_UNIQUE; |
56 }; | 59 }; |
57 | 60 |
58 } // end of namespace X8632 | 61 } // end of namespace X8632 |
59 } // end of namespace Ice | 62 } // end of namespace Ice |
60 | 63 |
61 #endif // SUBZERO_SRC_ICEASSEMBLERX8632_H | 64 #endif // SUBZERO_SRC_ICEASSEMBLERX8632_H |
OLD | NEW |