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

Side by Side Diff: src/a64/debugger-a64.h

Issue 181253002: A64: Make the Decoder a template (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/a64/decoder-a64.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 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 23 matching lines...) Expand all
34 #include "utils.h" 34 #include "utils.h"
35 #include "a64/constants-a64.h" 35 #include "a64/constants-a64.h"
36 #include "a64/simulator-a64.h" 36 #include "a64/simulator-a64.h"
37 37
38 namespace v8 { 38 namespace v8 {
39 namespace internal { 39 namespace internal {
40 40
41 41
42 class Debugger : public Simulator { 42 class Debugger : public Simulator {
43 public: 43 public:
44 Debugger(Decoder* decoder, FILE* stream = stderr) 44 Debugger(Decoder<DispatchingDecoderVisitor>* decoder, FILE* stream = stderr)
45 : Simulator(decoder, NULL, stream) {} 45 : Simulator(decoder, NULL, stream) {}
46 46
47 // Functions overloading. 47 // Functions overloading.
48 void VisitException(Instruction* instr); 48 void VisitException(Instruction* instr);
49 }; 49 };
50 50
51 51
52 } } // namespace v8::internal 52 } } // namespace v8::internal
53 53
54 #endif // USE_SIMULATOR 54 #endif // USE_SIMULATOR
55 55
56 #endif // V8_A64_DEBUGGER_A64_H_ 56 #endif // V8_A64_DEBUGGER_A64_H_
OLDNEW
« no previous file with comments | « no previous file | src/a64/decoder-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698