Martin Kustermann
c7fa95d117
[kernel] Add new [InferredValue] ast node, annotate return types, variables, fields
...
R=asgerf@google.com
Review URL: https://chromereviews.googleplex.com/485197013 .
2016-08-09 12:53:42 +02:00
Martin Kustermann
43116be5c5
[kernel] Implement binary format implementation for BlockExpression
...
R=vegorov@google.com
Review URL: https://chromereviews.googleplex.com/462427014 .
2016-08-02 12:14:50 +02:00
Asger Feldthaus
0228e8c29e
[kernel] Fix deserialization of labels in nested functions.
...
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/472867013 .
2016-07-20 14:12:07 +02:00
Asger Feldthaus
241a79e11b
[kernel] Preserve leading BOMs during deserialization.
...
BUG=#21
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/467567013 .
2016-07-20 14:10:22 +02:00
Asger Feldthaus
10d54d7a61
[kernel] Change the default binary file extension to .dill
...
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/475637013 .
2016-07-19 17:52:33 +02:00
Martin Kustermann
1d0f534832
[kernel] Revert "Implement binary format implementation for BlockExpression"
...
This accidentally landed on master branch.
2016-07-08 09:22:36 +02:00
Martin Kustermann
4acb4446fd
[kernel] Implement binary format implementation for BlockExpression
...
R=vegorov@google.com
Review URL: https://chromereviews.googleplex.com/462427014 .
2016-07-08 09:18:01 +02:00
Asger Feldthaus
f13be3e4bc
[kernel] Add LocalInitializer and move super calls last in initializer lists.
...
LocalInitializer lets us to bind temporaries to variables in the
initializer list. We use it to ensure the arguments to super() are
evaluated at the right time.
accessors.dart and the new file super_calls.dart have been moved into
a folder "frontend" for frontend helpers that operate on Kernel IR.
BUG=
R=kustermann@google.com
Review URL: https://chromereviews.googleplex.com/457457013 .
2016-06-28 14:27:01 +02:00
Asger Feldthaus
638b4bfaff
[kernel] Normalize DartTypes to 'dynamic' instead of 'null' when omitted.
...
For constructor bodies, we arbitrarily set the return type to 'void'.
Although there is hardly any legitimate use for the "return type" of
a constructor, this doesn't have any overhead and it simplifies the
restriction on FunctionNode.
BUG=
R=kmillikin@google.com
Review URL: https://chromereviews.googleplex.com/446827013 .
2016-06-06 15:01:51 +02:00
Asger Feldthaus
9e4e37a4ae
[kernel] Add more convenience methods and tweak the behavior of toString().
...
Also contains a bugfix for a missing visitor call.
BUG=
R=ahe@google.com
Review URL: https://chromereviews.googleplex.com/438627013 .
2016-05-25 13:56:43 +02:00
Asger Feldthaus
a117d3f8f7
[kernel] Add 'const' modifier to StaticInvocation.
...
This is to distinguish constant calls to an external constant factory.
This changes the binary format.
2016-04-28 12:58:42 +02:00
Asger Feldthaus
811a47d430
[kernel] Initial implementation of Dart Kernel.
...
Contains:
- Command-line tool
- Kernel AST
- Binary serialization
- Printing as text
- Frontend based on analyzer
- Class hierarchy and type algebra
2016-04-26 10:39:15 +02:00