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

Side by Side Diff: src/regexp/regexp-macro-assembler-tracer.h

Issue 1285163003: Move regexp implementation into its own folder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comment 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 // 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
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_
OLDNEW
« no previous file with comments | « src/regexp/regexp-macro-assembler-irregexp-inl.h ('k') | src/regexp/regexp-macro-assembler-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698