mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
In RTTI data, map integers to Java `int' instead of the nonsensical
Branches: main
compiler/rtti.m:
In RTTI data, map integers to Java `int' instead of the nonsensical
`mercury.runtime.Integer'.
java/runtime/TypeCtorInfo_Struct.java:
Conform to the change.
This commit is contained in:
@@ -23,7 +23,7 @@ public class TypeCtorInfo_Struct extends PseudoTypeInfo {
|
||||
public mercury.runtime.TypeLayout type_layout;
|
||||
public int type_ctor_num_functors;
|
||||
public /* short */ int type_ctor_flags;
|
||||
public java.lang.Integer[] type_functor_number_map;
|
||||
public int[] type_functor_number_map;
|
||||
|
||||
public TypeCtorInfo_Struct(
|
||||
int type_arity, int version, int num_ptags, int rep,
|
||||
@@ -34,7 +34,7 @@ public class TypeCtorInfo_Struct extends PseudoTypeInfo {
|
||||
// mercury.runtime.TypeLayout
|
||||
java.lang.Object value_ordered_functor_descs,
|
||||
int num_functors, int flags,
|
||||
java.lang.Integer[] functor_number_map)
|
||||
int[] functor_number_map)
|
||||
{
|
||||
arity = type_arity;
|
||||
type_ctor_version = version;
|
||||
|
||||
Reference in New Issue
Block a user