Revision: 8757
Author:   [email protected]
Date:     Thu Jul 28 05:34:37 2011
Log:      Fix win64 debug mode compilation
Review URL: http://codereview.chromium.org/7482042
http://code.google.com/p/v8/source/detail?r=8757

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

=======================================
--- /branches/bleeding_edge/src/ic.cc   Thu Jul 21 06:51:04 2011
+++ /branches/bleeding_edge/src/ic.cc   Thu Jul 28 05:34:37 2011
@@ -88,7 +88,8 @@
       // function and the original code.
       JSFunction* function = JSFunction::cast(frame->function());
       function->PrintName();
-      int code_offset = address() - js_code->instruction_start();
+      int code_offset =
+          static_cast<int>(address() - js_code->instruction_start());
       PrintF("+%d", code_offset);
     } else {
       PrintF("<unknown>");

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

Reply via email to