* src/vm/breakpoint.hpp: Added header file for breakpoint handling.
[cacao.git] / src / vm / method.hpp
index f9c7891c66eef27b2ff7f446d24c4559c12cb24b..7d3b81a475b9bea710b62779a1812bcd2d4ab3a0 100644 (file)
@@ -40,10 +40,11 @@ typedef struct codeinfo            codeinfo;
 
 #include "threads/mutex.hpp"
 
+#include "vm/breakpoint.hpp"
 #include "vm/jit/builtin.hpp"
-#include "vm/descriptor.h"
+#include "vm/descriptor.hpp"
 #include "vm/global.h"
-#include "vm/linker.h"
+#include "vm/linker.hpp"
 #include "vm/loader.hpp"
 #include "vm/references.h"
 
@@ -100,6 +101,8 @@ struct methodinfo {                 /* method structure                       */
        methodinfo   *overwrites;       /* method that is directly overwritten    */
        method_assumption *assumptions; /* list of assumptions about this method  */
 
+       BreakpointTable* breakpoints;   /* breakpoints in this method             */
+
 #if defined(ENABLE_REPLACEMENT)
        s4            hitcountdown;     /* decreased for each hit                 */
 #endif