perf: remove match where possible

This commit is contained in:
Amaan Qureshi 2023-04-21 04:06:20 -04:00
parent 654216eb04
commit 85330918f0
37 changed files with 104 additions and 113 deletions

View file

@ -82,7 +82,10 @@
(#lua-match? @keyword.return "^return"))
((opcode) @conditional
(#match? @conditional "^(if|cmp)"))
(#lua-match? @conditional "^if"))
((opcode) @conditional
(#lua-match? @conditional "^cmp"))
((opcode) @exception
(#lua-match? @exception "^throw"))