Commit8c70def
Use ALWAYS_INLINE for vm_getinstancevariable
Recently rb_vm_getinstancevariable was introduced exposing this methodto ZJIT. On clang specifically this ended up causing the compiler not toinline into vm_exec_core and cause a significant performance regressionin optcarrot for the interpreter.Co-authored-by: Luke Gruber <luke.gru@gmail.com>1 parent191bfcb commit8c70def
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
| 1683 | + | |
1683 | 1684 | | |
1684 | 1685 | | |
1685 | 1686 | | |
| |||
0 commit comments
Comments
(0)