OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 16 matching lines...) Expand all Loading... |
28 #ifndef V8_JSREGEXP_H_ | 28 #ifndef V8_JSREGEXP_H_ |
29 #define V8_JSREGEXP_H_ | 29 #define V8_JSREGEXP_H_ |
30 | 30 |
31 #include "allocation.h" | 31 #include "allocation.h" |
32 #include "assembler.h" | 32 #include "assembler.h" |
33 #include "zone-inl.h" | 33 #include "zone-inl.h" |
34 | 34 |
35 namespace v8 { | 35 namespace v8 { |
36 namespace internal { | 36 namespace internal { |
37 | 37 |
38 | 38 class NodeVisitor; |
| 39 class RegExpCompiler; |
39 class RegExpMacroAssembler; | 40 class RegExpMacroAssembler; |
40 | 41 class RegExpNode; |
| 42 class RegExpTree; |
41 | 43 |
42 class RegExpImpl { | 44 class RegExpImpl { |
43 public: | 45 public: |
44 // Whether V8 is compiled with native regexp support or not. | 46 // Whether V8 is compiled with native regexp support or not. |
45 static bool UsesNativeRegExp() { | 47 static bool UsesNativeRegExp() { |
46 #ifdef V8_INTERPRETED_REGEXP | 48 #ifdef V8_INTERPRETED_REGEXP |
47 return false; | 49 return false; |
48 #else | 50 #else |
49 return true; | 51 return true; |
50 #endif | 52 #endif |
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 int* vector_; | 1493 int* vector_; |
1492 int offsets_vector_length_; | 1494 int offsets_vector_length_; |
1493 | 1495 |
1494 friend class ExternalReference; | 1496 friend class ExternalReference; |
1495 }; | 1497 }; |
1496 | 1498 |
1497 | 1499 |
1498 } } // namespace v8::internal | 1500 } } // namespace v8::internal |
1499 | 1501 |
1500 #endif // V8_JSREGEXP_H_ | 1502 #endif // V8_JSREGEXP_H_ |
OLD | NEW |