| 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 | 6 |
| 7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
| 8 #include "src/ast.h" | 8 #include "src/ast.h" |
| 9 #include "src/regexp-macro-assembler.h" | 9 #include "src/regexp-macro-assembler.h" |
| 10 #include "src/regexp-stack.h" | 10 #include "src/regexp-stack.h" |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 if (new_stack_base == NULL) { | 300 if (new_stack_base == NULL) { |
| 301 return NULL; | 301 return NULL; |
| 302 } | 302 } |
| 303 *stack_base = new_stack_base; | 303 *stack_base = new_stack_base; |
| 304 intptr_t stack_content_size = old_stack_base - stack_pointer; | 304 intptr_t stack_content_size = old_stack_base - stack_pointer; |
| 305 return new_stack_base - stack_content_size; | 305 return new_stack_base - stack_content_size; |
| 306 } | 306 } |
| 307 | 307 |
| 308 #endif // V8_INTERPRETED_REGEXP | 308 #endif // V8_INTERPRETED_REGEXP |
| 309 | 309 |
| 310 } } // namespace v8::internal | 310 } // namespace internal |
| 311 } // namespace v8 |
| OLD | NEW |