/[pcre]/code/trunk/sljit/sljitNativePPC_64.c
ViewVC logotype

Diff of /code/trunk/sljit/sljitNativePPC_64.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 739 by ph10, Mon Aug 22 14:35:22 2011 UTC revision 740 by zherczeg, Mon Oct 31 06:10:14 2011 UTC
# Line 381  static SLJIT_INLINE int emit_const(struc Line 381  static SLJIT_INLINE int emit_const(struc
381          return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value));          return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value));
382  }  }
383    
384  void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr)  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr)
385  {  {
386          sljit_ins *inst = (sljit_ins*)addr;          sljit_ins *inst = (sljit_ins*)addr;
387    
# Line 392  void sljit_set_jump_addr(sljit_uw addr, Line 392  void sljit_set_jump_addr(sljit_uw addr,
392          SLJIT_CACHE_FLUSH(inst, inst + 5);          SLJIT_CACHE_FLUSH(inst, inst + 5);
393  }  }
394    
395  void sljit_set_const(sljit_uw addr, sljit_w new_constant)  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_w new_constant)
396  {  {
397          sljit_ins *inst = (sljit_ins*)addr;          sljit_ins *inst = (sljit_ins*)addr;
398    
# Line 403  void sljit_set_const(sljit_uw addr, slji Line 403  void sljit_set_const(sljit_uw addr, slji
403          SLJIT_CACHE_FLUSH(inst, inst + 5);          SLJIT_CACHE_FLUSH(inst, inst + 5);
404  }  }
405    
406  void sljit_set_function_context(void** func_ptr, struct sljit_function_context* context, sljit_w addr, void* func)  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_function_context(void** func_ptr, struct sljit_function_context* context, sljit_w addr, void* func)
407  {  {
408          sljit_w* ptrs;          sljit_w* ptrs;
409          if (func_ptr)          if (func_ptr)

Legend:
Removed from v.739  
changed lines
  Added in v.740

  ViewVC Help
Powered by ViewVC 1.1.5