| OLD | NEW |
| 1 // Copyright 2008-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2008-2009 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/regexp/regexp-macro-assembler-irregexp.h" |
| 6 | 6 |
| 7 #include "src/ast.h" | 7 #include "src/ast.h" |
| 8 #include "src/regexp/bytecodes-irregexp.h" | 8 #include "src/regexp/bytecodes-irregexp.h" |
| 9 #include "src/regexp/regexp-macro-assembler.h" | 9 #include "src/regexp/regexp-macro-assembler.h" |
| 10 #include "src/regexp/regexp-macro-assembler-irregexp.h" | |
| 11 #include "src/regexp/regexp-macro-assembler-irregexp-inl.h" | 10 #include "src/regexp/regexp-macro-assembler-irregexp-inl.h" |
| 12 | 11 |
| 13 | 12 |
| 14 namespace v8 { | 13 namespace v8 { |
| 15 namespace internal { | 14 namespace internal { |
| 16 | 15 |
| 17 #ifdef V8_INTERPRETED_REGEXP | 16 #ifdef V8_INTERPRETED_REGEXP |
| 18 | 17 |
| 19 RegExpMacroAssemblerIrregexp::RegExpMacroAssemblerIrregexp(Isolate* isolate, | 18 RegExpMacroAssemblerIrregexp::RegExpMacroAssemblerIrregexp(Isolate* isolate, |
| 20 Vector<byte> buffer, | 19 Vector<byte> buffer, |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 MemCopy(buffer_.start(), old_buffer.start(), old_buffer.length()); | 447 MemCopy(buffer_.start(), old_buffer.start(), old_buffer.length()); |
| 449 if (old_buffer_was_our_own) { | 448 if (old_buffer_was_our_own) { |
| 450 old_buffer.Dispose(); | 449 old_buffer.Dispose(); |
| 451 } | 450 } |
| 452 } | 451 } |
| 453 | 452 |
| 454 #endif // V8_INTERPRETED_REGEXP | 453 #endif // V8_INTERPRETED_REGEXP |
| 455 | 454 |
| 456 } // namespace internal | 455 } // namespace internal |
| 457 } // namespace v8 | 456 } // namespace v8 |
| OLD | NEW |