patch-method_desc_cc 759 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-method_desc_cc,v 1.1 2017/04/14 00:44:21 ian Exp $
  2. --- method_desc.cc.orig Wed Apr 12 14:38:53 2017
  3. +++ method_desc.cc Wed Apr 12 14:40:13 2017
  4. @@ -767,7 +767,7 @@ void method_desc::parse_code(constant** constant_pool,
  5. sp->mask = var_desc::vs_not_null;
  6. }
  7. sp->index = NO_ASSOC_VAR;
  8. - sp->equals = is_const;
  9. + sp->equals = my_is_const;
  10. sp += 1;
  11. }
  12. break;
  13. @@ -2381,7 +2381,7 @@ void method_desc::parse_code(constant** constant_pool,
  14. aux->name_and_type = nt;
  15. sp->equals = aux;
  16. equal_descs.push_back(aux);*/
  17. - sp->equals = is_const;
  18. + sp->equals = my_is_const;
  19. }
  20. }
  21. field->equals = sp->equals;