Changeset 285793 in webkit
- Timestamp:
- Nov 14, 2021, 11:52:27 AM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
yarr/YarrJIT.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r285788 r285793 1 2021-11-14 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Initialize m_usesT2 4 https://bugs.webkit.org/show_bug.cgi?id=233095 5 6 Reviewed by Alexey Shvayka. 7 8 m_usesT2 is not initialized as "false" correctly. 9 10 * yarr/YarrJIT.cpp: 11 1 12 2021-11-14 Mikhail R. Gadelha <mikhail@igalia.com> 2 13 -
trunk/Source/JavaScriptCore/yarr/YarrJIT.cpp
r285651 r285793 4094 4094 , m_canonicalMode(m_pattern.unicode() ? CanonicalMode::Unicode : CanonicalMode::UCS2) 4095 4095 #if ENABLE(YARR_JIT_ALL_PARENS_EXPRESSIONS) 4096 , m_containsNestedSubpatterns(false)4097 4096 , m_parenContextSizes(compileMode == JITCompileMode::IncludeSubpatterns ? m_pattern.m_numSubpatterns : 0, m_pattern.m_body->m_callFrameSize) 4098 4097 #endif … … 4115 4114 , m_canonicalMode(m_pattern.unicode() ? CanonicalMode::Unicode : CanonicalMode::UCS2) 4116 4115 #if ENABLE(YARR_JIT_ALL_PARENS_EXPRESSIONS) 4117 , m_containsNestedSubpatterns(false)4118 4116 , m_parenContextSizes(compileMode == JITCompileMode::IncludeSubpatterns ? m_pattern.m_numSubpatterns : 0, m_pattern.m_body->m_callFrameSize) 4119 4117 #endif … … 4634 4632 bool m_decodeSurrogatePairs; 4635 4633 bool m_unicodeIgnoreCase; 4636 bool m_usesT2 ;4634 bool m_usesT2 { false }; 4637 4635 CanonicalMode m_canonicalMode; 4638 4636 #if ENABLE(YARR_JIT_ALL_PARENS_EXPRESSIONS) 4639 bool m_containsNestedSubpatterns ;4637 bool m_containsNestedSubpatterns { false }; 4640 4638 ParenContextSizes m_parenContextSizes; 4641 4639 #endif
Note:
See TracChangeset
for help on using the changeset viewer.