Update the C# and Java runtimes ...

... after my recent changes.

java/runtime/DuFunctorDesc.java:
java/runtime/DuPtagLayout.java:
    Add the new field to the Java equivalents of the two C structures
    affected by the recent change to support packing arguments next to
    local secondary tags.

runtime/mercury_dotnet.cs.in:
    Add the new field to the C# equivalent of one of two C structures
    affected by the recent change to support packing arguments next to
    local secondary tags; the other was done earlier.

runtime/mercury_type_info.h:
    Include java/runtime/* among the files that may need to be updated
    after a change in this file.
This commit is contained in:
Zoltan Somogyi
2018-07-10 03:07:17 +02:00
parent ee8589d111
commit d23cbe32bd
4 changed files with 29 additions and 5 deletions

View File

@@ -22,6 +22,7 @@ public class DuFunctorDesc implements java.io.Serializable {
public /*final*/ DuArgLocn[] du_functor_arg_locns;
public /*final*/ DuExistInfo du_functor_exist_info;
public FunctorSubtypeInfo du_functor_subtype_info;
public byte du_functor_num_sectag_bits;
public DuFunctorDesc()
{
@@ -35,7 +36,8 @@ public class DuFunctorDesc implements java.io.Serializable {
java.lang.Object arg_names,
java.lang.Object arg_locns,
java.lang.Object exist_info,
int functor_subtype_info)
int functor_subtype_info,
byte num_sectag_bits)
{
du_functor_name = functor_name;
du_functor_orig_arity = orig_arity;
@@ -51,5 +53,6 @@ public class DuFunctorDesc implements java.io.Serializable {
du_functor_exist_info = (DuExistInfo) exist_info;
du_functor_subtype_info =
new FunctorSubtypeInfo(functor_subtype_info);
du_functor_num_sectag_bits = num_sectag_bits;
}
}