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

Issue 10778011: Remove LookupTransitionOrDescriptor altogether. (Closed)

Created:
8 years, 5 months ago by Toon Verwaest
Modified:
8 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove LookupTransitionOrDescriptor altogether. Committed: https://code.google.com/p/v8/source/detail?r=12100

Patch Set 1 : u #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -44 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/hydrogen-instructions.cc View 5 chunks +9 lines, -18 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/objects.cc View 3 chunks +4 lines, -20 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Toon Verwaest
PTAL.
8 years, 5 months ago (2012-07-16 15:14:16 UTC) #1
Jakob Kummerow
lgtm
8 years, 5 months ago (2012-07-16 15:24:07 UTC) #2
Sven Panne
8 years, 5 months ago (2012-07-17 05:54:41 UTC) #3
http://codereview.chromium.org/10778011/diff/2001/src/objects.cc
File src/objects.cc (right):

http://codereview.chromium.org/10778011/diff/2001/src/objects.cc#newcode12533
src/objects.cc:12533: MaybeObject* maybe_fields =
Even if it is too late, I'd like to comment on this kind of change: I strongly
dislike removing these scopes, because this actively destroys very useful
information. Using a tiny scope makes it crystal-clear what is going on (namely
a bind operation in the Maybe monad) and that the MaybeObject* is only used
locally. I wouldn't argue much if all our functions were in the 10-lines range,
but given our usual monstrous code chunks, the scope really has a value when
trying to understand/refactor things.

We should make reading our code *easier*, not harder...

Powered by Google App Engine
This is Rietveld 408576698