Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index eb00f8a7e640c619f7ddc04885201ead18a1f5ac..9e6311dafd049e69c0e79ac867ecbf438241ebb5 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -476,6 +476,9 @@ class RelocInfo { |
static inline bool IsDebugBreakSlot(Mode mode) { |
return mode == DEBUG_BREAK_SLOT; |
} |
+ static inline bool IsDebuggerStatement(Mode mode) { |
+ return mode == DEBUG_BREAK; |
+ } |
static inline bool IsNone(Mode mode) { |
return mode == NONE32 || mode == NONE64; |
} |
@@ -595,9 +598,6 @@ class RelocInfo { |
template<typename StaticVisitor> inline void Visit(Heap* heap); |
inline void Visit(Isolate* isolate, ObjectVisitor* v); |
- // Patch the code with some other code. |
- void PatchCode(byte* instructions, int instruction_count); |
- |
// Patch the code with a call. |
void PatchCodeWithCall(Address target, int guard_bytes); |