Author: chromatic
Date: Mon Mar 31 23:08:40 2008
New Revision: 26686
Modified:
trunk/src/jit/arm/exec_dep.c
trunk/src/jit/arm/exec_dep.h
trunk/src/jit/ppc/exec_dep.c
trunk/src/jit/ppc/exec_dep.h
Log:
[JIT] Really fixed JIT for PPC and ARM (thanks to Seneca Cunningham).
Modified: trunk/src/jit/arm/exec_dep.c
==============================================================================
--- trunk/src/jit/arm/exec_dep.c (original)
+++ trunk/src/jit/arm/exec_dep.c Mon Mar 31 23:08:40 2008
@@ -13,8 +13,11 @@
* References:
*/
-#ifndef PARROT_ARM_EXEC_DEP_H_GUARD
-#define PARROT_ARM_EXEC_DEP_H_GUARD
+#include "parrot/parrot.h"
+#include "jit.h"
+#define JIT_EMIT 1
+#include "jit_emit.h"
+#include "exec_dep.h"
#ifdef JIT_CGP
@@ -86,8 +89,6 @@
}
}
-#endif /* PARROT_ARM_EXEC_DEP_H_GUARD */
-
/*
* Local variables:
* c-file-style: "parrot"
Modified: trunk/src/jit/arm/exec_dep.h
==============================================================================
--- trunk/src/jit/arm/exec_dep.h (original)
+++ trunk/src/jit/arm/exec_dep.h Mon Mar 31 23:08:40 2008
@@ -13,21 +13,15 @@
* References:
*/
+#include "jit.h"
+#include "jit_emit.h"
+
#ifndef PARROT_ARM_EXEC_DEP_H_GUARD
#define PARROT_ARM_EXEC_DEP_H_GUARD
-#ifdef JIT_CGP
-
void
Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
-#else /* JIT_CGP */
-
-void
-Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
-
-#endif /* JIT_CGP */
-
void
Parrot_exec_cpcf_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
Modified: trunk/src/jit/ppc/exec_dep.c
==============================================================================
--- trunk/src/jit/ppc/exec_dep.c (original)
+++ trunk/src/jit/ppc/exec_dep.c Mon Mar 31 23:08:40 2008
@@ -13,6 +13,10 @@
* References:
*/
+#include "parrot/parrot.h"
+#include "jit.h"
+#define JIT_EMIT 1
+#include "jit_emit.h"
#include "exec_dep.h"
#ifdef JIT_CGP
Modified: trunk/src/jit/ppc/exec_dep.h
==============================================================================
--- trunk/src/jit/ppc/exec_dep.h (original)
+++ trunk/src/jit/ppc/exec_dep.h Mon Mar 31 23:08:40 2008
@@ -13,21 +13,15 @@
* References:
*/
+#include "jit.h"
+#include "jit_emit.h"
+
#ifndef PARROT_PPC_EXEC_DEP_H_GUARD
#define PARROT_PPC_EXEC_DEP_H_GUARD
-#ifdef JIT_CGP
-
void
Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
-#else /* JIT_CGP */
-
-void
-Parrot_exec_normal_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);
-
-#endif /* JIT_CGP */
-
void
Parrot_exec_cpcf_op(Parrot_jit_info_t *jit_info, PARROT_INTERP);