What I'm trying to find out is where do empty functions currently get assigned with the opcode OEMPTY, and get inspiration for the logic from there.
I have found a way to check that about inlineable functions (under func, sym, inl I have and opcode identifying it as empty) but I'm not sure it's the best I can do.
It's somewhere in the ast stage, I think it's in walk.go or pgen.go, but I can't find it.
Any help?
--
You received this message because you are subscribed to a topic in the Google Groups "golang-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-dev/u13RSPKRqC4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.