|
|
refactor emitMemberName to be used more consistently
other changes:
* adds _emitSend for more consistent emitting of method calls. can't be used everywhere yet, but it unifies some things
* more consistent use of the core.String.* static pattern
* fix dynamic invoke to private members
* fix implicit-this to use emitMemberName, which makes them work with extension methods
* build the global extension method table up-front and optimize lookups (method name first, then subtype test if needed)
* teach the compiler that IsExpression never returns null
R=jacobr@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/30f9e3d8d3c83839a4f8ac7d184ccd6ba1ed081e
Total comments: 20
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+508 lines, -526 lines) |
Patch |
 |
M |
lib/runtime/dart/_interceptors.js
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_internal.js
|
View
|
1
|
17 chunks |
+33 lines, -33 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_isolate_helper.js
|
View
|
1
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_js_helper.js
|
View
|
1
|
14 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/_native_typed_data.js
|
View
|
1
|
23 chunks |
+36 lines, -36 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/async.js
|
View
|
1
|
7 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/collection.js
|
View
|
1
|
36 chunks |
+84 lines, -84 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/convert.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
lib/runtime/dart/core.js
|
View
|
1
|
16 chunks |
+30 lines, -10 lines |
0 comments
|
Download
|
 |
M |
lib/runtime/dart_runtime.js
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
lib/src/codegen/js_codegen.dart
|
View
|
1
2
|
41 chunks |
+281 lines, -323 lines |
0 comments
|
Download
|
 |
M |
lib/src/utils.dart
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
test/codegen/expect/names.js
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|