Index: src/gdb-jit.h |
diff --git a/src/gdb-jit.h b/src/gdb-jit.h |
index db9c0f23c2f621428413a9bfa8fa776813df11f3..323038a654299206ab607e169400553ced3110a8 100644 |
--- a/src/gdb-jit.h |
+++ b/src/gdb-jit.h |
@@ -34,37 +34,6 @@ class CompilationInfo; |
V(EVAL) \ |
V(FUNCTION) |
-class GDBJITLineInfo : public Malloced { |
- public: |
- GDBJITLineInfo() |
- : pc_info_(10) { } |
- |
- void SetPosition(intptr_t pc, int pos, bool is_statement) { |
- AddPCInfo(PCInfo(pc, pos, is_statement)); |
- } |
- |
- struct PCInfo { |
- PCInfo(intptr_t pc, int pos, bool is_statement) |
- : pc_(pc), pos_(pos), is_statement_(is_statement) { } |
- |
- intptr_t pc_; |
- int pos_; |
- bool is_statement_; |
- }; |
- |
- List<PCInfo>* pc_info() { |
- return &pc_info_; |
- } |
- |
- private: |
- void AddPCInfo(const PCInfo& pc_info) { |
- pc_info_.Add(pc_info); |
- } |
- |
- List<PCInfo> pc_info_; |
-}; |
- |
- |
class GDBJITInterface: public AllStatic { |
public: |
enum CodeTag { |
@@ -84,6 +53,9 @@ class GDBJITInterface: public AllStatic { |
} |
} |
+ // Main entry point into GDB JIT realized as a JitCodeEventHandler. |
+ static void EventHandler(const v8::JitCodeEvent* event); |
+ |
static void AddCode(const char* name, |
Code* code, |
CodeTag tag, |
@@ -104,8 +76,6 @@ class GDBJITInterface: public AllStatic { |
static void RemoveCode(Code* code); |
static void RemoveCodeRange(Address start, Address end); |
- |
- static void RegisterDetailedLineInfo(Code* code, GDBJITLineInfo* line_info); |
}; |
#define GDBJIT(action) GDBJITInterface::action |