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

Issue 11613009: Changed the API in DartEntry for invoking dart code from C++ to make it more compatible with the re… (Closed)

Created:
8 years ago by siva
Modified:
8 years ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Changed the API in DartEntry for invoking dart code from C++ to make it more compatible with the requirements of the runtime. Deleted all the code duplication that was added to circumvent the old DartEntry API requirements. Committed: https://code.google.com/p/dart/source/detail?r=16288

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -487 lines) Patch
M lib/function.cc View 1 2 1 chunk +6 lines, -43 lines 0 comments Download
M lib/invocation_mirror.cc View 1 2 2 chunks +18 lines, -41 lines 0 comments Download
M lib/isolate.cc View 1 2 2 chunks +6 lines, -8 lines 0 comments Download
M tests/vm/vm.status View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M vm/ast.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M vm/code_descriptors_test.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M vm/code_generator.cc View 1 2 6 chunks +27 lines, -84 lines 0 comments Download
M vm/code_generator_test.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M vm/compiler.cc View 1 2 1 chunk +4 lines, -8 lines 0 comments Download
M vm/custom_isolate_test.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M vm/dart_api_impl.cc View 1 2 19 chunks +96 lines, -106 lines 0 comments Download
M vm/dart_entry.h View 1 2 2 chunks +29 lines, -8 lines 6 comments Download
M vm/dart_entry.cc View 1 2 14 chunks +103 lines, -89 lines 0 comments Download
M vm/dart_entry_test.cc View 1 2 3 chunks +15 lines, -18 lines 0 comments Download
M vm/debugger.cc View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
M vm/isolate.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M vm/parser.cc View 1 2 5 chunks +18 lines, -17 lines 0 comments Download
M vm/resolver_test.cc View 1 2 2 chunks +9 lines, -13 lines 0 comments Download
M vm/stub_code_ia32.cc View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M vm/stub_code_ia32_test.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M vm/stub_code_x64.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M vm/stub_code_x64_test.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M vm/unit_test.h View 1 2 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
siva
8 years ago (2012-12-18 00:48:56 UTC) #1
siva
8 years ago (2012-12-18 00:53:48 UTC) #2
regis
LGTM https://chromiumcodereview.appspot.com/11613009/diff/9002/vm/dart_entry.cc File vm/dart_entry.cc (right): https://chromiumcodereview.appspot.com/11613009/diff/9002/vm/dart_entry.cc#newcode83 vm/dart_entry.cc:83: RawObject* DartEntry::InvokeClosure(const Instance& closure, Remove closure as argument. ...
8 years ago (2012-12-18 16:21:28 UTC) #3
siva
Thanks. https://chromiumcodereview.appspot.com/11613009/diff/9002/vm/dart_entry.cc File vm/dart_entry.cc (right): https://chromiumcodereview.appspot.com/11613009/diff/9002/vm/dart_entry.cc#newcode83 vm/dart_entry.cc:83: RawObject* DartEntry::InvokeClosure(const Instance& closure, See comment in dart_entry.h ...
8 years ago (2012-12-18 21:18:13 UTC) #4
regis
Great. Still LGTM https://chromiumcodereview.appspot.com/11613009/diff/9002/vm/dart_entry.h File vm/dart_entry.h (right): https://chromiumcodereview.appspot.com/11613009/diff/9002/vm/dart_entry.h#newcode125 vm/dart_entry.h:125: static RawObject* InvokeClosure(const Instance& closure, On ...
8 years ago (2012-12-18 21:34:46 UTC) #5
siva
8 years ago (2012-12-18 23:14:36 UTC) #6
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/11613009/diff/15001/vm/dart_entry.h
File vm/dart_entry.h (right):

https://chromiumcodereview.appspot.com/11613009/diff/15001/vm/dart_entry.h#ne...
vm/dart_entry.h:104: static RawObject* InvokeDynamic(
Forgot these in my last submission, will make these changes in the next CL.

On 2012/12/18 21:34:46, regis wrote:
> Restore indentation as for InvokeDynamic above?

https://chromiumcodereview.appspot.com/11613009/diff/15001/vm/dart_entry.h#ne...
vm/dart_entry.h:117: static RawObject* InvokeStatic(
Ditto.

On 2012/12/18 21:34:46, regis wrote:
> Restore indentation as for InvokeStatic above?

https://chromiumcodereview.appspot.com/11613009/diff/15001/vm/dart_entry.h#ne...
vm/dart_entry.h:130: static RawObject* InvokeClosure(
Ditto.

On 2012/12/18 21:34:46, regis wrote:
> Restore indentation as for InvokeClosure above?

Powered by Google App Engine
This is Rietveld 408576698