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

Issue 6487021: Properly treat exceptions thrown while compiling. (Closed)

Created:
9 years, 10 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Properly treat exceptions thrown while compiling. BUG=v8:1132 TEST=test/mjsunit/regress/regress-1132.js Committed: http://code.google.com/p/v8/source/detail?r=6754

Patch Set 1 #

Patch Set 2 : Now with stack limit to make test pass faster #

Total comments: 2

Patch Set 3 : Addressing Kevin's comments + disabling the regression test for ARM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -3 lines) Patch
M src/compiler.cc View 2 chunks +8 lines, -1 line 0 comments Download
M src/execution.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/execution.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-1132.js View 1 2 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
antonm
Kevin, may you have a look, please? I am not best versed in this part ...
9 years, 10 months ago (2011-02-11 11:14:52 UTC) #1
Kevin Millikin (Chromium)
Change LGTM. Go ahead and commit everything as is, and I'll see what we can ...
9 years, 10 months ago (2011-02-11 11:43:18 UTC) #2
antonm
Kevin, may you have another quick look? I've added flag to restrict v8 stack region ...
9 years, 10 months ago (2011-02-11 12:49:18 UTC) #3
Kevin Millikin (Chromium)
Still LGTM. http://codereview.chromium.org/6487021/diff/4001/src/flag-definitions.h File src/flag-definitions.h (right): http://codereview.chromium.org/6487021/diff/4001/src/flag-definitions.h#newcode235 src/flag-definitions.h:235: DEFINE_int(stack_size_kb, kPointerSize * 128, For the heap ...
9 years, 10 months ago (2011-02-11 12:55:47 UTC) #4
antonm
9 years, 10 months ago (2011-02-11 14:20:31 UTC) #5
Thanks a lot for review, Kevin.

I also raised the constant slightly to allow test to run under x64 and disabled
it for ARM.

Submitting

http://codereview.chromium.org/6487021/diff/4001/src/flag-definitions.h
File src/flag-definitions.h (right):

http://codereview.chromium.org/6487021/diff/4001/src/flag-definitions.h#newco...
src/flag-definitions.h:235: DEFINE_int(stack_size_kb, kPointerSize * 128,
On 2011/02/11 12:55:47, Kevin Millikin wrote:
> For the heap limits, the flag is something like max_new_space_size and the
> string help comment gives the units.
> 
> You could do that here for consistency, but I don't care too much either way.

Unified with max_new_space_size.

Powered by Google App Engine
This is Rietveld 408576698