Revision: 6935
Author: [email protected]
Date: Thu Feb 24 06:22:36 2011
Log: Fix compile failure from revision 6934 and win64 compile failure from revision 6931.




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

Modified:
 /branches/bleeding_edge/src/runtime.cc
 /branches/bleeding_edge/src/x64/deoptimizer-x64.cc

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Thu Feb 24 06:00:52 2011
+++ /branches/bleeding_edge/src/runtime.cc      Thu Feb 24 06:22:36 2011
@@ -8274,6 +8274,7 @@
         }
         default:
           UNREACHABLE();
+          dense_elements_length = 0;
           break;
       }
       uint32_t length = static_cast<uint32_t>(dense_elements_length);
=======================================
--- /branches/bleeding_edge/src/x64/deoptimizer-x64.cc Thu Feb 24 04:01:24 2011 +++ /branches/bleeding_edge/src/x64/deoptimizer-x64.cc Thu Feb 24 06:22:36 2011
@@ -304,7 +304,7 @@
   USE(height_in_bytes);

   unsigned fixed_size = ComputeFixedSize(function_);
-  unsigned input_frame_size = input_->GetFrameSize();
+ unsigned input_frame_size = static_cast<unsigned>(input_->GetFrameSize());
   ASSERT(fixed_size + height_in_bytes == input_frame_size);

   unsigned stack_slot_size = optimized_code_->stack_slots() * kPointerSize;

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

Reply via email to