mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user