OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |