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

Issue 10356071: Force checking of result on all functions in elements.h that return MaybeObject*. (Closed)

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

Description

Force checking of result on all functions in elements.h that return MaybeObject*. Add two missing failure checks found by this. Committed: https://code.google.com/p/v8/source/detail?r=11530

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -30 lines) Patch
M src/elements.h View 1 3 chunks +30 lines, -27 lines 0 comments Download
M src/objects.cc View 1 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
fschneider
8 years, 7 months ago (2012-05-09 11:32:22 UTC) #1
danno
LGTM with nits. https://chromiumcodereview.appspot.com/10356071/diff/1/src/objects.cc File src/objects.cc (right): https://chromiumcodereview.appspot.com/10356071/diff/1/src/objects.cc#newcode8627 src/objects.cc:8627: } nit: wacky formatting. why not ...
8 years, 7 months ago (2012-05-09 12:14:44 UTC) #2
fschneider
8 years, 7 months ago (2012-05-09 12:49:50 UTC) #3
https://chromiumcodereview.appspot.com/10356071/diff/1/src/objects.cc
File src/objects.cc (right):

https://chromiumcodereview.appspot.com/10356071/diff/1/src/objects.cc#newcode...
src/objects.cc:8674: }
On 2012/05/09 12:14:44, danno wrote:
> nit: wacky formatting. why not just omit the {} and use normal indentation
here?
> 

Fixed indentation.

I still like to keep the {} to easily spot that the check for failure is present
and for consistency with the existing code.

Powered by Google App Engine
This is Rietveld 408576698