Commit Graph

98 Commits

Author SHA1 Message Date
asgerf@google.com 9dfa76057f Fix method rename in analyzer2dart.
An incomplete refactoring did not touch analyzer2dart.

BUG=

Review URL: https://codereview.chromium.org//916793003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43686 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 15:29:36 +00:00
asgerf@google.com ec384eb0ad dart2js cps: Handle optional parameters in builder.
For static invocations, default values are inlined.

For all invocations, named parameters are reordered alphabetically.

BUG=
R=karlklose@google.com

Committed: https://code.google.com/p/dart/source/detail?r=43643

Reverted: https://code.google.com/p/dart/source/detail?r=43679

Review URL: https://codereview.chromium.org//908863003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43684 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 15:13:40 +00:00
asgerf@google.com 096a40419e Revert "dart2js cps: Handle optional parameters in builder."
This reverts commit 43643.

BUG=
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//879483005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43679 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-11 10:19:25 +00:00
johnniwinther@google.com 986ce5c39c Support default constructors in analyzer2dart.
BUG=
R=paulberry@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//900403003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43652 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 15:18:36 +00:00
asgerf@google.com febb77ce10 dart2js cps: Handle optional parameters in builder.
For static invocations, default values are inlined.

For all invocations, named parameters are reordered alphabetically.

BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//908863003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43643 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 13:36:58 +00:00
johnniwinther@google.com 827e265786 Revert "Add sharedfrontend package"
This reverts commit r43635.

BUG=

Review URL: https://codereview.chromium.org//914613002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43637 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 11:32:18 +00:00
johnniwinther@google.com d7118339b5 Add sharedfrontend package
- initial element model includes Element, LibraryElement and ClassElement
- AccessSemantics moved to sharedfrontend to be utilized from both analyzer2dart and dart2js.

BUG=
R=brianwilkerson@google.com, paulberry@google.com

Review URL: https://codereview.chromium.org//898113002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43635 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-10 10:44:56 +00:00
johnniwinther@google.com b964042fcd Support instance methods in analyzer2dart.
BUG=
R=paulberry@google.com

Review URL: https://codereview.chromium.org//898303002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43555 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 14:59:18 +00:00
paulberry@google.com 1ce826e0c2 Add Iterable type to mock SDK for analyzer2dart.
Analyzer now needs the Iterable type to exist because it is used in
static type checking of "yield" statements.

TBR=scheglov@google.com

Review URL: https://codereview.chromium.org//896663004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43421 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 19:28:13 +00:00
kmillikin@google.com 31fc0e5a8e Rename ClosureVariable, use separate IR forms for declaration and assignment.
I plan to use ClosureVariable for the variables assigned in try, so
the name will become incorrect.  They are renamed to MutableVariable.

Use separate IR forms for declaration of MutableVariable (LetMutable)
and for assignment to mutable variables (SetMutableVariable).  This
distinction doesn't do much in this change other than make the tree a
bit more well-formed, but I plan to make LetMutable take a list of
variables and values (e.g. all the variables mutated in a try).

R=asgerf@google.com, karlklose@google.com
BUG=

Review URL: https://codereview.chromium.org//898463002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43396 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 14:18:13 +00:00
paulberry@google.com f7fdfdde67 Fix mock SDK used by analyzer2dart.
Revision 43366 makes analyzer depend on Future having exactly one type
parameter.

TBR=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//898453006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43373 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-02 23:31:15 +00:00
kmillikin@google.com d729e9a9b5 dart2dart: Remove the list of closureVariables from FunctionDefinitions.
Function definitions had a list of closure variables (which was always
empty in the JS backend).  This list has no code generation semantics
because it is ignored by the Tree IR builder.  Instead, when translating
to Tree IR, a reference to an unbound closure variable implicitly
'declares' it.

The closure variables were however used for the S-expression serialized
representation.  They can be eliminated here as well by using the same
trick as the Tree IR builder.

R=asgerf@google.com
BUG=

Review URL: https://codereview.chromium.org//886053003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43337 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-30 13:20:23 +00:00
brianwilkerson@google.com ca3ed08552 Fix the build
Review URL: https://codereview.chromium.org//865973008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43296 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-29 16:50:26 +00:00
herhut@google.com 93fe77b250 Change signature of lookupConstructor to only require a name.
BUG=
R=johnniwinther@google.com

Committed: https://code.google.com/p/dart/source/detail?r=43067

Reverted: https://code.google.com/p/dart/source/detail?r=43068

