summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug.h')
-rw-r--r--deps/v8/src/debug.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/debug.h b/deps/v8/src/debug.h
index 19da2519a1..c5c6b5ee56 100644
--- a/deps/v8/src/debug.h
+++ b/deps/v8/src/debug.h
@@ -102,7 +102,9 @@ class BreakLocationIterator {
void ClearAllDebugBreak();
- inline int code_position() { return pc() - debug_info_->code()->entry(); }
+ inline int code_position() {
+ return static_cast<int>(pc() - debug_info_->code()->entry());
+ }
inline int break_point() { return break_point_; }
inline int position() { return position_; }
inline int statement_position() { return statement_position_; }
@@ -377,6 +379,8 @@ class Debug {
static const int kX64CallInstructionLength = 13;
static const int kX64JSReturnSequenceLength = 13;
+ static const int kARMJSReturnSequenceLength = 4;
+
// Code generator routines.
static void GenerateLoadICDebugBreak(MacroAssembler* masm);
static void GenerateStoreICDebugBreak(MacroAssembler* masm);