OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/regexp/regexp-macro-assembler.h" | 5 #include "src/regexp/regexp-macro-assembler.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/ast.h" | |
9 #include "src/isolate-inl.h" | 8 #include "src/isolate-inl.h" |
10 #include "src/regexp/regexp-stack.h" | 9 #include "src/regexp/regexp-stack.h" |
11 #include "src/simulator.h" | 10 #include "src/simulator.h" |
12 | 11 |
13 namespace v8 { | 12 namespace v8 { |
14 namespace internal { | 13 namespace internal { |
15 | 14 |
16 RegExpMacroAssembler::RegExpMacroAssembler(Isolate* isolate, Zone* zone) | 15 RegExpMacroAssembler::RegExpMacroAssembler(Isolate* isolate, Zone* zone) |
17 : slow_safe_compiler_(false), | 16 : slow_safe_compiler_(false), |
18 global_mode_(NOT_GLOBAL), | 17 global_mode_(NOT_GLOBAL), |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 } | 294 } |
296 *stack_base = new_stack_base; | 295 *stack_base = new_stack_base; |
297 intptr_t stack_content_size = old_stack_base - stack_pointer; | 296 intptr_t stack_content_size = old_stack_base - stack_pointer; |
298 return new_stack_base - stack_content_size; | 297 return new_stack_base - stack_content_size; |
299 } | 298 } |
300 | 299 |
301 #endif // V8_INTERPRETED_REGEXP | 300 #endif // V8_INTERPRETED_REGEXP |
302 | 301 |
303 } // namespace internal | 302 } // namespace internal |
304 } // namespace v8 | 303 } // namespace v8 |
OLD | NEW |