|
Rename Closure instance field type_arguments_ to instantiator_.
Simplify handling of closures as deferred objects.
The name "type_arguments_" is confusing, because class Closure is not generic.
Class Closure was forcefully made (kinda) generic by setting its
type_arguments_field_offset_in_words_ field to a valid value, so that the
type_arguments_ field in closure instances could be accessed similarly as in
generic instances. With generic functions, closures will potentially have more
than one instantiator and the name type_arguments_ becomes nonsensical.
R=johnmccutchan@google.com
Committed: https://github.com/dart-lang/sdk/commit/3633c5bd5ec0b6b876433b204d6c94bbfa118351
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+86 lines, -80 lines) |
Patch |
|
M |
runtime/lib/function.dart
|
View
|
1
|
1 chunk |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/lib/mirrors.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap.cc
|
View
|
1
|
1 chunk |
+16 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/bootstrap_nocore.cc
|
View
|
1
|
1 chunk |
+16 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/code_generator.cc
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/deferred_objects.cc
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_builder.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
|
1 chunk |
+3 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
|
5 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_service.cc
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/precompiler.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/raw_object.h
|
View
|
1
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/simulator_dbc.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm64.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_ia32.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_mips.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|