/* trace.h
 *  Copyright: (When this is determined...it will go here)
 *  CVS Info
 *     $Id$
 *  Overview:
 *     Tracing support for runops_cores.c.
 *  Data Structure and Algorithms:
 *  History:
 *  Notes:
 *  References:
 */

#ifndef PARROT_TRACE_H_GUARD
#define PARROT_TRACE_H_GUARD

#include "parrot/parrot.h"

void trace_op_dump(struct Parrot_Interp *interpreter, opcode_t *code_start,
                   opcode_t *pc);

void trace_op(struct Parrot_Interp *interpreter, opcode_t *code_start,
              opcode_t *code_end, opcode_t *pc);

void trace_op_b0(struct Parrot_Interp *interpreter, opcode_t *code_start,
                 opcode_t *pc);

void trace_op_b1(struct Parrot_Interp *interpreter, opcode_t *code_start, 
                 opcode_t *code_end, opcode_t *pc);

#endif

/*
 * Local variables:
 * c-indentation-style: bsd
 * c-basic-offset: 4
 * indent-tabs-mode: nil 
 * End:
 *
 * vim: expandtab shiftwidth=4:
*/

/* trace.h
 *  Copyright: (When this is determined...it will go here)
 *  CVS Info
 *     $Id$
 *  Overview:
 *     Tracing support for runops_cores.c.
 *  Data Structure and Algorithms:
 *  History:
 *  Notes:
 *  References:
 */

#ifndef PARROT_TRACE_H_GUARD
#define PARROT_TRACE_H_GUARD

#include "parrot/parrot.h"

void trace_op_dump(struct Parrot_Interp *interpreter, opcode_t *code_start,
                   opcode_t *pc);

void trace_op(struct Parrot_Interp *interpreter, opcode_t *code_start,
              opcode_t *code_end, opcode_t *pc);

void trace_op_b0(struct Parrot_Interp *interpreter, opcode_t *code_start,
                 opcode_t *pc);

void trace_op_b1(struct Parrot_Interp *interpreter, opcode_t *code_start, 
                 opcode_t *code_end, code_t *pc);

#endif

/*
 * Local variables:
 * c-indentation-style: bsd
 * c-basic-offset: 4
 * indent-tabs-mode: nil 
 * End:
 *
 * vim: expandtab shiftwidth=4:
*/

--- 
+++ 
@@ -25,7 +25,7 @@
                  opcode_t *pc);
 
 void trace_op_b1(struct Parrot_Interp *interpreter, opcode_t *code_start, 
-                 opcode_t *code_end, code_t *pc);
+                 opcode_t *code_end, opcode_t *pc);
 
 #endif
 
Fix a typo in the argument type.

Patch from <daniel.ritz@gmx.ch>


git-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@1106 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
