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/v8.h" | 5 #include "src/v8.h" |
| 6 |
| 7 #include "src/assembler.h" |
6 #include "src/ast.h" | 8 #include "src/ast.h" |
7 #include "src/assembler.h" | 9 #include "src/regexp-macro-assembler.h" |
8 #include "src/regexp-stack.h" | 10 #include "src/regexp-stack.h" |
9 #include "src/regexp-macro-assembler.h" | |
10 #include "src/simulator.h" | 11 #include "src/simulator.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone) | 16 RegExpMacroAssembler::RegExpMacroAssembler(Zone* zone) |
16 : slow_safe_compiler_(false), | 17 : slow_safe_compiler_(false), |
17 global_mode_(NOT_GLOBAL), | 18 global_mode_(NOT_GLOBAL), |
18 zone_(zone) { | 19 zone_(zone) { |
19 } | 20 } |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 return NULL; | 258 return NULL; |
258 } | 259 } |
259 *stack_base = new_stack_base; | 260 *stack_base = new_stack_base; |
260 intptr_t stack_content_size = old_stack_base - stack_pointer; | 261 intptr_t stack_content_size = old_stack_base - stack_pointer; |
261 return new_stack_base - stack_content_size; | 262 return new_stack_base - stack_content_size; |
262 } | 263 } |
263 | 264 |
264 #endif // V8_INTERPRETED_REGEXP | 265 #endif // V8_INTERPRETED_REGEXP |
265 | 266 |
266 } } // namespace v8::internal | 267 } } // namespace v8::internal |
OLD | NEW |