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

Issue 151151: Use attributes to communicate failed lookup instead of retval. (Closed)

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

Description

Use attributes to communicate failed lookup instead of retval. Committed: http://code.google.com/p/v8/source/detail?r=2363

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -25 lines) Patch
M src/objects.h View 1 1 chunk +5 lines, -7 lines 0 comments Download
M src/objects.cc View 1 2 4 chunks +14 lines, -18 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
antonm
11 years, 5 months ago (2009-07-01 14:58:24 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/151151/diff/1/2 File src/objects.cc (right): http://codereview.chromium.org/151151/diff/1/2#newcode5814 Line 5814: return NULL; We normally return Heap::undefined_value() when ...
11 years, 5 months ago (2009-07-01 15:06:59 UTC) #2
antonm
Thanks a lot for review, Mads! http://codereview.chromium.org/151151/diff/1/2 File src/objects.cc (right): http://codereview.chromium.org/151151/diff/1/2#newcode5814 Line 5814: return NULL; ...
11 years, 5 months ago (2009-07-01 15:44:47 UTC) #3
Mads Ager (chromium)
11 years, 5 months ago (2009-07-01 16:19:56 UTC) #4
On 2009/07/01 15:44:47, antonm wrote:
> http://codereview.chromium.org/151151/diff/1/2#newcode5822
> Line 5822: PropertyAttributes* attrs) {
> On 2009/07/01 15:06:59, Mads Ager wrote:
> > Why attrs in one method and attributes in another?  Make this one attributes
> > again?
> 
> To fit ln. 5828 into single line :)  If it was a bad idea, I'd revert of
course.

I would prefer readable names and break this one line. :-)

And still LGTM!

Powered by Google App Engine
This is Rietveld 408576698