| 2672 | } |
| 2673 | |
| 2674 | void AddForEachNode(const char* pos) |
| 2675 | { |
| 2676 | // Unite increment_part and body |
| 2677 | AddTwoExpressionNode(NULL); |
| 2678 | // Generate while cycle |
| 2679 | CodeInfo::nodeList.push_back(new NodeWhileExpr()); |
| 2680 | CodeInfo::nodeList.back()->SetCodeInfo(pos); |
| 2681 | // Unite initialization_part and while |
| 2682 | AddTwoExpressionNode(NULL); |
| 2683 | |
| 2684 | assert(cycleDepth.size() != 0); |
| 2685 | cycleDepth.back()--; |
| 2686 | } |
| 2687 | |
| 2688 | void CallAllocationFunction(const char* pos, const char* name) |
| 2689 | { |
no test coverage detected