]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/java/boehm.c
This patch rewrites the old VEC macro-based interface into a new one
[thirdparty/gcc.git] / gcc / java / boehm.c
index 0fa8964df453f918b316c463c5157bc97bb7b110..e125883d4430b6a0e1a4ca315d19e3967da6d793 100644 (file)
@@ -233,6 +233,6 @@ uses_jv_markobj_p (tree dtable)
      this function is only used with flag_reduced_reflection.  No
      point in asserting unless we hit the bad case.  */
   gcc_assert (!flag_reduced_reflection || TARGET_VTABLE_USES_DESCRIPTORS == 0);
-  v = VEC_index (constructor_elt, CONSTRUCTOR_ELTS (dtable), 3).value;
+  v = (*CONSTRUCTOR_ELTS (dtable))[3].value;
   return (PROCEDURE_OBJECT_DESCRIPTOR == TREE_INT_CST_LOW (v));
 }