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

Issue 8520030: Set the loaded_ flag in RawLibrary when it is completely loaded. This (Closed)

Created:
9 years, 1 month ago by siva
Modified:
9 years, 1 month ago
Reviewers:
turnidge, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Change loaded_ flag in RawLibrary to load_state_ in order to register different states of the load process. This state can then be used to ensure we report errors on duplicate loads. Committed: https://code.google.com/p/dart/source/detail?r=1643

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -3 lines) Patch
M vm/bootstrap.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M vm/dart_api_impl.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download
M vm/object.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M vm/object.cc View 1 2 chunks +23 lines, -2 lines 0 comments Download
M vm/raw_object.h View 1 2 chunks +8 lines, -1 line 0 comments Download
M vm/raw_object_snapshot.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
siva
9 years, 1 month ago (2011-11-16 00:46:50 UTC) #1
turnidge
lgtm w/ comment http://codereview.chromium.org/8520030/diff/1/vm/dart_api_impl.cc File vm/dart_api_impl.cc (right): http://codereview.chromium.org/8520030/diff/1/vm/dart_api_impl.cc#newcode404 vm/dart_api_impl.cc:404: } Does it make sense to ...
9 years, 1 month ago (2011-11-16 00:51:36 UTC) #2
siva
http://codereview.chromium.org/8520030/diff/1/vm/dart_api_impl.cc File vm/dart_api_impl.cc (right): http://codereview.chromium.org/8520030/diff/1/vm/dart_api_impl.cc#newcode404 vm/dart_api_impl.cc:404: } CompileSource is also called from Dart_LoadSource and we ...
9 years, 1 month ago (2011-11-16 18:57:31 UTC) #3
turnidge
Ok. On 2011/11/16 18:57:31, asiva wrote: > http://codereview.chromium.org/8520030/diff/1/vm/dart_api_impl.cc > File vm/dart_api_impl.cc (right): > > http://codereview.chromium.org/8520030/diff/1/vm/dart_api_impl.cc#newcode404 ...
9 years, 1 month ago (2011-11-16 19:24:33 UTC) #4
siva
Use a load_state_ instead of the boolean loaded_ flag.
9 years, 1 month ago (2011-11-17 01:10:24 UTC) #5
turnidge
9 years, 1 month ago (2011-11-17 23:36:07 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698