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

Issue 430213004: Register all ExternalReferences in serializer code. (Closed)

Created:
6 years, 4 months ago by Slava Chigrin
Modified:
6 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Register all ExternalReferences in serializer code.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Removed unused ExternalReferences, added few ASSERTs #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -32 lines) Patch
M src/arm/codegen-arm.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/arm64/codegen-arm64.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/assembler.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M src/assembler.cc View 1 2 chunks +0 lines, -24 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/mips/codegen-mips.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/mips64/codegen-mips64.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/serialize.cc View 2 chunks +29 lines, -4 lines 1 comment Download
M src/x64/codegen-x64.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Slava Chigrin
https://codereview.chromium.org/430213004/diff/1/src/serialize.cc File src/serialize.cc (right): https://codereview.chromium.org/430213004/diff/1/src/serialize.cc#newcode530 src/serialize.cc:530: Add(ExternalReference::flush_icache_function(isolate).address(), Comment in the start of this function says ...
6 years, 4 months ago (2014-07-31 16:28:44 UTC) #1
Yang
Sorry for the delay. This CL makes perfect sense, though I do have some comments. ...
6 years, 4 months ago (2014-08-05 11:02:44 UTC) #2
Slava Chigrin
Thank you so much for review! I tried to fix issues you found in new ...
6 years, 4 months ago (2014-08-05 11:47:15 UTC) #3
Yang
On 2014/08/05 11:47:15, Slava Chigrin wrote: > Thank you so much for review! I tried ...
6 years, 4 months ago (2014-08-05 12:53:00 UTC) #4
Slava Chigrin
6 years, 4 months ago (2014-08-05 13:08:11 UTC) #5
On 2014/08/05 12:53:00, Yang wrote:
> On 2014/08/05 11:47:15, Slava Chigrin wrote:
> > Thank you so much for review! I tried to fix issues you found in new patch
> set.
> > 
> > https://codereview.chromium.org/430213004/diff/20001/src/serialize.cc
> > File src/serialize.cc (left):
> > 
> >
>
https://codereview.chromium.org/430213004/diff/20001/src/serialize.cc#oldcode403
> > src/serialize.cc:403: 39,
> > I decided to not renumber all IDs after this, to avoid too big diff. Seems,
> > somebody already did the same (see IDs jump from 29 to 31 on line 371). I
can
> > perform renumbering, if you think it is worth it.
> 
> I think registering external references in the serializer is worth policing,
so
> I created this: https://codereview.chromium.org/441983002/

I checked your issue, it seems much more comprehensive then mine. I like idea of
having script for automatic checking ExternalReferences registration. Thank you
so much!

Powered by Google App Engine
This is Rietveld 408576698