* src/vm/jit/x86_64/emit.c (vm/options.h): Added.
authortwisti <none@none>
Thu, 7 Dec 2006 10:59:01 +0000 (10:59 +0000)
committertwisti <none@none>
Thu, 7 Dec 2006 10:59:01 +0000 (10:59 +0000)
commitc9562a80e802993cfae508355ed51be6ef223c0f
treec8869ab47003a10220a0e395bee08b65d830c2c7
parentccaa38531948ad70f625da622312dda7e58cc859
* src/vm/jit/x86_64/emit.c (vm/options.h): Added.
(emit_arithmetic_check): New function.
(emit_arrayindexoutofbounds_check): Likewise.
(emit_classcast_check): Likewise.
(emit_nullpointer_check): Likewise.

* src/vm/jit/x86_64/codegen.c (codegen): Use emit_*_check functions
for exception checks.
(IDIV, IREM, LDIV, LREM): Use emit_{load,store} functions.

* src/vm/jit/x86_64/codegen.h (gen_nullptr_check): Removed.
(gen_bound_check): Likewise.
(gen_resolvebranch): Likewise.
src/vm/jit/x86_64/codegen.c
src/vm/jit/x86_64/codegen.h
src/vm/jit/x86_64/emit.c