Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkchuykin committed Jun 13, 2022
1 parent e660d4f commit f1761d3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions project/src/transpiler/transpile_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ uint64_t GetTypeSize(QualType qual_type);

EOObject GetCastEOObject(const CastExpr *op);

EOObject GetGotoForWhileEO(const EOObject &while_eo_object);

void ProcessDeclStmt(size_t shift, vector<Variable> &all_local,
DeclStmt *decl_stmt);

Expand Down Expand Up @@ -1167,17 +1165,6 @@ EOObject GetIfStmtEOObject(const IfStmt *p_stmt) {
return EOObject{EOObjectType::EO_PLUG};
}

EOObject GetGotoForWhileEO(const EOObject &while_eo_object) {
EOObject goto_object{"goto"};
EOObject return_label{EOObjectType::EO_ABSTRACT};
return_label.arguments.emplace_back("goto-loop-label" +
to_string(loop_level));
return_label.nested.push_back(while_eo_object);
goto_object.nested.push_back(return_label);
loop_level--;
return goto_object;
}

EOObject GetWhileStmtEOObject(const WhileStmt *p_stmt) {
if (p_stmt == nullptr) {
return EOObject{EOObjectType::EO_PLUG};
Expand Down

0 comments on commit f1761d3

Please sign in to comment.