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

Issue 12082126: Cleanup api for isolate state checking. (Closed)

Created:
7 years, 10 months ago by regis
Modified:
7 years, 10 months ago
Reviewers:
Tom Ball, siva
CC:
reviews_dartlang.org, Tom Ball
Visibility:
Public.

Description

Cleanup api for isolate state checking. This should avoid the breakage on Windows observed by reverted r17962. Committed: https://code.google.com/p/dart/source/detail?r=18013

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -69 lines) Patch
M runtime/vm/dart_api_impl.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 12 chunks +41 lines, -54 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 1 3 chunks +9 lines, -9 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
regis
7 years, 10 months ago (2013-02-01 22:27:27 UTC) #1
Tom Ball
lgtm
7 years, 10 months ago (2013-02-01 22:44:09 UTC) #2
siva
lgtm https://codereview.chromium.org/12082126/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/12082126/diff/1/runtime/vm/dart_api_impl.cc#newcode162 runtime/vm/dart_api_impl.cc:162: if (obj.IsError()) { Shouldn't this always be an ...
7 years, 10 months ago (2013-02-01 22:56:26 UTC) #3
regis
7 years, 10 months ago (2013-02-01 23:43:16 UTC) #4
Thanks!

https://codereview.chromium.org/12082126/diff/1/runtime/vm/dart_api_impl.cc
File runtime/vm/dart_api_impl.cc (right):

https://codereview.chromium.org/12082126/diff/1/runtime/vm/dart_api_impl.cc#n...
runtime/vm/dart_api_impl.cc:162: if (obj.IsError()) {
On 2013/02/01 22:56:26, siva wrote:
> Shouldn't this always be an Error, in what cases can it not be an error.
> 
> Maybe we just assert it is an Error here.

Done.

Powered by Google App Engine
This is Rietveld 408576698