Commit 0ac224f8 by Richard Kenner

(build1): Clean up initialization of OBSTACK.

From-SVN: r12782
parent 37c0e55f
...@@ -2692,7 +2692,7 @@ build1 (code, type, node) ...@@ -2692,7 +2692,7 @@ build1 (code, type, node)
tree type; tree type;
tree node; tree node;
{ {
register struct obstack *obstack = current_obstack; register struct obstack *obstack = expression_obstack;
register int i, length; register int i, length;
register tree_node_kind kind; register tree_node_kind kind;
register tree t; register tree t;
...@@ -2704,7 +2704,6 @@ build1 (code, type, node) ...@@ -2704,7 +2704,6 @@ build1 (code, type, node)
kind = e_kind; kind = e_kind;
#endif #endif
obstack = expression_obstack;
length = sizeof (struct tree_exp); length = sizeof (struct tree_exp);
t = (tree) obstack_alloc (obstack, length); t = (tree) obstack_alloc (obstack, length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment