Revision: 14357
Author:   [email protected]
Date:     Fri Apr 19 08:50:01 2013
Log:      Fix build failures on Win64 since r14354.

[email protected]

Review URL: https://codereview.chromium.org/14246034
http://code.google.com/p/v8/source/detail?r=14357

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

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Fri Apr 19 07:11:23 2013
+++ /branches/bleeding_edge/src/runtime.cc      Fri Apr 19 08:50:01 2013
@@ -2433,7 +2433,7 @@
   intptr_t offset = frame->pc() - function->code()->instruction_start();
   ASSERT(*function == generator_object->function());
   ASSERT(offset > 0 && Smi::IsValid(offset));
-  generator_object->set_continuation(offset);
+  generator_object->set_continuation(static_cast<int>(offset));

// Generator functions force context allocation for locals, so Local0 points
   // to the bottom of the operand stack.  Assume the stack grows down.
@@ -2447,7 +2447,7 @@
   ASSERT(IsAligned(stack_size_in_bytes, kPointerSize));
   ASSERT(stack_size_in_bytes >= 0);
   ASSERT(Smi::IsValid(stack_size_in_bytes));
-  unsigned stack_size = stack_size_in_bytes >> kPointerSizeLog2;
+  intptr_t stack_size = stack_size_in_bytes >> kPointerSizeLog2;

// We expect there to be at least two values on the stack: the return value of // the yield expression, and the argument to this runtime call. Neither of

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to