* src/threads/threadlist.c: Moved to .cpp.
[cacao.git] / src / vm / jit / linenumbertable.h
index 94ede9b1083d1de6ba5dc5a6709eaca9da3ccadf..eb603c7c9ff633c2cec38e41311f88e70472eef4 100644 (file)
@@ -37,7 +37,7 @@ typedef struct linenumbertable_list_entry_t linenumbertable_list_entry_t;
 
 #include <stdint.h>
 
-#include "toolbox/list.h"
+#include "toolbox/list.hpp"
 
 #include "vm/method.h"
 
@@ -52,6 +52,18 @@ typedef struct linenumbertable_list_entry_t linenumbertable_list_entry_t;
 extern "C" {
 #endif
 
+/* LinenumberTable */
+
+#ifdef __cplusplus
+
+class LinenumberTable {
+public:
+       static void create(jitdata* jd);
+};
+
+#endif
+
+
 /* linenumbertable_t **********************************************************/
 
 struct linenumbertable_t {
@@ -86,7 +98,7 @@ struct linenumbertable_list_entry_t {
                                    /* instruction for given line                 */
                                    /* NOTE: for linenumber <= -3 this is a the   */
                                    /* (methodinfo *) of the inlined method       */
-       listnode_t linkage;
+/*     listnode_t linkage; */
 };
 
 
@@ -113,7 +125,7 @@ int32_t linenumbertable_linenumber_for_pc(methodinfo **pm, codeinfo *code, void
  * Emacs will automagically detect them.
  * ---------------------------------------------------------------------
  * Local variables:
- * mode: c
+ * mode: c++
  * indent-tabs-mode: t
  * c-basic-offset: 4
  * tab-width: 4