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

Issue 259173003: Kiss goodbye to MaybeObject. (Closed)

Created:
6 years, 7 months ago by Yang
Modified:
6 years, 7 months ago
CC:
v8-dev, Michael Starzinger
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 20

Patch Set 2 : rebase + addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+702 lines, -886 lines) Patch
M src/arm64/simulator-arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/assembler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/execution.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/factory.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M src/gdb-jit.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/handles-inl.h View 2 chunks +0 lines, -5 lines 0 comments Download
M src/heap.h View 1 10 chunks +63 lines, -64 lines 0 comments Download
M src/heap.cc View 1 57 chunks +303 lines, -322 lines 0 comments Download
M src/heap-inl.h View 1 10 chunks +48 lines, -57 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 1 chunk +14 lines, -7 lines 0 comments Download
M src/incremental-marking.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/incremental-marking-inl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/isolate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/mark-compact.cc View 1 5 chunks +12 lines, -16 lines 0 comments Download
M src/objects.h View 1 7 chunks +113 lines, -203 lines 0 comments Download
M src/objects.cc View 1 2 chunks +0 lines, -12 lines 0 comments Download
M src/objects-debug.cc View 1 2 chunks +0 lines, -15 lines 0 comments Download
M src/objects-inl.h View 1 3 chunks +0 lines, -64 lines 0 comments Download
M src/objects-printer.cc View 1 1 chunk +7 lines, -12 lines 0 comments Download
M src/spaces.h View 1 6 chunks +48 lines, -8 lines 0 comments Download
M src/spaces.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M src/spaces-inl.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/v8globals.h View 1 3 chunks +2 lines, -1 line 0 comments Download
M test/cctest/cctest.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M test/cctest/test-alloc.cc View 1 2 chunks +20 lines, -19 lines 0 comments Download
M test/cctest/test-heap.cc View 1 7 chunks +15 lines, -21 lines 0 comments Download
M test/cctest/test-mark-compact.cc View 1 6 chunks +16 lines, -19 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/test-spaces.cc View 4 chunks +7 lines, -8 lines 0 comments Download
M test/cctest/test-symbols.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Yang
6 years, 7 months ago (2014-04-29 13:31:20 UTC) #1
Yang
6 years, 7 months ago (2014-04-29 13:45:22 UTC) #2
Hannes Payer (out of office)
LGTM. Cool stuff! I left just nits. Would you mind renaming all variable and parameter ...
6 years, 7 months ago (2014-04-30 07:07:06 UTC) #3
Sven Panne
A few rambling remarks about naming: I'm not sure if renaming all that stuff is ...
6 years, 7 months ago (2014-04-30 07:44:53 UTC) #4
Hannes Payer (out of office)
I don't think it is vague, it is very precise "General Naming Rules: Function names, ...
6 years, 7 months ago (2014-04-30 07:56:14 UTC) #5
Sven Panne
On 2014/04/30 07:56:14, Hannes Payer wrote: > I don't think it is vague, it is ...
6 years, 7 months ago (2014-04-30 08:02:06 UTC) #6
Jakob Kummerow
DBC: I'm with Sven here. When it can reasonably be assumed that everyone (in our ...
6 years, 7 months ago (2014-04-30 09:58:12 UTC) #7
Hannes Payer (out of office)
On 2014/04/30 09:58:12, Jakob wrote: > DBC: > > I'm with Sven here. When it ...
6 years, 7 months ago (2014-04-30 10:39:45 UTC) #8
Yang
On 2014/04/30 10:39:45, Hannes Payer wrote: > On 2014/04/30 09:58:12, Jakob wrote: > > DBC: ...
6 years, 7 months ago (2014-04-30 12:25:25 UTC) #9
Yang
https://codereview.chromium.org/259173003/diff/1/src/heap-inl.h File src/heap-inl.h (right): https://codereview.chromium.org/259173003/diff/1/src/heap-inl.h#newcode406 src/heap-inl.h:406: return false; On 2014/04/30 07:07:07, Hannes Payer wrote: > ...
6 years, 7 months ago (2014-04-30 12:25:33 UTC) #10
Yang
Committed patchset #2 manually as r21086 (presubmit successful).
6 years, 7 months ago (2014-04-30 12:25:38 UTC) #11
Sven Panne
6 years, 7 months ago (2014-04-30 12:30:51 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/259173003/diff/1/src/heap-inl.h
File src/heap-inl.h (right):

https://codereview.chromium.org/259173003/diff/1/src/heap-inl.h#newcode406
src/heap-inl.h:406: return false;
On 2014/04/30 12:25:34, Yang wrote:
> The compiler would otherwise complain that there is no default case if I don't
> list all possible cases of the enum. changed to use default

Already too late, but nevertheless: Please don't use 'default', it makes future
changes much, much harder. Explicitly marking it as unreachable was better.
We've been through this pain in other places several times before...

Powered by Google App Engine
This is Rietveld 408576698