| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "runtime.h" | 36 #include "runtime.h" |
| 37 #include "top.h" | 37 #include "top.h" |
| 38 #include "compilation-cache.h" | 38 #include "compilation-cache.h" |
| 39 #include "string-stream.h" | 39 #include "string-stream.h" |
| 40 #include "parser.h" | 40 #include "parser.h" |
| 41 #include "regexp-macro-assembler.h" | 41 #include "regexp-macro-assembler.h" |
| 42 #include "regexp-macro-assembler-tracer.h" | 42 #include "regexp-macro-assembler-tracer.h" |
| 43 #include "regexp-macro-assembler-irregexp.h" | 43 #include "regexp-macro-assembler-irregexp.h" |
| 44 #include "regexp-stack.h" | 44 #include "regexp-stack.h" |
| 45 | 45 |
| 46 #ifdef V8_TARGET_ARCH_IA32 | 46 #if V8_TARGET_ARCH_IA32 |
| 47 #include "ia32/macro-assembler-ia32.h" | 47 #include "ia32/macro-assembler-ia32.h" |
| 48 #include "ia32/regexp-macro-assembler-ia32.h" | 48 #include "ia32/regexp-macro-assembler-ia32.h" |
| 49 #elif V8_TARGET_ARCH_X64 | 49 #elif V8_TARGET_ARCH_X64 |
| 50 #include "x64/macro-assembler-x64.h" | 50 #include "x64/macro-assembler-x64.h" |
| 51 #include "x64/regexp-macro-assembler-x64.h" | 51 #include "x64/regexp-macro-assembler-x64.h" |
| 52 #elif V8_TARGET_ARCH_ARM | 52 #elif V8_TARGET_ARCH_ARM |
| 53 #include "arm/regexp-macro-assembler-arm.h" | 53 #include "arm/regexp-macro-assembler-arm.h" |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #include "interpreter-irregexp.h" | 56 #include "interpreter-irregexp.h" |
| (...skipping 4405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4462 EmbeddedVector<byte, 1024> codes; | 4462 EmbeddedVector<byte, 1024> codes; |
| 4463 RegExpMacroAssemblerIrregexp macro_assembler(codes); | 4463 RegExpMacroAssemblerIrregexp macro_assembler(codes); |
| 4464 return compiler.Assemble(¯o_assembler, | 4464 return compiler.Assemble(¯o_assembler, |
| 4465 node, | 4465 node, |
| 4466 data->capture_count, | 4466 data->capture_count, |
| 4467 pattern); | 4467 pattern); |
| 4468 } | 4468 } |
| 4469 | 4469 |
| 4470 | 4470 |
| 4471 }} // namespace v8::internal | 4471 }} // namespace v8::internal |
| OLD | NEW |