Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- arch/x86/exception_32.c | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/arch/x86/exception_32.c b/arch/x86/exception_32.c index 070ef33..81174b5 100644 --- a/arch/x86/exception_32.c +++ b/arch/x86/exception_32.c @@ -24,20 +24,24 @@ * Please refer to the file LICENSE for details. */ -#include <jit/exception.h> -#include <jit/cu-mapping.h> -#include <jit/basic-block.h> #include <jit/compilation-unit.h> -#include <arch/exception.h> +#include <jit/basic-block.h> +#include <jit/cu-mapping.h> +#include <jit/exception.h> + #include <arch/stack-frame.h> +#include <arch/exception.h> #include <arch/memory.h> #include <arch/signal.h> -unsigned char *throw_exception(struct compilation_unit *cu, - struct object *exception) +unsigned char * +throw_exception(struct compilation_unit *cu, struct object *exception) { - unsigned char *native_ptr = __builtin_return_address(0) - 1; - struct jit_stack_frame *frame = __builtin_frame_address(1); + unsigned char *native_ptr; + struct jit_stack_frame *frame; + + native_ptr = __builtin_return_address(0) - 1; + frame = __builtin_frame_address(1); return throw_exception_from(cu, frame, native_ptr, exception); } -- 1.6.0.6 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel