Files
mercury/java/runtime
Julien Fischer 8c9b23011c Define type_ctor_rep constants in the Java runtime.
In the Java grade, the type_ctor_rep constants are currently defined in the
private_builtin module of the standard library.  The Java version of the
runtime currently duplicates some of these constants for its own use (since it
cannot refer to the library ones).  This means changes to the set of
type_ctor_reps need to potentially occur in two places, which is a maintenance
headache.

This changes shifts the definitions of all the type_ctor_rep constants in the
Java grade into the runtime and updates the compiler to generate code that
uses these new definitions.

library/private_builtin.m:
     Add a note mentioning that the type_ctor_rep constants defined here
     will eventually be removed.

java/runtime/TypeCtorRep.java:
     Define constants for *all* of the type_ctor_reps in this class.

library/rtti_implementation.m:
library/type_desc.m:
     Update code to refer to the new version of the type_ctor_rep constants.

compiler/rtti.m:
     Update the compiler to generate references to the new version of the
     type_ctor_rep constants.
2017-11-19 18:54:41 -05:00
..
2016-06-08 22:05:52 +10:00
2016-04-15 15:48:59 +10:00