-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Commit 4a7ed1f
cmd/compile: mark architecture-specific unsafe points
Introduce a mechanism for marking architecture-specific Ops
unsafe. And mark ones that use REGTMP on ARM64, as for async
preemption we will be using REGTMP as a temporary register in the
injected call.
Change-Id: I8ff22e87d8f9cb10d02a2f0af7c12ad6d7d58f54
Reviewed-on: https://go-review.googlesource.com/c/go/+/203459
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>1 parent 0f992b9 commit 4a7ed1f
File tree
5 files changed
+32
-8
lines changed- src/cmd/compile/internal
- gc
- ssa
- gen
5 files changed
+32
-8
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
639 | 639 |
| |
640 | 640 |
| |
641 | 641 |
| |
642 | + | ||
643 | + | ||
644 | + | ||
645 | + | ||
646 | + | ||
647 | + | ||
648 | + | ||
649 | + | ||
650 | + | ||
642 | 651 |
| |
643 | 652 |
| |
644 | 653 |
| |
|
Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
620 | 620 |
| |
621 | 621 |
| |
622 | 622 |
| |
623 | - | ||
624 | - | ||
623 | + | ||
624 | + | ||
625 | 625 |
| |
626 | 626 |
| |
627 | 627 |
| |
628 | 628 |
| |
629 | 629 |
| |
630 | 630 |
| |
631 | 631 |
| |
632 | - | ||
633 | - | ||
632 | + | ||
633 | + | ||
634 | 634 |
| |
635 | 635 |
| |
636 | 636 |
| |
| |||
653 | 653 |
| |
654 | 654 |
| |
655 | 655 |
| |
656 | - | ||
657 | - | ||
656 | + | ||
657 | + | ||
658 | 658 |
| |
659 | 659 |
| |
660 | 660 |
| |
661 | 661 |
| |
662 | 662 |
| |
663 | 663 |
| |
664 | 664 |
| |
665 | - | ||
666 | - | ||
665 | + | ||
666 | + | ||
667 | 667 |
| |
668 | 668 |
| |
669 | 669 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 | + | ||
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
| |||
325 | 326 |
| |
326 | 327 |
| |
327 | 328 |
| |
329 | + | ||
330 | + | ||
331 | + | ||
328 | 332 |
| |
329 | 333 |
| |
330 | 334 |
| |
| |||
401 | 405 |
| |
402 | 406 |
| |
403 | 407 |
| |
408 | + | ||
404 | 409 |
| |
405 | 410 |
| |
406 | 411 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | + | ||
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
|
Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments