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

Side by Side Diff: src/IceAssemblerMIPS32.h

Issue 1265023003: Clarify which type "Label" refers to (generic vs X86) (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: not LabelBase Created 5 years, 4 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
OLDNEW
1 //===- subzero/src/IceAssemblerMIPS32.h - Assembler for MIPS ----*- C++ -*-===// 1 //===- subzero/src/IceAssemblerMIPS32.h - Assembler for MIPS ----*- 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // TODO(reed kotler) . Find out what this should be. 55 // TODO(reed kotler) . Find out what this should be.
56 static const uint8_t Padding[] = {0xE7, 0xFE, 0xDE, 0xF0}; 56 static const uint8_t Padding[] = {0xE7, 0xFE, 0xDE, 0xF0};
57 return llvm::ArrayRef<uint8_t>(Padding, 4); 57 return llvm::ArrayRef<uint8_t>(Padding, 4);
58 } 58 }
59 59
60 void padWithNop(intptr_t Padding) override { 60 void padWithNop(intptr_t Padding) override {
61 (void)Padding; 61 (void)Padding;
62 llvm::report_fatal_error("Not yet implemented."); 62 llvm::report_fatal_error("Not yet implemented.");
63 } 63 }
64 64
65 Label *getOrCreateCfgNodeLabel(SizeT NodeNumber) override { 65 Ice::Label *getCfgNodeLabel(SizeT NodeNumber) override {
66 (void)NodeNumber; 66 (void)NodeNumber;
67 llvm_unreachable("Not yet implemented."); 67 llvm_unreachable("Not yet implemented.");
68 } 68 }
69 69
70 void bindCfgNodeLabel(SizeT NodeNumber) override { 70 void bindCfgNodeLabel(SizeT NodeNumber) override {
71 (void)NodeNumber; 71 (void)NodeNumber;
72 llvm::report_fatal_error("Not yet implemented."); 72 llvm::report_fatal_error("Not yet implemented.");
73 } 73 }
74 74
75 bool fixupIsPCRel(FixupKind Kind) const override { 75 bool fixupIsPCRel(FixupKind Kind) const override {
76 (void)Kind; 76 (void)Kind;
77 llvm::report_fatal_error("Not yet implemented."); 77 llvm::report_fatal_error("Not yet implemented.");
78 } 78 }
79 79
80 static bool classof(const Assembler *Asm) { 80 static bool classof(const Assembler *Asm) {
81 return Asm->getKind() == Asm_MIPS32; 81 return Asm->getKind() == Asm_MIPS32;
82 } 82 }
83 }; 83 };
84 84
85 } // end of namespace MIPS32 85 } // end of namespace MIPS32
86 } // end of namespace Ice 86 } // end of namespace Ice
87 87
88 #endif // SUBZERO_SRC_ICEASSEMBLERMIPS32_H 88 #endif // SUBZERO_SRC_ICEASSEMBLERMIPS32_H
OLDNEW
« no previous file with comments | « src/IceAssemblerARM32.h ('k') | src/IceAssemblerX8632.h » ('j') | src/IceAssemblerX8632.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698