| 4756 | cycleDepth.back()--; |
| 4757 | } |
| 4758 | void AddDoWhileNode(const char* pos) |
| 4759 | { |
| 4760 | CodeInfo::lastKnownStartPos = pos; |
| 4761 | assert(CodeInfo::nodeList.size() >= 2); |
| 4762 | |
| 4763 | if(CodeInfo::nodeList.back()->typeInfo->type == TypeInfo::TYPE_COMPLEX && CodeInfo::nodeList.back()->typeInfo != typeObject) |
| 4764 | AddFunctionCallNode(pos, "bool", 1, true); |
| 4765 | |
| 4766 | CodeInfo::nodeList.push_back(new NodeDoWhileExpr()); |
| 4767 | CodeInfo::nodeList.back()->SetCodeInfo(pos); |
| 4768 | |
| 4769 | assert(cycleDepth.size() != 0); |
| 4770 | cycleDepth.back()--; |
| 4771 | } |
| 4772 | |
| 4773 | void BeginSwitch(const char* pos) |
| 4774 | { |
no test coverage detected