From: sigurds@chromium.org Date: Mon, 20 Oct 2014 08:16:26 +0000 (+0000) Subject: Fix Win64 size_t/int conversion after b3f2277ea42a. X-Git-Tag: upstream/4.7.83~6265 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3efb7bb15af89fcc4ddcaa417ddc279699770b90;p=platform%2Fupstream%2Fv8.git Fix Win64 size_t/int conversion after b3f2277ea42a. TBR=dcarney@chromium.org Review URL: https://codereview.chromium.org/646983005 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc index b5dbcaf..6499554 100644 --- a/src/compiler/register-allocator.cc +++ b/src/compiler/register-allocator.cc @@ -533,7 +533,7 @@ BitVector* RegisterAllocator::ComputeLiveOut(const InstructionBlock* block) { for (auto succ : block->successors()) { // Add values live on entry to the successor. Note the successor's // live_in will not be computed yet for backwards edges. - BitVector* live_in = live_in_sets_[succ.ToSize()]; + BitVector* live_in = live_in_sets_[static_cast(succ.ToSize())]; if (live_in != NULL) live_out->Union(*live_in); // All phi input operands corresponding to this successor edge are live