Author: chromatic
Date: Mon May  5 21:42:16 2008
New Revision: 27330

Modified:
   trunk/src/jit/arm/exec_dep.c
   trunk/src/jit/arm/exec_dep.h
   trunk/src/jit/i386/exec_dep.c
   trunk/src/jit/i386/exec_dep.h
   trunk/src/jit/ppc/exec_dep.c
   trunk/src/jit/ppc/exec_dep.h

Log:
[JIT] Made headerizer work with arch-specific JIT files (RT #53168, reported by
Bob Rogers).

Modified: trunk/src/jit/arm/exec_dep.c
==============================================================================
--- trunk/src/jit/arm/exec_dep.c        (original)
+++ trunk/src/jit/arm/exec_dep.c        Mon May  5 21:42:16 2008
@@ -19,6 +19,8 @@
 #include "jit_emit.h"
 #include "exec_dep.h"
 
+/* HEADERIZER HFILE: src/jit/arm/exec_dep.h */
+
 #ifdef JIT_CGP
 
 void

Modified: trunk/src/jit/arm/exec_dep.h
==============================================================================
--- trunk/src/jit/arm/exec_dep.h        (original)
+++ trunk/src/jit/arm/exec_dep.h        Mon May  5 21:42:16 2008
@@ -19,6 +19,8 @@
 #ifndef PARROT_ARM_EXEC_DEP_H_GUARD
 #define PARROT_ARM_EXEC_DEP_H_GUARD
 
+/* HEADERIZER BEGIN: src/exec_dep.c */
+
 void
 Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
 
@@ -32,6 +34,8 @@
 void
 offset_fixup(Parrot_exec_objfile_t *obj);
 
+/* HEADERIZER END: src/exec_dep.c */
+
 #endif /* PARROT_ARM_EXEC_DEP_H_GUARD */
 
 /*

Modified: trunk/src/jit/i386/exec_dep.c
==============================================================================
--- trunk/src/jit/i386/exec_dep.c       (original)
+++ trunk/src/jit/i386/exec_dep.c       Mon May  5 21:42:16 2008
@@ -21,6 +21,8 @@
 #include "jit_emit.h"
 #include "exec_dep.h"
 
+/* HEADERIZER HFILE: src/jit/i386/exec_dep.h */
+
 #ifdef JIT_CGP
 
 void

Modified: trunk/src/jit/i386/exec_dep.h
==============================================================================
--- trunk/src/jit/i386/exec_dep.h       (original)
+++ trunk/src/jit/i386/exec_dep.h       Mon May  5 21:42:16 2008
@@ -16,17 +16,22 @@
 #ifndef PARROT_I386_EXEC_DEP_H_GUARD
 #define PARROT_I386_EXEC_DEP_H_GUARD
 
-void
-Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
+/* HEADERIZER BEGIN: src/exec_dep.c */
 
-void
-Parrot_exec_cpcf_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
+void offset_fixup(Parrot_exec_objfile_t *obj);
+void Parrot_exec_cpcf_op(Parrot_jit_info_t *jit_info, PARROT_INTERP)
+        __attribute__nonnull__(2);
 
-void
-Parrot_exec_restart_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
+void Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP)
+        __attribute__nonnull__(2);
 
-void
-offset_fixup(Parrot_exec_objfile_t *obj);
+void Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP)
+        __attribute__nonnull__(2);
+
+void Parrot_exec_restart_op(Parrot_jit_info_t *jit_info, PARROT_INTERP)
+        __attribute__nonnull__(2);
+
+/* HEADERIZER END: src/exec_dep.c */
 
 #endif /* PARROT_I386_EXEC_DEP_H_GUARD */
 

Modified: trunk/src/jit/ppc/exec_dep.c
==============================================================================
--- trunk/src/jit/ppc/exec_dep.c        (original)
+++ trunk/src/jit/ppc/exec_dep.c        Mon May  5 21:42:16 2008
@@ -19,6 +19,8 @@
 #include "jit_emit.h"
 #include "exec_dep.h"
 
+/* HEADERIZER HFILE: src/jit/ppc/exec_dep.h */
+
 #ifdef JIT_CGP
 
 void

Modified: trunk/src/jit/ppc/exec_dep.h
==============================================================================
--- trunk/src/jit/ppc/exec_dep.h        (original)
+++ trunk/src/jit/ppc/exec_dep.h        Mon May  5 21:42:16 2008
@@ -19,6 +19,8 @@
 #ifndef PARROT_PPC_EXEC_DEP_H_GUARD
 #define PARROT_PPC_EXEC_DEP_H_GUARD
 
+/* HEADERIZER BEGIN: src/exec_dep.c */
+
 void
 Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
 
@@ -31,6 +33,8 @@
 void
 offset_fixup(Parrot_exec_objfile_t *obj);
 
+/* HEADERIZER END: src/exec_dep.c */
+
 #endif /* PARROT_PPC_EXEC_DEP_H_GUARD */
 
 /*

Reply via email to