Revision: 5931
Author: [email protected]
Date: Tue Dec  7 04:43:23 2010
Log: Fix ARM sim build.

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

Modified:
 /branches/bleeding_edge/src/arm/deoptimizer-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/deoptimizer-arm.cc Tue Dec 7 03:31:57 2010 +++ /branches/bleeding_edge/src/arm/deoptimizer-arm.cc Tue Dec 7 04:43:23 2010
@@ -196,7 +196,7 @@
   // function code and AST id of the bailout.
   output_offset -= kPointerSize;
   input_offset -= kPointerSize;
-  uint32_t value;
+  intptr_t value;
   if (is_bottommost) {
     value = input_->GetFrameSlot(input_offset);
   } else {
@@ -220,7 +220,7 @@
     value = output_[frame_index - 1]->GetFp();
   }
   output_frame->SetFrameSlot(output_offset, value);
-  unsigned fp_value = top_address + output_offset;
+  intptr_t fp_value = top_address + output_offset;
   ASSERT(!is_bottommost || input_->GetRegister(fp.code()) == fp_value);
   output_frame->SetFp(fp_value);
   if (is_topmost) {
@@ -235,7 +235,7 @@
   // optimize functions that need local contexts.
   output_offset -= kPointerSize;
   input_offset -= kPointerSize;
-  value = reinterpret_cast<uint32_t>(function->context());
+  value = reinterpret_cast<intptr_t>(function->context());
   // The context for the bottommost output frame should also agree with the
   // input frame.
   ASSERT(!is_bottommost || input_->GetFrameSlot(input_offset) == value);

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

Reply via email to