Browse Source

remove useless longjmp_label field from jit_builder_t struct

cache-refactoring
Aleksey Demakov 17 years ago
parent
commit
26685e5a6b
  1. 8
      ChangeLog
  2. 7
      jit/jit-insn.c
  3. 1
      jit/jit-internal.h

8
ChangeLog

@ -1,6 +1,12 @@
2008-05-27 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-internal.h (jit_builder_t):
* jit/jit-insn.c (initialize_setjmp_block): remove longjmp_label
field as useless.
2008-05-26 Klaus Treichel <ktreichel@web.de>
* tools/gen-rules-parser.y, tools/gen-rules-scanner-l: Add the imms32
* tools/gen-rules-parser.y, tools/gen-rules-scanner.l: Add the imms32
and immu32 keywords for 32bit signed and unsigned immediate values.
* tools/gen-apply.c: Add support for apply return structs where

7
jit/jit-insn.c

@ -7150,7 +7150,6 @@ static int initialize_setjmp_block(jit_function_t func)
{
return 1;
}
func->builder->longjmp_label = jit_label_undefined;
func->builder->catcher_label = jit_label_undefined;
/* Force the start of a new block to mark the start of the init code */
@ -7250,12 +7249,6 @@ static int initialize_setjmp_block(jit_function_t func)
return 0;
}
/* The current point in the code is where "longjmp" will resume from */
if(!jit_insn_label(func, &(func->builder->longjmp_label)))
{
return 0;
}
/* We need a value to hold the location of the thrown exception */
if((func->builder->thrown_pc =
jit_value_create(func, jit_type_void_ptr)) == 0)

1
jit/jit-internal.h

@ -306,7 +306,6 @@ struct _jit_builder
/* Exception handling definitions for the function */
jit_value_t setjmp_value;
jit_label_t longjmp_label;
jit_value_t thrown_exception;
jit_value_t thrown_pc;
jit_label_t catcher_label;

Loading…
Cancel
Save