Commit 0e33209
frontend/validate: remove redundant variable assign
Stack here is used only to provide user with error message. So it
makes sence to move stack.ptr assign directly before error will be
throwed.
benchmark.lua shows a little speedup after such change.1 parent 31c9fdd commit 0e33209
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
854 | 853 | | |
855 | 854 | | |
| 855 | + | |
856 | 856 | | |
857 | 857 | | |
858 | | - | |
859 | 858 | | |
860 | 859 | | |
861 | 860 | | |
| |||
0 commit comments