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

Issue 415403008: Fix more stack smashing bugs in test. (Closed)

Created:
6 years, 4 months ago by titzer
Modified:
6 years, 4 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Fix more stack smashing bugs in test. R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=22821

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove printf. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M test/cctest/compiler/test-simplified-lowering.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
titzer
6 years, 4 months ago (2014-08-04 14:02:34 UTC) #1
Michael Starzinger
LGTM. https://codereview.chromium.org/415403008/diff/1/test/cctest/compiler/test-simplified-lowering.cc File test/cctest/compiler/test-simplified-lowering.cc (right): https://codereview.chromium.org/415403008/diff/1/test/cctest/compiler/test-simplified-lowering.cc#newcode399 test/cctest/compiler/test-simplified-lowering.cc:399: Smi* smis[] = {Smi::FromInt(1), Smi::FromInt(2), Smi::FromInt(3), suggestion: We ...
6 years, 4 months ago (2014-08-04 14:09:58 UTC) #2
titzer
Committed patchset #2 manually as 22821 (tree was closed).
6 years, 4 months ago (2014-08-04 14:17:58 UTC) #3
titzer
6 years, 4 months ago (2014-08-04 14:18:39 UTC) #4
Message was sent while issue was closed.
On 2014/08/04 14:09:58, Michael Starzinger wrote:
> LGTM.
> 
>
https://codereview.chromium.org/415403008/diff/1/test/cctest/compiler/test-si...
> File test/cctest/compiler/test-simplified-lowering.cc (right):
> 
>
https://codereview.chromium.org/415403008/diff/1/test/cctest/compiler/test-si...
> test/cctest/compiler/test-simplified-lowering.cc:399: Smi* smis[] =
> {Smi::FromInt(1), Smi::FromInt(2), Smi::FromInt(3),
> suggestion: We could memset the array to canary values on each iteration of
the
> i-j-loop and at the end (after the k-loop) memcmp that all element except the
> one we tested against is untouched. Not sure whether it's worth it though.
> 

Can't trust myself today....

>
https://codereview.chromium.org/415403008/diff/1/test/cctest/compiler/test-si...
> test/cctest/compiler/test-simplified-lowering.cc:417: printf("i = %ld, j =
> %ld\n", i, j);
> nit: Looks like a leftover.

Done.

Powered by Google App Engine
This is Rietveld 408576698