pkgsrc/lang/mercury/patches/patch-ac
jtb 0f15602954 Update mercury to version 0.11.0.
Changes to the Mercury language:
* Support for constrained polymorphic modes.
* Addition of state variable syntax.
* Improved support for higher-order functions.
* Predicate and function equivalence type and mode declarations.
* Support for defining predicates or functions
  using different clauses for different modes.
* Support for Haskell-like "@" expressions.
* Generalized foreign language interface.

Changes to the Mercury compiler:
* A new `--make' option, for simpler building of programs.
* A new `--smart-recompilation' option, for fine-grained dependency tracking.
* A new optional warning: `--warn-non-tail-recursion'.
* A new optimization: `--constraint-propagation'.
* A new optimization: `--loop-invariants'.
* Support for arbitrary mappings from module name to source file name.

Portability improvements:
* Mac OS X is now supported "out-of-the-box".
* On Windows we now support generating non-Cygwin executables.
* Better conformance to ANSI/ISO C.

Changes to the compiler back-ends:
* The native code Linux/x86 back-end is now "release quality".
* The .NET CLR back-end is much improved.

Major improvements to the Mercury debugger, including:
* Support for source-linked debugging using vim (rather than emacs).
* Command-line completion.
* Ability to display values of higher-order terms.
* Declarative debugging.
* Support for transparent retries across I/O.

A new profiler, which we call the Mercury deep profiler or mdprof:
* Supports both time and memory profiling.
* Gathers information about individual call sites as well as procedures.
* Eliminates the assumption that all calls to a procedure have equal cost.
* Allows users to explore the gathered data interactively with a web browser.

Numerous minor improvements to the Mercury standard library.

A new testing tool in the extras distribution.
2003-05-02 17:48:28 +00:00

21 lines
555 B
Text

$NetBSD: patch-ac,v 1.2 2003/05/02 17:48:29 jtb Exp $
--- runtime/mercury_bootstrap.h.orig
+++ runtime/mercury_bootstrap.h
@@ -139,6 +139,7 @@
#define do_not_reached MR_do_not_reached
#define exception_handler_do_fail MR_exception_handler_do_fail
+#if !(defined(__NetBSD__) && defined(__powerpc__))
#define r1 MR_r1
#define r2 MR_r2
#define r3 MR_r3
@@ -175,6 +176,8 @@
#define r(N) MR_r(N)
#define NUM_REAL_REGS MR_NUM_REAL_REGS
+
+#endif
#define progname MR_progname
#define program_entry_point MR_program_entry_point