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

Issue 982773003: Serializer: simplify external reference encoding. (Closed)

Created:
5 years, 9 months ago by Yang
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Serializer: simplify external reference encoding. External references are encoded as a tuple of type and ID. This requires both the external reference encode and the decoder to create a mapping between the encoding and the external reference table index. Instead, we simply use the external reference table index as encoding. We now also assume that there are no duplicate entries. Existing duplicates have been removed in this change. R=vogelheim@chromium.org Committed: https://crrev.com/a8e82da6a57ea00414dbf6a3f4341c08c5ed1705 Cr-Commit-Position: refs/heads/master@{#27033}

Patch Set 1 #

Patch Set 2 : magic number now contains number of external references #

Patch Set 3 : fix cctest #

Patch Set 4 : use unsigned #

Patch Set 5 : check for magic number after isolate has been initialized. #

Patch Set 6 : small fix #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -405 lines) Patch
M src/assembler.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M src/disassembler.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M src/serialize.h View 1 2 3 4 5 13 chunks +47 lines, -99 lines 0 comments Download
M src/serialize.cc View 1 2 3 4 5 6 14 chunks +132 lines, -235 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 4 5 6 1 chunk +0 lines, -68 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Yang
5 years, 9 months ago (2015-03-05 10:31:30 UTC) #1
Erik Corry
LGTM, but This is going to be very hard to debug if someone adds an ...
5 years, 9 months ago (2015-03-05 10:44:19 UTC) #3
Yang
On 2015/03/05 10:44:19, Erik Corry wrote: > LGTM, but > > This is going to ...
5 years, 9 months ago (2015-03-05 11:35:16 UTC) #4
Yang
On 2015/03/05 11:35:16, Yang wrote: > On 2015/03/05 10:44:19, Erik Corry wrote: > > LGTM, ...
5 years, 9 months ago (2015-03-05 11:35:49 UTC) #5
Yang
On 2015/03/05 11:35:49, Yang wrote: > On 2015/03/05 11:35:16, Yang wrote: > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-05 13:46:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/982773003/110001
5 years, 9 months ago (2015-03-06 07:59:56 UTC) #9
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 9 months ago (2015-03-06 07:59:57 UTC) #11
Sven Panne
LGTM (mostly rubberstamped, I need the simplification in serialize.cc :-)
5 years, 9 months ago (2015-03-06 08:13:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/982773003/110001
5 years, 9 months ago (2015-03-06 08:13:36 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:110001)
5 years, 9 months ago (2015-03-06 08:15:08 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-06 08:15:36 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a8e82da6a57ea00414dbf6a3f4341c08c5ed1705
Cr-Commit-Position: refs/heads/master@{#27033}

Powered by Google App Engine
This is Rietveld 408576698