* src/vm/breakpoint.hpp: Added header file for breakpoint handling.
authorMichael Starzinger <michi@complang.tuwien.ac.at>
Sat, 19 Sep 2009 21:18:25 +0000 (23:18 +0200)
committerMichael Starzinger <michi@complang.tuwien.ac.at>
Sat, 19 Sep 2009 21:18:25 +0000 (23:18 +0200)
* src/vm/Makefile.am (libvm_la_SOURCES): Added above file.
* src/vm/method.hpp (methodinfo): Added pointer to breakpoint table.
* src/vm/method.cpp (method_free): Frees breakpoint table if present.

* src/vm/jit/patcher-common.cpp (patcher_breakpoint): Added patcher method.
* src/vm/jit/patcher-common.hpp: Likewise.

* src/vm/jit/ir/icmd.hpp (ICMD_BREAKPOINT): Added.
* src/vm/jit/ir/icmdtable.inc: Adapted entry for above ICMD.
* src/vm/jit/parse.cpp (parse): Generate breakpoints if requested.
* src/vm/jit/stack.c: Correctly handles ICMD_BREAKPOINT.
* src/vm/jit/allocator/simplereg.c: Likewise.
* src/vm/jit/codegen-common.cpp (codegen_emit): Generate ICMD_BREAKPOINT code.


No differences found