From 230ee9de96b8f445f281e93890ab7e4cced9c084 Mon Sep 17 00:00:00 2001 From: "sgjesse@chromium.org" Date: Fri, 30 Sep 2011 13:06:31 +0000 Subject: [PATCH] Try to fix Win64 build TBR=kmillikin@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org//8085024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9499 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/debug.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debug.cc b/src/debug.cc index 240cfc004..c105e44fa 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -1877,7 +1877,7 @@ void Debug::PrepareForBreakPoints() { if (frame->function()->IsJSFunction() && frame->function() == *function && frame->LookupCode()->kind() == Code::FUNCTION) { - int delta = frame->pc() - current_code->instruction_start(); + intptr_t delta = frame->pc() - current_code->instruction_start(); int debug_break_slot_count = 0; int mask = RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT); for (RelocIterator it(*new_code, mask); !it.done(); it.next()) { @@ -1886,7 +1886,7 @@ void Debug::PrepareForBreakPoints() { RelocInfo* info = it.rinfo(); int debug_break_slot_bytes = debug_break_slot_count * Assembler::kDebugBreakSlotLength; - int new_delta = + intptr_t new_delta = info->pc() - new_code->instruction_start() - debug_break_slot_bytes; -- 2.34.1