From: ulan@chromium.org Date: Thu, 27 Mar 2014 10:10:51 +0000 (+0000) Subject: Fix assert in BoundsCheckBbData. X-Git-Tag: upstream/4.7.83~9976 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e510131d268845f3f9b9039a2b4e3aaaf8d7253c;p=platform%2Fupstream%2Fv8.git Fix assert in BoundsCheckBbData. BUG= R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/201303007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20296 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/hydrogen-bce.cc b/src/hydrogen-bce.cc index 19931c3..dd71078 100644 --- a/src/hydrogen-bce.cc +++ b/src/hydrogen-bce.cc @@ -136,7 +136,7 @@ class BoundsCheckBbData: public ZoneObject { void UpdateUpperOffsets(HBoundsCheck* check, int32_t offset) { BoundsCheckBbData* data = FatherInDominatorTree(); while (data != NULL && data->UpperCheck() == check) { - ASSERT(data->upper_offset_ <= offset); + ASSERT(data->upper_offset_ < offset); data->upper_offset_ = offset; data = data->FatherInDominatorTree(); }