Commit 4fc8de1
committed
Last pieces of self-call support.
The last few pieces of the hack that lets us use trans.trans_call() to
translate self-calls, plus a fix for the parser buy that was
preventing self-call expressions from getting past parsing.
test/run-pass/obj-self.rs works now (as in it actually prints "hi!"
twice!).1 parent b8bb2e1 commit 4fc8de1
3 files changed
+37
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
902 | | - | |
| 902 | + | |
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3605 | 3605 | | |
3606 | 3606 | | |
3607 | 3607 | | |
3608 | | - | |
| 3608 | + | |
| 3609 | + | |
3609 | 3610 | | |
3610 | 3611 | | |
3611 | 3612 | | |
3612 | 3613 | | |
3613 | 3614 | | |
3614 | | - | |
| 3615 | + | |
| 3616 | + | |
3615 | 3617 | | |
3616 | 3618 | | |
3617 | 3619 | | |
3618 | 3620 | | |
3619 | 3621 | | |
3620 | 3622 | | |
3621 | | - | |
| 3623 | + | |
| 3624 | + | |
3622 | 3625 | | |
3623 | 3626 | | |
3624 | 3627 | | |
| |||
3813 | 3816 | | |
3814 | 3817 | | |
3815 | 3818 | | |
3816 | | - | |
| 3819 | + | |
| 3820 | + | |
| 3821 | + | |
| 3822 | + | |
3817 | 3823 | | |
3818 | 3824 | | |
3819 | 3825 | | |
| |||
4426 | 4432 | | |
4427 | 4433 | | |
4428 | 4434 | | |
| 4435 | + | |
| 4436 | + | |
| 4437 | + | |
| 4438 | + | |
| 4439 | + | |
4429 | 4440 | | |
4430 | 4441 | | |
4431 | 4442 | | |
| |||
4449 | 4460 | | |
4450 | 4461 | | |
4451 | 4462 | | |
4452 | | - | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
| 4466 | + | |
| 4467 | + | |
| 4468 | + | |
| 4469 | + | |
| 4470 | + | |
| 4471 | + | |
| 4472 | + | |
| 4473 | + | |
| 4474 | + | |
| 4475 | + | |
| 4476 | + | |
| 4477 | + | |
4453 | 4478 | | |
4454 | 4479 | | |
4455 | 4480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
0 commit comments