[svn:parrot] r38247 - in branches/headercleanup: . include/parrot src src/ops src/runcore
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Tue Apr 21 19:07:14 UTC 2009
Author: chromatic
Date: Tue Apr 21 19:07:13 2009
New Revision: 38247
URL: https://trac.parrot.org/parrot/changeset/38247
Log:
[runcore] Moved a header out of src/runcore/ into parrot/include/.
Added:
branches/headercleanup/include/parrot/runcore_api.h
- copied, changed from r38133, branches/headercleanup/src/runcore/runcore_guts.h
Deleted:
branches/headercleanup/src/runcore/runcore_guts.h
Modified:
branches/headercleanup/MANIFEST
branches/headercleanup/src/debug.c
branches/headercleanup/src/ops/core.ops
branches/headercleanup/src/runcore/main.c
branches/headercleanup/src/runops_cores.c
Modified: branches/headercleanup/MANIFEST
==============================================================================
--- branches/headercleanup/MANIFEST Tue Apr 21 18:17:20 2009 (r38246)
+++ branches/headercleanup/MANIFEST Tue Apr 21 19:07:13 2009 (r38247)
@@ -980,6 +980,7 @@
include/parrot/pobj.h [main]include
include/parrot/register.h [main]include
include/parrot/resources.h [main]include
+include/parrot/runcore_api.h [main]include
include/parrot/scheduler.h [main]include
include/parrot/scheduler_private.h [main]include
include/parrot/settings.h [main]include
@@ -1451,7 +1452,6 @@
src/pmc/unmanagedstruct.pmc [devel]src
src/pmc_freeze.c []
src/runcore/main.c []
-src/runcore/runcore_guts.h []
src/runops_cores.c []
src/runops_cores.h []
src/scheduler.c []
Copied and modified: branches/headercleanup/include/parrot/runcore_api.h (from r38133, branches/headercleanup/src/runcore/runcore_guts.h)
==============================================================================
--- branches/headercleanup/src/runcore/runcore_guts.h Wed Apr 15 19:40:25 2009 (r38133, copy source)
+++ branches/headercleanup/include/parrot/runcore_api.h Tue Apr 21 19:07:13 2009 (r38247)
@@ -1,18 +1,17 @@
-/*
- * $Id$
- * Copyright (C) 2001-2007, Parrot Foundation.
+/* runcore_api.h
+ * Copyright (C) 2001-2009, Parrot Foundation.
+ * SVN Info
+ * $Id$
+ * Overview:
+ * Functions and macros to dispatch opcodes.
*/
-/*
-** runcore_guts.h
-*/
-
-#ifndef PARROT_INTERP_GUTS_H_GUARD
-#define PARROT_INTERP_GUTS_H_GUARD
+#ifndef PARROT_RUNCORE_API_H_GUARD
+#define PARROT_RUNCORE_API_H_GUARD
# define DO_OP(PC, INTERP) ((PC) = (((INTERP)->op_func_table)[*(PC)])((PC), (INTERP)))
-#endif /* PARROT_INTERP_GUTS_H_GUARD */
+#endif /* PARROT_RUNCORE_API_H_GUARD */
/*
Modified: branches/headercleanup/src/debug.c
==============================================================================
--- branches/headercleanup/src/debug.c Tue Apr 21 18:17:20 2009 (r38246)
+++ branches/headercleanup/src/debug.c Tue Apr 21 19:07:13 2009 (r38247)
@@ -28,7 +28,7 @@
#include "parrot/debugger.h"
#include "parrot/oplib/ops.h"
#include "pmc/pmc_key.h"
-#include "runcore/runcore_guts.h"
+#include "parrot/runcore_api.h"
#include "trace.h"
#include "debug.str"
#include "pmc/pmc_continuation.h"
Modified: branches/headercleanup/src/ops/core.ops
==============================================================================
--- branches/headercleanup/src/ops/core.ops Tue Apr 21 18:17:20 2009 (r38246)
+++ branches/headercleanup/src/ops/core.ops Tue Apr 21 19:07:13 2009 (r38247)
@@ -5,7 +5,7 @@
#include "parrot/dynext.h"
#include "parrot/embed.h"
-#include "../runcore/runcore_guts.h"
+#include "parrot/runcore_api.h"
#include "../pmc/pmc_continuation.h"
#include "../pmc/pmc_parrotlibrary.h"
Modified: branches/headercleanup/src/runcore/main.c
==============================================================================
--- branches/headercleanup/src/runcore/main.c Tue Apr 21 18:17:20 2009 (r38246)
+++ branches/headercleanup/src/runcore/main.c Tue Apr 21 19:07:13 2009 (r38247)
@@ -33,7 +33,7 @@
*/
#include "parrot/parrot.h"
-#include "runcore_guts.h"
+#include "parrot/runcore_api.h"
#include "parrot/oplib/core_ops.h"
#include "parrot/oplib/core_ops_switch.h"
#include "parrot/oplib/ops.h"
Deleted: branches/headercleanup/src/runcore/runcore_guts.h
==============================================================================
--- branches/headercleanup/src/runcore/runcore_guts.h Tue Apr 21 19:07:13 2009 (r38246)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,23 +0,0 @@
-/*
- * $Id$
- * Copyright (C) 2001-2007, Parrot Foundation.
- */
-
-/*
-** runcore_guts.h
-*/
-
-#ifndef PARROT_INTERP_GUTS_H_GUARD
-#define PARROT_INTERP_GUTS_H_GUARD
-
-# define DO_OP(PC, INTERP) ((PC) = (((INTERP)->op_func_table)[*(PC)])((PC), (INTERP)))
-
-#endif /* PARROT_INTERP_GUTS_H_GUARD */
-
-
-/*
- * Local variables:
- * c-file-style: "parrot"
- * End:
- * vim: expandtab shiftwidth=4:
- */
Modified: branches/headercleanup/src/runops_cores.c
==============================================================================
--- branches/headercleanup/src/runops_cores.c Tue Apr 21 18:17:20 2009 (r38246)
+++ branches/headercleanup/src/runops_cores.c Tue Apr 21 19:07:13 2009 (r38247)
@@ -241,7 +241,7 @@
#include "runops_cores.h"
#include "parrot/embed.h"
#include "trace.h"
-#include "runcore/runcore_guts.h"
+#include "parrot/runcore_api.h"
#ifdef HAVE_COMPUTED_GOTO
# include "parrot/oplib/core_ops_cg.h"
More information about the parrot-commits
mailing list