commit | d53fd3122110ad5440de6b8a4edfe65a17d6f457 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Wed Mar 11 22:14:16 2015 -0700 |
committer | Shawn Pearce <sop@google.com> | Thu Mar 12 00:24:16 2015 -0700 |
tree | fb066b78a4c9a336ea7fcd410c418bdd32ededef | |
parent | 95d96d8a54dc5ad3a3ab2621e3d87902efa92a22 [diff] |
Pin maximum functor arity to 10 The compiler needs an arity of 10 to compile itself into Java. Gerrit Code Review pins the arity to 8 to ensure an optimized code path is always used. Simplify the virtual machine code by pinning the arity to 10 and extending the choice point saving optimization for all ranges. This eliminates some weird code paths using an array for extra registers beyond the optimized 8. Simplify register naming by using r1...r10 instead of areg1...areg10. Change-Id: I6ffdc8c8ab1cb94886f9a303021d210c263892b0
A fork of Mutsunori BANBARA‘s PrologCafe to support Gerrit Code Review’s customizable project rules.
To bootstrap Buck and SWI-Prolog >= 6.6.4 must be installed and then build the runtime and compiler with:
buck build all
To package for Maven into the local ~/.m2/repository
directory:
buck build install
To publish to the gerrit-maven storage bucket:
buck build deploy