Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(777)

Issue 10173023: Use safe string utilities to fix Windows build error. (Closed)

Created:
8 years, 8 months ago by danno
Modified:
8 years, 8 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Use safe string utilities to fix Windows build error. R=mstarzinger@chromium.org TEST=waterfall goes green Committed: https://code.google.com/p/v8/source/detail?r=11434

Patch Set 1 #

Total comments: 2

Patch Set 2 : review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -22 lines) Patch
M src/hydrogen.cc View 1 4 chunks +25 lines, -22 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Michael Starzinger
LGTM (with one comment). https://chromiumcodereview.appspot.com/10173023/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/10173023/diff/1/src/hydrogen.cc#newcode1634 src/hydrogen.cc:1634: if (string_len > sizeof(underlying_buffer)) { ...
8 years, 8 months ago (2012-04-25 13:09:53 UTC) #1
danno
8 years, 8 months ago (2012-04-25 15:40:34 UTC) #2
landed

http://codereview.chromium.org/10173023/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):

http://codereview.chromium.org/10173023/diff/1/src/hydrogen.cc#newcode1634
src/hydrogen.cc:1634: if (string_len > sizeof(underlying_buffer)) {
On 2012/04/25 13:09:53, Michael Starzinger wrote:
> I think this condition can never be true. Can we drop this block (or at least
> make it an assertion)?

Done.

Powered by Google App Engine
This is Rietveld 408576698