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

Issue 25675009: Allow invocation of constructors using Dart_Invoke. (Closed)

Created:
7 years, 2 months ago by siva
Modified:
7 years, 2 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add a new method Dart_InvokeConstructor to allow invocation of generative constructors on an object that has already been allocated using Dart_Allocate. R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=28276

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -38 lines) Patch
M runtime/include/dart_api.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 5 chunks +152 lines, -34 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 3 4 chunks +52 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
siva
7 years, 2 months ago (2013-10-03 21:56:40 UTC) #1
regis
LGTM But I am a bit surprised that you have to allocate first. This won't ...
7 years, 2 months ago (2013-10-04 00:03:08 UTC) #2
siva
As discussed offline I have added a new method Dart_InvokeConstructor which calls a generative constructor ...
7 years, 2 months ago (2013-10-04 18:32:56 UTC) #3
siva
PTAL.
7 years, 2 months ago (2013-10-04 18:33:07 UTC) #4
regis
LGTM https://chromiumcodereview.appspot.com/25675009/diff/13001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://chromiumcodereview.appspot.com/25675009/diff/13001/runtime/include/dart_api.h#newcode1835 runtime/include/dart_api.h:1835: * The 'target' parameter must be and object. ...
7 years, 2 months ago (2013-10-04 19:35:16 UTC) #5
siva
https://chromiumcodereview.appspot.com/25675009/diff/13001/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://chromiumcodereview.appspot.com/25675009/diff/13001/runtime/include/dart_api.h#newcode1835 runtime/include/dart_api.h:1835: * The 'target' parameter must be and object. On ...
7 years, 2 months ago (2013-10-04 19:48:10 UTC) #6
siva
7 years, 2 months ago (2013-10-04 20:00:51 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r28276 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698