| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 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_REGEXP_MACRO_ASSEMBLER_TRACER_H_ | 5 #ifndef V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ |
| 6 #define V8_REGEXP_MACRO_ASSEMBLER_TRACER_H_ | 6 #define V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ |
| 7 |
| 8 #include "src/regexp/regexp-macro-assembler.h" |
| 7 | 9 |
| 8 namespace v8 { | 10 namespace v8 { |
| 9 namespace internal { | 11 namespace internal { |
| 10 | 12 |
| 11 // Decorator on a RegExpMacroAssembler that write all calls. | 13 // Decorator on a RegExpMacroAssembler that write all calls. |
| 12 class RegExpMacroAssemblerTracer: public RegExpMacroAssembler { | 14 class RegExpMacroAssemblerTracer: public RegExpMacroAssembler { |
| 13 public: | 15 public: |
| 14 RegExpMacroAssemblerTracer(Isolate* isolate, RegExpMacroAssembler* assembler); | 16 RegExpMacroAssemblerTracer(Isolate* isolate, RegExpMacroAssembler* assembler); |
| 15 virtual ~RegExpMacroAssemblerTracer(); | 17 virtual ~RegExpMacroAssemblerTracer(); |
| 16 virtual void AbortedCodeGeneration(); | 18 virtual void AbortedCodeGeneration(); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); | 76 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); |
| 75 virtual void ClearRegisters(int reg_from, int reg_to); | 77 virtual void ClearRegisters(int reg_from, int reg_to); |
| 76 virtual void WriteStackPointerToRegister(int reg); | 78 virtual void WriteStackPointerToRegister(int reg); |
| 77 | 79 |
| 78 private: | 80 private: |
| 79 RegExpMacroAssembler* assembler_; | 81 RegExpMacroAssembler* assembler_; |
| 80 }; | 82 }; |
| 81 | 83 |
| 82 }} // namespace v8::internal | 84 }} // namespace v8::internal |
| 83 | 85 |
| 84 #endif // V8_REGEXP_MACRO_ASSEMBLER_TRACER_H_ | 86 #endif // V8_REGEXP_REGEXP_MACRO_ASSEMBLER_TRACER_H_ |
| OLD | NEW |