Review URL: https://codereview.chromium.org//812523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43272 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-29 09:34:42 +00:00
johnniwinther@google.com 6fb90bc36c Support constructor declarations in analyzer2dart.
BUG=
R=herhut@google.com

Review URL: https://codereview.chromium.org//867233004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43271 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-29 07:57:57 +00:00
johnniwinther@google.com 519263807a Support enums in dart2dart.
BUG=
R=sigurdm@google.com

Review URL: https://codereview.chromium.org//878843003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43230 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-28 09:04:49 +00:00
kmillikin@google.com 5f57d08cb8 Reapply "Add a shrinking reduction for dead continuation parameters."
This reapplies SVN revision r43093 with bug fixes.  A failing assert
was fixed, and continuation eta-reduction was restricted to not change
non-call continuations into call continuations.  If these were to
occur, they risk duplicating code and so are not always on
optimization.

BUG=
R=asgerf@google.com

Review URL: https://codereview.chromium.org//872373003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43135 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 13:51:37 +00:00
kmillikin@google.com c74e16c5d5 Revert "Add a shrinking reduction for dead continuation parameters."
This reverts svn revision r43093, due to failures in dart2dart.  It
clashes with the commit just before it which has changed the type of
FunctionDefinition parameters.

Also, continuation eta-reduction can destroy a dead parameter
reduction.  In this case, it's not obvious which reduction we actually
want.  So though the fixes are simple, I will back this change out and
reevaluate it.

R=asgerf@google.com
BUG=

Review URL: https://codereview.chromium.org//869223003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43105 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-23 13:44:41 +00:00
kmillikin@google.com bdba8f356b Add a shrinking reduction for dead continuation parameters.
Continuation parameters that have no uses can be eliminated.  This is
similar to the reduction for dead values except that that continuation
invocations need to be adjusted.

Performing a dead parameter reduction can create other dead parameter
redexes, dead value redexes, or continuation eta-redexes.  Detection
of these redexes does not fit the existing model, where an entire
deleted subterm is visited after being eliminated from the whole term.
Instead, they are detected explicit as part of the reduction
implementation.

R=asgerf@google.com
BUG=

Review URL: https://codereview.chromium.org//864293004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43093 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-23 10:27:46 +00:00
asgerf@google.com b78959f1d7 Implement constructor bodies and initializers in CPS->JS backend.
As in the SSA backend, a constructor consists of three parts:
1. Instantiator: creates an object and sets its fields
2. Factory: evaluates field initializers, calls instantiator, then
   calls bodies.
3. Body: executes the body of a constructor.

The CreateClosureClass instruction has been replaced by CreateInstance
for invoking the instantiator for an arbitrary class.

The IrBuilderVisitor has been split into two subclasses to better
isolate the JS-specific code.

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//862703002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43092 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-23 10:19:28 +00:00
herhut@google.com 10899ca02c Revert "Change signature of lookupConstructor to only require a name."
This reverts revision 43067.

BUG=
TBR=floitsch@google.com

Review URL: https://codereview.chromium.org//868643002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43068 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-22 10:46:18 +00:00
herhut@google.com e37fcb6489 Change signature of lookupConstructor to only require a name.
BUG=
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//812523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43067 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-22 10:32:43 +00:00
kmillikin@google.com 41897d3517 Reapply "Allow LetCont to bind multiple continuations."
This reapplies svn revision r42945 with bugfixes.  There was an
invalid assertion in the shrinking reduction pass and a stray left
parenthesis in one of the input IR expressions.

Some of the logic in the shrinking reduction pass has been cleaned up.

R=asgerf@google.com
BUG=

Review URL: https://codereview.chromium.org//827763003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42988 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-19 12:49:52 +00:00
asgerf@google.com 5e13a173b2 Dart2dart: Support for-loop variables captured in loop body.
Capture in initializer, condition, and update is still not supported.

IMO: we should postpone efforts toward full capture support in dart2dart
until benchmarks indicate that dart2dart actually benefits from the
translation through CPS (which is still an open question, yes?).

Such benchmarking should not be blocked by lack of completeness,
because real code probably never captures loop variables in the loop
header.

R=sigurdm@google.com

Review URL: https://codereview.chromium.org//846353002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42959 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-16 14:56:13 +00:00
sigurdm@google.com b0d465cfa0 Revert "Allow LetCont to bind multiple continuations."
This reverts commit r42945.

BUG=

