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

Issue 15855015: Array access fix: g++ darwin 4.2.1 compiler clamped array index to 0 when confronted with negative … (Closed)

Created:
7 years, 6 months ago by mvstanton
Modified:
7 years, 6 months ago
Reviewers:
ulan, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Array access fix: g++ darwin 4.2.1 compiler clamped array index to 0 when confronted with negative indices. BUG=247303 R=jkummerow@chromium.org, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15038

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/arguments.h View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 4 (0 generated)
mvstanton
Hi guys, here is the arguments.h fix, from the bug seen in Android compiles.
7 years, 6 months ago (2013-06-10 14:41:31 UTC) #1
ulan
lgtm
7 years, 6 months ago (2013-06-10 14:42:38 UTC) #2
Jakob Kummerow
LGTM with nit. https://codereview.chromium.org/15855015/diff/1/src/arguments.h File src/arguments.h (right): https://codereview.chromium.org/15855015/diff/1/src/arguments.h#newcode55 src/arguments.h:55: return *(reinterpret_cast<Object**>(reinterpret_cast<intptr_t>(arguments_) - The minus at ...
7 years, 6 months ago (2013-06-10 14:43:38 UTC) #3
mvstanton
7 years, 6 months ago (2013-06-10 14:44:10 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r15038 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698