| 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 27 matching lines...) Expand all Loading... |
| 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_NATIVE_REGEXP | 46 #ifdef V8_NATIVE_REGEXP |
| 47 #if V8_TARGET_ARCH_IA32 | 47 #if V8_TARGET_ARCH_IA32 |
| 48 #include "ia32/macro-assembler-ia32.h" | |
| 49 #include "ia32/regexp-macro-assembler-ia32.h" | 48 #include "ia32/regexp-macro-assembler-ia32.h" |
| 50 #elif V8_TARGET_ARCH_X64 | 49 #elif V8_TARGET_ARCH_X64 |
| 51 #include "x64/macro-assembler-x64.h" | |
| 52 #include "x64/regexp-macro-assembler-x64.h" | 50 #include "x64/regexp-macro-assembler-x64.h" |
| 53 #elif V8_TARGET_ARCH_ARM | 51 #elif V8_TARGET_ARCH_ARM |
| 54 #include "arm/macro-assembler-arm.h" | |
| 55 #include "arm/regexp-macro-assembler-arm.h" | 52 #include "arm/regexp-macro-assembler-arm.h" |
| 56 #else | 53 #else |
| 57 #error Unsupported target architecture. | 54 #error Unsupported target architecture. |
| 58 #endif | 55 #endif |
| 59 #endif | 56 #endif |
| 60 | 57 |
| 61 #include "interpreter-irregexp.h" | 58 #include "interpreter-irregexp.h" |
| 62 | 59 |
| 63 | 60 |
| 64 namespace v8 { | 61 namespace v8 { |
| (...skipping 4421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4486 RegExpMacroAssemblerIrregexp macro_assembler(codes); | 4483 RegExpMacroAssemblerIrregexp macro_assembler(codes); |
| 4487 #endif | 4484 #endif |
| 4488 | 4485 |
| 4489 return compiler.Assemble(¯o_assembler, | 4486 return compiler.Assemble(¯o_assembler, |
| 4490 node, | 4487 node, |
| 4491 data->capture_count, | 4488 data->capture_count, |
| 4492 pattern); | 4489 pattern); |
| 4493 } | 4490 } |
| 4494 | 4491 |
| 4495 }} // namespace v8::internal | 4492 }} // namespace v8::internal |
| OLD | NEW |