summaryrefslogtreecommitdiff
path: root/gcc/expr-rewriter.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/expr-rewriter.c')
-rw-r--r--gcc/expr-rewriter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/expr-rewriter.c b/gcc/expr-rewriter.c
index 616271d96c7..6ea2b42c580 100644
--- a/gcc/expr-rewriter.c
+++ b/gcc/expr-rewriter.c
@@ -13,16 +13,16 @@ ExprTypeRewriter::_walk_post(const_tree e)
tree r_t = _map[t];
TREE_TYPE((tree)e) = r_t;
- TypeStringifier stringifer;
- const std::string t_name = stringifer.stringify(t);
- const std::string r_t_name = stringifer.stringify(r_t);
- log("replacing %s with %s\n", t_name.c_str(), r_t_name.c_str());
+ //TypeStringifier stringifer;
+ //const std::string r_t_name = stringifer.stringify(r_t);
+ //const std::string t_name = stringifer.stringify(t);
+ //log("replacing %s with %s\n", t_name.c_str(), r_t_name.c_str());
}
void
ExprTypeRewriter::_walk_COMPONENT_REF_post(const_tree e)
{
- // TODO: I need to rewrite the field
+
const_tree f = TREE_OPERAND(e, 1);
// So, what we need is a map between this field and the new field
const bool in_map = _map2.find(f) != _map2.end();