| 900 | } |
| 901 | |
| 902 | Function::~Function() |
| 903 | { |
| 904 | param.clear(); |
| 905 | |
| 906 | assert(stack.empty()); |
| 907 | |
| 908 | if (body) { |
| 909 | delete body; |
| 910 | body = NULL; |
| 911 | } |
| 912 | |
| 913 | if (CGOptions::depth_protect() && ret_c) { |
| 914 | delete ret_c; |
| 915 | ret_c = NULL; |
| 916 | } |
| 917 | } |
| 918 | |
| 919 | |
| 920 | /////////////////////////////////////////////////////////////////////////////// |