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

Issue 10831248: 1. Write out only the kind_tag_ field of a function in the snapshot instead of the individual bits … (Closed)

Created:
8 years, 4 months ago by siva
Modified:
8 years, 4 months ago
Reviewers:
turnidge, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

1. Write out only the kind_tag_ field of a function in the snapshot instead of the individual bits as boolean values. This reduces the snapshot size by about 4k 2. Move the kind_tag_ accessor functions from RawFunction to Function (we try not to have any code in the Raw classes). Committed: https://code.google.com/p/dart/source/detail?r=10528

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -105 lines) Patch
M vm/object.h View 4 chunks +36 lines, -8 lines 0 comments Download
M vm/object.cc View 3 chunks +21 lines, -8 lines 0 comments Download
M vm/raw_object.h View 1 chunk +0 lines, -77 lines 0 comments Download
M vm/raw_object_snapshot.cc View 2 chunks +2 lines, -12 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
siva
8 years, 4 months ago (2012-08-09 23:28:35 UTC) #1
turnidge
8 years, 4 months ago (2012-08-10 03:49:02 UTC) #2
lgtm

Moving the KindBits from RawFunction to Function seems fine.  I'm wondering why
we don't move the TagBits from RawObject to Object too.

Powered by Google App Engine
This is Rietveld 408576698