Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Slight review of the include graph.

  • Loading branch information...
commit 82726765a8a864a6ea89e282b416836407ce6ef9 1 parent 4a8370d
Sébastien Doeraene authored
2  vm/main/coredatatypes-decl.hh
View
@@ -36,5 +36,7 @@
#include "atom-decl.hh"
#include "records-decl.hh"
#include "reifiedspace-decl.hh"
+#include "reference-decl.hh"
+#include "gctypes-decl.hh"
#endif // __COREDATATYPES_DECL_H
4 vm/main/emulate.hh
View
@@ -27,8 +27,6 @@
#include "mozartcore.hh"
-#include "ozlimits.hh"
-
#include <utility>
#include <stack>
#include <cassert>
@@ -133,6 +131,8 @@ private:
class Thread : public Runnable {
private:
typedef Runnable Super;
+
+ static constexpr int InitXRegisters = 64;
public:
Thread(VM vm, Space* space, StableNode* abstraction,
bool createSuspended = false);
2  vm/main/gctypes-decl.hh
View
@@ -25,7 +25,7 @@
#ifndef __GCTYPES_DECL_H
#define __GCTYPES_DECL_H
-#include "type-decl.hh"
+#include "mozartcore-decl.hh"
namespace mozart {
4 vm/main/mozartcore-decl.hh
View
@@ -36,9 +36,7 @@
#include "graphreplicator-decl.hh"
#include "gcollect-decl.hh"
#include "sclone-decl.hh"
+#include "unify-decl.hh"
#include "vm-decl.hh"
-#include "reference-decl.hh"
-#include "gctypes-decl.hh"
-
#endif // __MOZARTCORE_DECL_H
34 vm/main/ozlimits.hh
View
@@ -1,34 +0,0 @@
-// Copyright © 2011, Université catholique de Louvain
-// All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are met:
-//
-// * Redistributions of source code must retain the above copyright notice,
-// this list of conditions and the following disclaimer.
-// * Redistributions in binary form must reproduce the above copyright notice,
-// this list of conditions and the following disclaimer in the documentation
-// and/or other materials provided with the distribution.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-// POSSIBILITY OF SUCH DAMAGE.
-
-#ifndef __OZLIMITS_H
-#define __OZLIMITS_H
-
-namespace mozart {
-
-constexpr int InitXRegisters = 64;
-
-}
-
-#endif // __OZLIMITS_H
2  vm/main/records-decl.hh
View
@@ -27,8 +27,6 @@
#include "mozartcore-decl.hh"
-#include "unify-decl.hh"
-
namespace mozart {
///////////
2  vm/main/reference-decl.hh
View
@@ -25,7 +25,7 @@
#ifndef __REFERENCE_DECL_H
#define __REFERENCE_DECL_H
-#include "type-decl.hh"
+#include "mozartcore-decl.hh"
namespace mozart {
5 vm/main/unify-decl.hh
View
@@ -25,7 +25,10 @@
#ifndef __UNIFY_DECL_H
#define __UNIFY_DECL_H
-#include "mozartcore-decl.hh"
+#include "core-forward-decl.hh"
+
+#include "store-decl.hh"
+#include "vmallocatedlist-decl.hh"
namespace mozart {
Please sign in to comment.
Something went wrong with that request. Please try again.