> (I assume the reasons is that the stack doesn't contain the right frame?)
Yes. In general we don't inline things with calls;
these slipped through because they are special calls.
It is especially important not to inline recover, because
its definition depends on the meaning of "caller".
Russ
*** Submitted as http://code.google.com/p/go/source/detail?r=733971e543a2 *** cmd/gc: must not inline panic, recover R=lvd, gri CC=golang-dev http://codereview.appspot.com/5731061
Issue 5731061: code review 5731061: cmd/gc: must not inline panic, recover
(Closed)
Created 13 years ago by rsc
Modified 13 years ago
Reviewers:
Base URL:
Comments: 0