Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: src/assembler_arm32.h

Issue 1114223002: Rename AssemblerX86 to AssemblerX8632 so it works with SZTargets.def. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/assembler_ia32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/assembler_arm32.h - Assembler for ARM32 ------*- C++ -*-===// 1 //===- subzero/src/assembler_arm32.h - Assembler for ARM32 ------*- 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 10 matching lines...) Expand all
21 21
22 #ifndef SUBZERO_SRC_ASSEMBLER_ARM32_H 22 #ifndef SUBZERO_SRC_ASSEMBLER_ARM32_H
23 #define SUBZERO_SRC_ASSEMBLER_ARM32_H 23 #define SUBZERO_SRC_ASSEMBLER_ARM32_H
24 24
25 #include "IceDefs.h" 25 #include "IceDefs.h"
26 #include "IceFixups.h" 26 #include "IceFixups.h"
27 27
28 #include "assembler.h" 28 #include "assembler.h"
29 29
30 namespace Ice { 30 namespace Ice {
31 namespace ARM32 {
31 32
32 class AssemblerARM32 : public Assembler { 33 class AssemblerARM32 : public Assembler {
33 AssemblerARM32(const AssemblerARM32 &) = delete; 34 AssemblerARM32(const AssemblerARM32 &) = delete;
34 AssemblerARM32 &operator=(const AssemblerARM32 &) = delete; 35 AssemblerARM32 &operator=(const AssemblerARM32 &) = delete;
35 36
36 public: 37 public:
37 explicit AssemblerARM32(bool use_far_branches = false) : Assembler() { 38 explicit AssemblerARM32(bool use_far_branches = false) : Assembler() {
38 // This mode is only needed and implemented for MIPS and ARM. 39 // This mode is only needed and implemented for MIPS and ARM.
39 assert(!use_far_branches); 40 assert(!use_far_branches);
40 (void)use_far_branches; 41 (void)use_far_branches;
(...skipping 19 matching lines...) Expand all
60 (void)NodeNumber; 61 (void)NodeNumber;
61 llvm::report_fatal_error("Not yet implemented."); 62 llvm::report_fatal_error("Not yet implemented.");
62 } 63 }
63 64
64 bool fixupIsPCRel(FixupKind Kind) const override { 65 bool fixupIsPCRel(FixupKind Kind) const override {
65 (void)Kind; 66 (void)Kind;
66 llvm::report_fatal_error("Not yet implemented."); 67 llvm::report_fatal_error("Not yet implemented.");
67 } 68 }
68 }; 69 };
69 70
71 } // end of namespace ARM32
70 } // end of namespace Ice 72 } // end of namespace Ice
71 73
72 #endif // SUBZERO_SRC_ASSEMBLER_ARM32_H 74 #endif // SUBZERO_SRC_ASSEMBLER_ARM32_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/assembler_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698