| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 1305)
|
| +++ src/objects.h (working copy)
|
| @@ -2943,11 +2943,10 @@
|
| public:
|
| // Meaning of Type:
|
| // NOT_COMPILED: Initial value. No data has been stored in the JSRegExp yet.
|
| - // JSCRE: A complex RegExp for JSCRE
|
| // ATOM: A simple string to match against using an indexOf operation.
|
| // IRREGEXP: Compiled with Irregexp.
|
| // IRREGEXP_NATIVE: Compiled to native code with Irregexp.
|
| - enum Type { NOT_COMPILED, JSCRE, ATOM, IRREGEXP };
|
| + enum Type { NOT_COMPILED, ATOM, IRREGEXP };
|
| enum Flag { NONE = 0, GLOBAL = 1, IGNORE_CASE = 2, MULTILINE = 4 };
|
|
|
| class Flags {
|
| @@ -2981,10 +2980,9 @@
|
| static const int kTagIndex = 0;
|
| static const int kSourceIndex = kTagIndex + 1;
|
| static const int kFlagsIndex = kSourceIndex + 1;
|
| - // These three are the same since the same entry is shared for
|
| + // These two are the same since the same entry is shared for
|
| // different purposes in different types of regexps.
|
| static const int kAtomPatternIndex = kFlagsIndex + 1;
|
| - static const int kJscreDataIndex = kFlagsIndex + 1;
|
| static const int kIrregexpDataIndex = kFlagsIndex + 1;
|
| static const int kDataSize = kAtomPatternIndex + 1;
|
| };
|
|
|