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

Side by Side Diff: pkg/kernel/binary.md

Issue 2989563002: Preserve type variables in closure conversion. (Closed)
Patch Set: Visit more children, review comments. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This file describes the binary format of Dart Kernel. 1 This file describes the binary format of Dart Kernel.
2 2
3 Notation 3 Notation
4 -------- 4 --------
5 Bitmasks are described with the syntax: 5 Bitmasks are described with the syntax:
6 ```scala 6 ```scala
7 Byte flags (flag1, flag2, ..., flagN) 7 Byte flags (flag1, flag2, ..., flagN)
8 ``` 8 ```
9 where 'flag<N>' is the N-th least significant bit, 9 where 'flag<N>' is the N-th least significant bit,
10 (so flag1 is the least significant bit). 10 (so flag1 is the least significant bit).
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 type VectorCopy extends Expression { 734 type VectorCopy extends Expression {
735 Byte tag = 105; 735 Byte tag = 105;
736 Expression vectorExpression; 736 Expression vectorExpression;
737 } 737 }
738 738
739 type ClosureCreation extends Expression { 739 type ClosureCreation extends Expression {
740 Byte tag = 106; 740 Byte tag = 106;
741 MemberReference topLevelFunctionReference; 741 MemberReference topLevelFunctionReference;
742 Expression contextVector; 742 Expression contextVector;
743 FunctionType functionType; 743 FunctionType functionType;
744 List<DartType> typeArguments;
744 } 745 }
745 746
746 abstract type Statement extends Node {} 747 abstract type Statement extends Node {}
747 748
748 type InvalidStatement extends Statement { 749 type InvalidStatement extends Statement {
749 Byte tag = 60; 750 Byte tag = 60;
750 } 751 }
751 752
752 type ExpressionStatement extends Statement { 753 type ExpressionStatement extends Statement {
753 Byte tag = 61; 754 Byte tag = 61;
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 Option<DartType> bound; 1015 Option<DartType> bound;
1015 } 1016 }
1016 1017
1017 type TypeParameter { 1018 type TypeParameter {
1018 // Note: there is no tag on TypeParameter 1019 // Note: there is no tag on TypeParameter
1019 StringReference name; // Cosmetic, may be empty, not unique. 1020 StringReference name; // Cosmetic, may be empty, not unique.
1020 DartType bound; // 'dynamic' if no explicit bound was given. 1021 DartType bound; // 'dynamic' if no explicit bound was given.
1021 } 1022 }
1022 1023
1023 ``` 1024 ```
OLDNEW
« no previous file with comments | « no previous file | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698