* 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)
commit32c007e8b0b9ab31ddb0c30d7aa0428546d1dffd
treeeb9bf3e8739b8763afaa5b27bb9975f2f54e2b1e
parentde9b1afc38aa888edd275907f9dff63ab86d79d5
* src/vm/breakpoint.hpp: Added header file for breakpoint handling.
* 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.
12 files changed:
src/vm/Makefile.am
src/vm/breakpoint.hpp [new file with mode: 0644]
src/vm/jit/allocator/simplereg.c
src/vm/jit/codegen-common.cpp
src/vm/jit/ir/icmd.hpp
src/vm/jit/ir/icmdtable.inc
src/vm/jit/parse.cpp
src/vm/jit/patcher-common.cpp
src/vm/jit/patcher-common.hpp
src/vm/jit/stack.c
src/vm/method.cpp
src/vm/method.hpp