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

Side by Side Diff: src/disasm.h

Issue 1299563003: Remove grab-bag includes of v8.h from architecture ports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/arm64/simulator-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DISASM_H_ 5 #ifndef V8_DISASM_H_
6 #define V8_DISASM_H_ 6 #define V8_DISASM_H_
7 7
8 #include "src/utils.h"
9
8 namespace disasm { 10 namespace disasm {
9 11
10 typedef unsigned char byte; 12 typedef unsigned char byte;
11 13
12 // Interface and default implementation for converting addresses and 14 // Interface and default implementation for converting addresses and
13 // register-numbers to text. The default implementation is machine 15 // register-numbers to text. The default implementation is machine
14 // specific. 16 // specific.
15 class NameConverter { 17 class NameConverter {
16 public: 18 public:
17 virtual ~NameConverter() {} 19 virtual ~NameConverter() {}
(...skipping 30 matching lines...) Expand all
48 static void Disassemble(FILE* f, byte* begin, byte* end); 50 static void Disassemble(FILE* f, byte* begin, byte* end);
49 private: 51 private:
50 const NameConverter& converter_; 52 const NameConverter& converter_;
51 53
52 DISALLOW_IMPLICIT_CONSTRUCTORS(Disassembler); 54 DISALLOW_IMPLICIT_CONSTRUCTORS(Disassembler);
53 }; 55 };
54 56
55 } // namespace disasm 57 } // namespace disasm
56 58
57 #endif // V8_DISASM_H_ 59 #endif // V8_DISASM_H_
OLDNEW
« no previous file with comments | « src/arm64/simulator-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698