| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 8258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8269 static MaybeHandle<JSRegExp> Initialize(Handle<JSRegExp> regexp, | 8269 static MaybeHandle<JSRegExp> Initialize(Handle<JSRegExp> regexp, |
| 8270 Handle<String> source, Flags flags); | 8270 Handle<String> source, Flags flags); |
| 8271 static MaybeHandle<JSRegExp> Initialize(Handle<JSRegExp> regexp, | 8271 static MaybeHandle<JSRegExp> Initialize(Handle<JSRegExp> regexp, |
| 8272 Handle<String> source, | 8272 Handle<String> source, |
| 8273 Handle<String> flags_string); | 8273 Handle<String> flags_string); |
| 8274 | 8274 |
| 8275 inline Type TypeTag(); | 8275 inline Type TypeTag(); |
| 8276 inline int CaptureCount(); | 8276 inline int CaptureCount(); |
| 8277 inline Flags GetFlags(); | 8277 inline Flags GetFlags(); |
| 8278 inline String* Pattern(); | 8278 inline String* Pattern(); |
| 8279 inline Object* CaptureNameMap(); |
| 8279 inline Object* DataAt(int index); | 8280 inline Object* DataAt(int index); |
| 8280 // Set implementation data after the object has been prepared. | 8281 // Set implementation data after the object has been prepared. |
| 8281 inline void SetDataAt(int index, Object* value); | 8282 inline void SetDataAt(int index, Object* value); |
| 8282 | 8283 |
| 8283 inline void SetLastIndex(int index); | 8284 inline void SetLastIndex(int index); |
| 8284 inline Object* LastIndex(); | 8285 inline Object* LastIndex(); |
| 8285 | 8286 |
| 8286 static int code_index(bool is_latin1) { | 8287 static int code_index(bool is_latin1) { |
| 8287 if (is_latin1) { | 8288 if (is_latin1) { |
| 8288 return kIrregexpLatin1CodeIndex; | 8289 return kIrregexpLatin1CodeIndex; |
| (...skipping 3032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11321 } | 11322 } |
| 11322 }; | 11323 }; |
| 11323 | 11324 |
| 11324 | 11325 |
| 11325 } // NOLINT, false-positive due to second-order macros. | 11326 } // NOLINT, false-positive due to second-order macros. |
| 11326 } // NOLINT, false-positive due to second-order macros. | 11327 } // NOLINT, false-positive due to second-order macros. |
| 11327 | 11328 |
| 11328 #include "src/objects/object-macros-undef.h" | 11329 #include "src/objects/object-macros-undef.h" |
| 11329 | 11330 |
| 11330 #endif // V8_OBJECTS_H_ | 11331 #endif // V8_OBJECTS_H_ |
| OLD | NEW |