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

Issue 9235063: Implementation of message reader for converting a message snapshot into a C structure (Closed)

Created:
8 years, 11 months ago by Søren Gjesse
Modified:
8 years, 10 months ago
Reviewers:
turnidge, siva
CC:
reviews_dartlang.org, Mads Ager (google), turnidge
Visibility:
Public.

Description

Implementation of message reader for converting a message snapshot into a C structure It currently supports a limited number of types null, boolean, smi, double, one byte string and arrays of these. There is still no public function in the API to access this. R=asiva@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3682

Patch Set 1 #

Total comments: 24

Patch Set 2 : Addressed first round of review comments from asive@ and turnidge@ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+546 lines, -35 lines) Patch
M runtime/include/dart_api.h View 1 2 chunks +38 lines, -1 line 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 12 chunks +14 lines, -26 lines 0 comments Download
M runtime/vm/snapshot.h View 1 6 chunks +53 lines, -6 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 chunks +199 lines, -1 line 0 comments Download
M runtime/vm/snapshot_test.cc View 1 11 chunks +242 lines, -1 line 2 comments Download

Messages

Total messages: 7 (0 generated)
Søren Gjesse
8 years, 11 months ago (2012-01-26 16:22:36 UTC) #1
turnidge
DBC -turnidge https://chromiumcodereview.appspot.com/9235063/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://chromiumcodereview.appspot.com/9235063/diff/1/runtime/include/dart_api.h#newcode1365 runtime/include/dart_api.h:1365: struct Dart_Value { I'm wondering about what ...
8 years, 11 months ago (2012-01-26 19:48:30 UTC) #2
siva
https://chromiumcodereview.appspot.com/9235063/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://chromiumcodereview.appspot.com/9235063/diff/1/runtime/include/dart_api.h#newcode1369 runtime/include/dart_api.h:1369: kInt32, We would need a kInt64 type too? https://chromiumcodereview.appspot.com/9235063/diff/1/runtime/include/dart_api.h#newcode1379 ...
8 years, 11 months ago (2012-01-27 01:56:52 UTC) #3
Søren Gjesse
I have addressed the first round of comments. I will continue to work on this ...
8 years, 11 months ago (2012-01-27 14:40:03 UTC) #4
siva
LGTM http://codereview.chromium.org/9235063/diff/7001/runtime/vm/snapshot_test.cc File runtime/vm/snapshot_test.cc (right): http://codereview.chromium.org/9235063/diff/7001/runtime/vm/snapshot_test.cc#newcode667 runtime/vm/snapshot_test.cc:667: // Unit test for creating and deleting persistent ...
8 years, 11 months ago (2012-01-27 18:34:54 UTC) #5
turnidge
lgtm
8 years, 11 months ago (2012-01-27 18:45:13 UTC) #6
Søren Gjesse
8 years, 10 months ago (2012-01-30 08:26:03 UTC) #7
http://codereview.chromium.org/9235063/diff/7001/runtime/vm/snapshot_test.cc
File runtime/vm/snapshot_test.cc (right):

http://codereview.chromium.org/9235063/diff/7001/runtime/vm/snapshot_test.cc#...
runtime/vm/snapshot_test.cc:667: // Unit test for creating and deleting
persistent handles.
On 2012/01/27 18:34:54, asiva wrote:
> The comment for this tests seems off.

Absolutely, removed.

Powered by Google App Engine
This is Rietveld 408576698