Move innermost_block_tracker global to parse_state
[deliverable/binutils-gdb.git] / gdb / p-exp.y
index 493876815d95e9b22f85519adb2dafa737fdfe96..da25ae42af6784ed4045570df251905f3dd023a1 100644 (file)
@@ -712,7 +712,7 @@ variable:   name_not_typename
                          if (sym.symbol)
                            {
                              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);
@@ -726,7 +726,7 @@ variable:   name_not_typename
                              /* Object pascal: 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.04025 seconds and 4 git commands to generate.