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

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

Issue 2748333002: [kernel] offsets on direct property get/set (Closed)
Patch Set: Created 3 years, 9 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
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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 388
389 type SuperPropertySet extends Expression { 389 type SuperPropertySet extends Expression {
390 Byte tag = 25; 390 Byte tag = 25;
391 Name name; 391 Name name;
392 Expression value; 392 Expression value;
393 MemberReference interfaceTarget; // May be NullReference. 393 MemberReference interfaceTarget; // May be NullReference.
394 } 394 }
395 395
396 type DirectPropertyGet extends Expression { 396 type DirectPropertyGet extends Expression {
397 Byte tag = 15; // Note: tag is out of order 397 Byte tag = 15; // Note: tag is out of order
398 FileOffset fileOffset;
398 Expression receiver; 399 Expression receiver;
399 MemberReference target; 400 MemberReference target;
400 } 401 }
401 402
402 type DirectPropertySet extends Expression { 403 type DirectPropertySet extends Expression {
403 Byte tag = 16; // Note: tag is out of order 404 Byte tag = 16; // Note: tag is out of order
405 FileOffset fileOffset;
404 Expression receiver; 406 Expression receiver;
405 MemberReference target; 407 MemberReference target;
406 Expression value; 408 Expression value;
407 } 409 }
408 410
409 type StaticGet extends Expression { 411 type StaticGet extends Expression {
410 Byte tag = 26; 412 Byte tag = 26;
411 FileOffset fileOffset; 413 FileOffset fileOffset;
412 MemberReference target; 414 MemberReference target;
413 } 415 }
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 921
920 /* enum BaseClassKind { None, Exact, Subclass, Subtype, } */ 922 /* enum BaseClassKind { None, Exact, Subclass, Subtype, } */
921 923
922 type InferredValue { 924 type InferredValue {
923 ClassReference baseClass; // May be NullReference if kind = None. 925 ClassReference baseClass; // May be NullReference if kind = None.
924 Byte kind; // Index into BaseClassKind. 926 Byte kind; // Index into BaseClassKind.
925 Byte valueBits; // See lib/type_propagation/type_propagation.dart 927 Byte valueBits; // See lib/type_propagation/type_propagation.dart
926 } 928 }
927 929
928 ``` 930 ```
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart ('k') | pkg/kernel/lib/binary/ast_from_binary.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698