Commit 5372257
runtime: skip stack barrier copy when there are no pointers
After CL 31455, "go fun(n)" may put "n" to write barrier buffer
when there are no pointers in fun's arguments.
Fixes #29362
Change-Id: Icfa42b8759ce8ad9267dcb3859c626feb6fda381
Reviewed-on: https://go-review.googlesource.com/c/155779
Reviewed-by: Keith Randall <[email protected]>1 parent 30c0a0d commit 5372257
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3303 | 3303 | | |
3304 | 3304 | | |
3305 | 3305 | | |
3306 | | - | |
3307 | | - | |
3308 | | - | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
3309 | 3311 | | |
3310 | 3312 | | |
3311 | 3313 | | |
| |||
0 commit comments