Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 2997bdabcd5dbaece503cb2e70b09a4b4f8bae95 https://github.com/WebKit/WebKit/commit/2997bdabcd5dbaece503cb2e70b09a4b4f8bae95 Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2024-07-15 (Mon, 15 Jul 2024)
Changed paths: M Source/JavaScriptCore/jit/JIT.cpp M Source/JavaScriptCore/jit/JIT.h M Source/JavaScriptCore/jit/JITPropertyAccess.cpp Log Message: ----------- [JSC] Inline common fast path for op_resolve_scope and op_get_from_scope https://bugs.webkit.org/show_bug.cgi?id=276631 rdar://131788827 Reviewed by Yijia Huang. GlobalProperty, GlobalVar, and GlobalLexicalVar are common, and most of code for them are pretty small. While these resolution can be changed for each CodeBlock, we cannot use the one specific type like ClosureVar, we can inline the most possible one as a fast path. * Source/JavaScriptCore/jit/JIT.cpp: (JSC::JIT::privateCompileSlowCases): * Source/JavaScriptCore/jit/JIT.h: * Source/JavaScriptCore/jit/JITPropertyAccess.cpp: (JSC::JIT::emit_op_resolve_scope): (JSC::JIT::emitSlow_op_resolve_scope): (JSC::JIT::emit_op_get_from_scope): (JSC::JIT::emitSlow_op_get_from_scope): Canonical link: https://commits.webkit.org/281002@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes