cvsuser     02/01/04 18:54:22

  Modified:    .        interpreter.c
  Log:
  More unsigned fixes
  
  Courtesy of "Bryan C. Warnock" <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.52      +7 -7      parrot/interpreter.c
  
  Index: interpreter.c
  ===================================================================
  RCS file: /home/perlcvs/parrot/interpreter.c,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -w -r1.51 -r1.52
  --- interpreter.c     4 Jan 2002 03:37:43 -0000       1.51
  +++ interpreter.c     5 Jan 2002 02:54:22 -0000       1.52
  @@ -1,7 +1,7 @@
   /* interpreter.c
    *  Copyright: (When this is determined...it will go here)
    *  CVS Info
  - *     $Id: interpreter.c,v 1.51 2002/01/04 03:37:43 dan Exp $
  + *     $Id: interpreter.c,v 1.52 2002/01/05 02:54:22 dan Exp $
    *  Overview:
    *     The interpreter api handles running the operations
    *  Data Structure and Algorithms:
  @@ -62,7 +62,7 @@
   runops_generic (opcode_t * (*core)(struct Parrot_Interp *, opcode_t *), 
                   struct Parrot_Interp *interpreter, opcode_t * pc) {
       opcode_t * code_start;
  -    INTVAL         code_size;
  +    UINTVAL    code_size;
       opcode_t * code_end;
   
       check_fingerprint(interpreter);
  @@ -273,7 +273,7 @@
   runops_jit (struct Parrot_Interp *interpreter, opcode_t * pc) {
   #ifdef HAS_JIT
       opcode_t * code_start;
  -    INTVAL     code_size;
  +    UINTVAL    code_size;
       opcode_t * code_end;
       jit_f      jit_code;
   
  @@ -285,9 +285,9 @@
   
       jit_code = build_asm(interpreter, pc, code_start, code_end);
       (jit_code)();
  -#else
  -    return;
   #endif
  +    return;
  +
   }
   
   
  @@ -297,7 +297,7 @@
   runops_prederef (struct Parrot_Interp *interpreter, opcode_t * pc, 
                    void ** pc_prederef) {
       opcode_t * code_start;
  -    INTVAL     code_size;
  +    UINTVAL    code_size;
       opcode_t * code_end;
       void **    code_start_prederef;
   
  @@ -416,7 +416,7 @@
   make_interpreter(INTVAL flags) {
       struct Parrot_Interp *interpreter;
       /* Get an empty interpreter from system memory */
  -    interpreter = mem_sys_allocate((INTVAL)sizeof(struct Parrot_Interp));
  +    interpreter = mem_sys_allocate((UINTVAL)sizeof(struct Parrot_Interp));
       /* Set up the memory allocation system */
       mem_setup_allocator(interpreter);
   
  
  
  


Reply via email to