Move innermost_block_tracker global to parse_state
[deliverable/binutils-gdb.git] / gdb / d-exp.y
index ca9aaf8580274e3ac7ddcb7e625efe52ce09434e..8f04e93bb8f288f044ef20860ccb8c9125ba66f2 100644 (file)
@@ -425,7 +425,7 @@ PrimaryExpression:
                  if (sym.symbol && SYMBOL_CLASS (sym.symbol) != LOC_TYPEDEF)
                    {
                      if (symbol_read_needs_frame (sym.symbol))
-                       innermost_block.update (sym);
+                       pstate->block_tracker->update (sym);
                      write_exp_elt_opcode (pstate, OP_VAR_VALUE);
                      write_exp_elt_block (pstate, sym.block);
                      write_exp_elt_sym (pstate, sym.symbol);
@@ -435,7 +435,7 @@ PrimaryExpression:
                     {
                      /* It hangs off of `this'.  Must not inadvertently convert from a
                         method call to data ref.  */
-                     innermost_block.update (sym);
+                     pstate->block_tracker->update (sym);
                      write_exp_elt_opcode (pstate, OP_THIS);
                      write_exp_elt_opcode (pstate, OP_THIS);
                      write_exp_elt_opcode (pstate, STRUCTOP_PTR);
This page took 0.024264 seconds and 4 git commands to generate.