diff options
Diffstat (limited to 'chromium/v8/src/objects/js-regexp.tq')
| -rw-r--r-- | chromium/v8/src/objects/js-regexp.tq | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chromium/v8/src/objects/js-regexp.tq b/chromium/v8/src/objects/js-regexp.tq index f2e216f282d..35e77114ba0 100644 --- a/chromium/v8/src/objects/js-regexp.tq +++ b/chromium/v8/src/objects/js-regexp.tq @@ -2,11 +2,20 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +bitfield struct JSRegExpFlags extends uint31 { + global: bool: 1 bit; + ignore_case: bool: 1 bit; + multiline: bool: 1 bit; + sticky: bool: 1 bit; + unicode: bool: 1 bit; + dot_all: bool: 1 bit; +} + @generateCppClass extern class JSRegExp extends JSObject { data: FixedArray|Undefined; source: String|Undefined; - flags: Smi|Undefined; + flags: SmiTagged<JSRegExpFlags>|Undefined; } // Note: Although a condition for a FastJSRegExp is having a positive smi |
