Commit 089a1cb
net: add length check when normalizing args
This helps to prevent possible deoptimizations that arise when trying
to access nonexistent indices.
PR-URL: #8112
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 17b8381 commit 089a1cbCopy full SHA for 089a1cb
File tree
Expand file treeCollapse file tree
1 file changed
+4
-2
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+4
-2
lines changedOpen diff view settings
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
74 | 74 | |
75 | 75 | |
76 | 76 | |
77 | | - |
| 77 | + |
| 78 | + |
| 79 | + |
78 | 80 | |
79 | 81 | |
80 | 82 | |
| ||
83 | 85 | |
84 | 86 | |
85 | 87 | |
86 | | - |
| 88 | + |
87 | 89 | |
88 | 90 | |
89 | 91 | |
|
0 commit comments