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

Issue 1584223006: Remove signature classes from the VM. (Closed)

Created:
4 years, 11 months ago by regis
Modified:
4 years, 11 months ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove signature classes from the VM. They were used as the class of closure instances and as the type class of function types. All closure instances now have class _Closure and function types are represented by a new class FunctionType extending AbstractType. Fix issue 24567 and add regression test. R=asiva@google.com, rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/7f57ebcfa187fbff0a3138423f7ead35632d0c2c

Patch Set 1 #

Total comments: 19

Patch Set 2 : address review comments #

Patch Set 3 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2329 lines, -1583 lines) Patch
M runtime/lib/errors.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/lib/function.cc View 2 chunks +33 lines, -43 lines 0 comments Download
M runtime/lib/function.dart View 1 chunk +7 lines, -5 lines 0 comments Download
M runtime/lib/isolate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/lib/mirrors.cc View 1 2 24 chunks +67 lines, -92 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 7 chunks +13 lines, -11 lines 0 comments Download
M runtime/lib/object.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M runtime/lib/type_patch.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/get_allocation_samples_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/tests/service/graph_test.dart View 1 1 chunk +8 lines, -2 lines 0 comments Download
M runtime/vm/bootstrap.cc View 1 chunk +5 lines, -7 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/cha.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/cha_test.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M runtime/vm/class_finalizer.h View 5 chunks +15 lines, -12 lines 0 comments Download
M runtime/vm/class_finalizer.cc View 1 2 31 chunks +351 lines, -323 lines 0 comments Download
M runtime/vm/code_generator.cc View 9 chunks +27 lines, -31 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 5 chunks +7 lines, -12 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/debugger_api_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/deferred_objects.cc View 2 chunks +43 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 5 chunks +30 lines, -25 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 5 chunks +20 lines, -18 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 2 5 chunks +20 lines, -18 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 5 chunks +20 lines, -20 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 5 chunks +19 lines, -17 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 5 chunks +20 lines, -18 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 2 chunks +9 lines, -8 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 chunk +1 line, -3 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/log.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/megamorphic_cache_table.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/message.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/mirrors_api_impl.cc View 2 chunks +3 lines, -13 lines 0 comments Download
M runtime/vm/native_arguments.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 27 chunks +194 lines, -148 lines 0 comments Download
M runtime/vm/object.cc View 1 2 66 chunks +949 lines, -372 lines 0 comments Download
M runtime/vm/object_store.h View 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/object_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object_test.cc View 1 2 2 chunks +12 lines, -15 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 20 chunks +84 lines, -204 lines 0 comments Download
M runtime/vm/parser_test.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M runtime/vm/precompiler.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M runtime/vm/profiler_test.cc View 1 5 chunks +12 lines, -17 lines 0 comments Download
M runtime/vm/raw_object.h View 1 7 chunks +44 lines, -4 lines 0 comments Download
M runtime/vm/raw_object.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 6 chunks +133 lines, -8 lines 0 comments Download
M runtime/vm/snapshot.h View 8 chunks +13 lines, -4 lines 0 comments Download
M runtime/vm/snapshot.cc View 8 chunks +42 lines, -41 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/stub_code_arm64.cc View 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/symbols.h View 3 chunks +3 lines, -1 line 0 comments Download
M tests/compiler/dart2js/analyze_test_test.dart View 1 1 chunk +0 lines, -1 line 0 comments Download
A + tests/language/regress_24567_test.dart View 1 1 chunk +7 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
regis
4 years, 11 months ago (2016-01-15 22:01:01 UTC) #2
rmacnak
https://codereview.chromium.org/1584223006/diff/1/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/1584223006/diff/1/runtime/lib/mirrors_impl.dart#newcode964 runtime/lib/mirrors_impl.dart:964: MethodMirror get callMethod { return declarations[#call]; and delete last ...
4 years, 11 months ago (2016-01-19 19:27:12 UTC) #3
rmacnak
4 years, 11 months ago (2016-01-19 19:29:41 UTC) #4
siva
LGTM with some comments. https://codereview.chromium.org/1584223006/diff/1/runtime/lib/function.cc File runtime/lib/function.cc (right): https://codereview.chromium.org/1584223006/diff/1/runtime/lib/function.cc#newcode58 runtime/lib/function.cc:58: zone, arguments->NativeArgAt(0)); Is it right ...
4 years, 11 months ago (2016-01-19 21:11:00 UTC) #5
rmacnak
lgtm w/c https://codereview.chromium.org/1584223006/diff/1/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/1584223006/diff/1/runtime/lib/mirrors_impl.dart#newcode964 runtime/lib/mirrors_impl.dart:964: MethodMirror get callMethod { On 2016/01/19 19:27:11, ...
4 years, 11 months ago (2016-01-19 22:00:10 UTC) #6
regis
Thank you both! https://codereview.chromium.org/1584223006/diff/1/runtime/lib/function.cc File runtime/lib/function.cc (right): https://codereview.chromium.org/1584223006/diff/1/runtime/lib/function.cc#newcode58 runtime/lib/function.cc:58: zone, arguments->NativeArgAt(0)); On 2016/01/19 21:11:00, siva ...
4 years, 11 months ago (2016-01-19 23:15:30 UTC) #7
regis
4 years, 11 months ago (2016-01-20 00:33:04 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
7f57ebcfa187fbff0a3138423f7ead35632d0c2c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698