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

Issue 181843007: 1. Added new versions of Api::UnWrapStringHandle Api::UnWrapInstanceHandle to (Closed)

Created:
6 years, 10 months ago by siva
Modified:
6 years, 9 months ago
Reviewers:
rmacnak, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

1. Added new versions of Api::UnWrapStringHandle Api::UnWrapInstanceHandle to use a reused handle instead of creating a new one 2. Use CHEK_ISOLATE instead of DARTSCOPE in some of the API functions where no handles are created R=rmacnak@google.com Committed: https://code.google.com/p/dart/source/detail?r=33142

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -45 lines) Patch
M runtime/vm/dart_api_impl.h View 1 3 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 22 chunks +71 lines, -38 lines 1 comment Download
M runtime/vm/reusable_handles.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
siva
6 years, 9 months ago (2014-02-27 16:57:06 UTC) #1
rmacnak
LGTM
6 years, 9 months ago (2014-02-27 19:35:20 UTC) #2
siva
Committed patchset #4 manually as r33142 (presubmit successful).
6 years, 9 months ago (2014-02-27 23:38:42 UTC) #3
Ivan Posva
6 years, 9 months ago (2014-02-28 04:41:36 UTC) #4
Message was sent while issue was closed.
-Ivan

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

https://codereview.chromium.org/181843007/diff/60001/runtime/vm/dart_api_impl...
runtime/vm/dart_api_impl.cc:1370: Isolate* isolate = Isolate::Current();
Could we before doing any of the work below just do a quick class ID check?

Powered by Google App Engine
This is Rietveld 408576698