Review URL: https://codereview.chromium.org//853083005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42948 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-16 10:09:01 +00:00
kmillikin@google.com 16d72e35e0 Allow LetCont to bind multiple continuations.
LetCont can now bind multiple continuations in the same scope.  As an
example, the 'then' and 'else' continuations of a branch are siblings
in the expression, and neither is in the scope of the other.  None of
the LetCont-bound continuations are in scope for any of the
continuation bodies.  Recursive continuations are still recursive
values, not recursive bindings, so there is no direct way to have
mutually recursive continuations.  This matches the JavaScript
semantics.

R=asgerf@google.com, sigurdm@google.com, karlklose@google.com
BUG=

Review URL: https://codereview.chromium.org//848363002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42945 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-16 08:55:20 +00:00
asgerf@google.com 73d063e5f4 Fix some bugs that blocked optimizations in the new IRs.
- Bad reference counting in tree IR builder.
- Incorrect visit order in StatementRewriter.visitSetField.
- Bad hint assigned in IR builder for GetClosureVariable.

BUG=
R=sigurdm@google.com

Review URL: https://codereview.chromium.org//807573003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42913 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 15:50:36 +00:00
asgerf@google.com e50fd28ff7 Use closure conversion in new dart2js backend.
New instructions: CreateBox, SetField, GetField, CreateClosureClass.

The "old" instructions based on ref-cells are still in use by dart2dart:
GetClosureVariable, SetClosureVariable, CreateFunction.

dart2dart still does not support captured for-loop variables, but this
is a separate issue.

BUG=
R=floitsch@google.com, kmillikin@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//831133004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42802 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 11:57:15 +00:00
johnniwinther@google.com 0192ea71fc Emit to StreamCodeOutput instead of CodeBuffer.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//830703004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42801 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 09:14:25 +00:00
kmillikin@google.com e79c7e72bf Make scoping more prominent in the CPS IR's printed representation.
Before: LetPrim and LetCont had "internal define" scoping, extending to
the end of the body they were in.  After: they have "let" scoping, with a
body as a subexpression.

This change makes it easier to see scoping in the printed representation.
It also makes the printed representation more closely resemble the
internal representation.  Finally, it is an advantage if writing the IR
by hand because expressions are balanced (Emacs, for example, can copy or
cut a balances S-expression).

Argument lists are changed to be always nested (enclosed by parentheses).
The basic rule of thumb is that the syntactic forms of the IR should all
have fixed arity (matching the internal representation), so that variable
arity parts such as arguments are represented as a single list.

BUG=
R=asgerf@google.com, floitsch@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//833353002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42630 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-06 12:49:28 +00:00
paulberry@google.com dc884601e0 Add AccessSemantics support for calling typenames.
This adds AccessSemantics support for constructions like:

  class C {}
  main() {
    C();
  }

Even though this will always lead to a runtime error, it only produces
a warning at compile time.  Therefore AccessSemantics needs to
classify it correctly in order to allow the compilation back-end to
produce the correct runtime error.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//816773002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42480 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 21:58:58 +00:00
johnniwinther@google.com 2b9de73a47 Fix analyzer2dart end2end.
BUG=http://dartbug.com/21872
R=karlklose@google.com

Review URL: https://codereview.chromium.org//812333002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42453 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 10:19:40 +00:00
kmillikin@google.com 9eac6999aa Change the S-expression representation of constant values.
Before we called toStructuredString, which made no guarantee to
produce something that could be parsed as an S-expression.  Instead
implement our own conversion to S-expressions.

R=karlklose@google.com
BUG=

Review URL: https://codereview.chromium.org//813753002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42438 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-17 15:18:59 +00:00
kmillikin@google.com 09ae999a45 Clean up FunctionDefinition in the IR S-expression representation.
Separate value parameters from the continuation for symmetry with
function invocations.  Do not make closure variables optional.  Do not
use '{' or '}', since it makes parsing more difficult and probably
screws up other tools that work with S-expressions.

Move closure variables after the parameters and just before the body,
since they are not part of the signature, do not appear at call sites,
and the implicit box creation happens at the beginning of the body
anyway.

R=asgerf@google.com, karlklose@google.com
BUG=

Review URL: https://codereview.chromium.org//810783002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42395 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-16 14:30:43 +00:00
asgerf@google.com cc4d2af55d Refactored treatment of closure variables in dart2js CPS.
Closure variables are now represented by a ClosureVariable object.
Previously they were identified by a LocalElement.

