Revision: 9499
Author:   [email protected]
Date:     Fri Sep 30 06:06:31 2011
Log:      Try to fix Win64 build

[email protected]

BUG=
TEST=

Review URL: http://codereview.chromium.org//8085024
http://code.google.com/p/v8/source/detail?r=9499

Modified:
 /branches/bleeding_edge/src/debug.cc

=======================================
--- /branches/bleeding_edge/src/debug.cc        Fri Sep 30 05:12:09 2011
+++ /branches/bleeding_edge/src/debug.cc        Fri Sep 30 06:06:31 2011
@@ -1877,7 +1877,7 @@
         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 @@
             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;

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to