| OLD | NEW | 
|---|
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 309   // union (all three out-sets are equal), intersection (only both_sets_out is | 309   // union (all three out-sets are equal), intersection (only both_sets_out is | 
| 310   // non-NULL), and set difference (only first_set is non-NULL). | 310   // non-NULL), and set difference (only first_set is non-NULL). | 
| 311   static void Merge(ZoneList<CharacterRange>* first_set, | 311   static void Merge(ZoneList<CharacterRange>* first_set, | 
| 312                     ZoneList<CharacterRange>* second_set, | 312                     ZoneList<CharacterRange>* second_set, | 
| 313                     ZoneList<CharacterRange>* first_set_only_out, | 313                     ZoneList<CharacterRange>* first_set_only_out, | 
| 314                     ZoneList<CharacterRange>* second_set_only_out, | 314                     ZoneList<CharacterRange>* second_set_only_out, | 
| 315                     ZoneList<CharacterRange>* both_sets_out); | 315                     ZoneList<CharacterRange>* both_sets_out); | 
| 316   // Negate the contents of a character range in canonical form. | 316   // Negate the contents of a character range in canonical form. | 
| 317   static void Negate(ZoneList<CharacterRange>* src, | 317   static void Negate(ZoneList<CharacterRange>* src, | 
| 318                      ZoneList<CharacterRange>* dst); | 318                      ZoneList<CharacterRange>* dst); | 
| 319   static const int kRangeCanonicalizeMax = 0x346; |  | 
| 320   static const int kStartMarker = (1 << 24); | 319   static const int kStartMarker = (1 << 24); | 
| 321   static const int kPayloadMask = (1 << 24) - 1; | 320   static const int kPayloadMask = (1 << 24) - 1; | 
| 322 | 321 | 
| 323  private: | 322  private: | 
| 324   uc16 from_; | 323   uc16 from_; | 
| 325   uc16 to_; | 324   uc16 to_; | 
| 326 }; | 325 }; | 
| 327 | 326 | 
| 328 | 327 | 
| 329 // A set of unsigned integers that behaves especially well on small | 328 // A set of unsigned integers that behaves especially well on small | 
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1454   int offsets_vector_length_; | 1453   int offsets_vector_length_; | 
| 1455   static int static_offsets_vector_[kStaticOffsetsVectorSize]; | 1454   static int static_offsets_vector_[kStaticOffsetsVectorSize]; | 
| 1456 | 1455 | 
| 1457   friend class ExternalReference; | 1456   friend class ExternalReference; | 
| 1458 }; | 1457 }; | 
| 1459 | 1458 | 
| 1460 | 1459 | 
| 1461 } }  // namespace v8::internal | 1460 } }  // namespace v8::internal | 
| 1462 | 1461 | 
| 1463 #endif  // V8_JSREGEXP_H_ | 1462 #endif  // V8_JSREGEXP_H_ | 
| OLD | NEW | 
|---|