Parameters to a FunctionDefinition are now a mix of Parameter and
ClosureVariable. FunctionDefinitions also have a list of all the closure
variables they declare.

This change is a step toward supporting field initializers that modify or
capture function parameters.

BUG=
R=johnniwinther@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//756383004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42164 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-08 14:06:23 +00:00
johnniwinther@google.com 4ff78cf3c6 Support top-level field declaration and assignment in analyzer2dart.
BUG=
R=sigurdm@google.com

Review URL: https://codereview.chromium.org//762213002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42043 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 14:23:19 +00:00
sigurdm@google.com 2e1567ff24 Add support for fields to the new dart backend.
Field initializers are represented similarly to a function with no
parameters.
When they are emitted in backend_ast_emitter.dart `ensureExpression`
wraps the code in an immediately invoked closure if it is not on the
simple form `return e;`.
Ideally this should never happen, but currently happens for cases like eg.
class A {
  static var b = 1;
  var a = b++;
}

main() {
  var a = new A();
  print(a.a);
}

Gets converted to:

class A {
  static var b = 1;
  var a = (() /* new backend */
    {
      var v0;
      v0 = A.b;
      A.b = v0 + 1;
      return v0;
    }
  )();
}

main() /* new backend */
  {
    print(new A().a);
  }

R=kmillikin@google.com

Review URL: https://codereview.chromium.org//759193005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42024 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-28 08:48:46 +00:00
johnniwinther@google.com ba110b93ff Avoid patching in dart2dart.
BUG=http://dartbug.com/21441
R=floitsch@google.com

Review URL: https://codereview.chromium.org//746993002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41901 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 13:42:56 +00:00
herhut@google.com 5e2ac6f762 Add implementsFunction to ClassElementY in modely.
BUG=
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//725513002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41707 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 08:19:47 +00:00
paulberry@google.com cc14b09855 Fix AccessSemantics for function typedefs and "dynamic".
R=johnniwinther@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//712313004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41669 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 16:48:00 +00:00
johnniwinther@google.com 0b394b0f2e Support enums in dart2js.
- still missing warnings/errors.

BUG=https://code.google.com/p/dart/issues/detail?id=21417
R=floitsch@google.com

Review URL: https://codereview.chromium.org//707463003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41654 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 08:28:32 +00:00
paulberry@google.com 346ee76510 Add support for type references to AccessSemantics.
We now handle references to toplevel classes, e.g.:

  class C {}
  Type t = C;

And references to type parameters, e.g.:

  class C<T> {
    f() {
      Type t = T;
    }
  }

R=scheglov@google.com

Review URL: https://codereview.chromium.org//710163002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41643 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-10 19:14:00 +00:00
kmillikin@google.com 1373b7a53d Revert "Revert "dart2js: Add a type parameter to class Reference....""
This reapplies svn commit r41564, with fixes to the dart2js intermediate
representation (IR) tests.  The tests explicitly construct IR expressions
and so need to be updated.  Some of the tests are currently invalid
expressions, which have been removed.

BUG=
R=sigurdm@google.com

Review URL: https://codereview.chromium.org//708993003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41603 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-07 13:21:53 +00:00
johnniwinther@google.com 6e6362efd4 Support local functions in analyzer2dart.
BUG=
R=paulberry@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//701123002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41600 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-07 12:33:35 +00:00
floitsch@google.com 8ee3e22c44 Revert "dart2js: Add a type parameter to class Reference in the CPS IR."
This reverts commit r41564.

Review URL: https://codereview.chromium.org//708793002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41565 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 16:24:34 +00:00
kmillikin@google.com 7c983e8477 dart2js: Add a type parameter to class Reference in the CPS IR.
It's useful to know when references are to continuations or primitives,
and to avoid mixing them --- currently, continuations are not
first-class and cannot appear where a primitive is expected and vice
versa.

BUG=
R=johnniwinther@google.com, karlklose@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//705023002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41564 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 15:49:52 +00:00
johnniwinther@google.com 42b41fc8f4 Fix warnings in analyzer2dart.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//701083002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41518 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 12:55:00 +00:00
johnniwinther@google.com 09fbe78e71 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

Review URL: https://codereview.chromium.org//694353007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
johnniwinther@google.com 8637cfd322 Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
This reverts commit r41512.

BUG=

Review URL: https://codereview.chromium.org//693183006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com 2b336e17f0 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

Review URL: https://codereview.chromium.org//690103004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +00:00