#include "toolbox/list.hpp"
-#include "vm/method.h"
+#include "vm/method.hpp"
#include "vm/jit/jit.hpp"
#include "vm/jit/code.hpp"
private:
std::vector<Linenumber> _linenumbers;
+ // Comparator class.
+ class comparator : public std::binary_function<Linenumber, void*, bool> {
+ public:
+ bool operator() (const Linenumber& ln, const void* pc) const
+ {
+ return (pc >= ln.get_pc());
+ }
+ };
+
public:
LinenumberTable(jitdata* jd);
~LinenumberTable();
} // extern "C"
#endif
-
#endif // _LINENUMBERTABLE_HPP