* src/vm/method.h (methodinfo): Renamed executioncount to
authortwisti <none@none>
Tue, 31 Jan 2006 23:43:08 +0000 (23:43 +0000)
committertwisti <none@none>
Tue, 31 Jan 2006 23:43:08 +0000 (23:43 +0000)
commitd3b25fd8c2bb5c9617d55b16ceeb13489441acf0
tree61918be8162519f133da541645692d61a7cf1b34
parent786340953e81f543af5e2e88546e3527b64f12e5
* src/vm/method.h (methodinfo): Renamed executioncount to
frequency. Added bbfrequency and cycles.

* src/vm/jit/x86_64/codegen.c (codegen): Added cycle profiling code.

* src/vm/jit/x86_64/codegen.h (M_FMOV): Added.
(M_IADD_MEMBASE, M_IADC_MEMBASE, M_ISUB_MEMBASE, M_ISBB_MEMBASE):
Likewise.
(M_RDTSC, PROFILE_CYCLE_START, PROFILE_CYCLE_STOP): Likewise.

* src/vm/jit/x86_64/emitfuncs.c (x86_64_inc_membase)
(x86_64_incl_membase): Fixed.
(emit_rdtsc): Added.

* src/vm/jit/jit.c (jit_compile): Free m->bbfrequency memory.
(jit_compile_intern): Allocate m->bbfrequency memory.

* src/vm/jit/jit.h: Reformatting.
src/vm/jit/jit.c
src/vm/jit/jit.h
src/vm/jit/x86_64/codegen.c
src/vm/jit/x86_64/codegen.h
src/vm/jit/x86_64/emitfuncs.c
src/vm/jit/x86_64/emitfuncs.h
src/vm/method.h