Simplify type propagation and IL declarations of TemplateInstruction.

Replace ComputeInitialType. It is not needed anymore.

AssertAssignable now properly uses the cid of the incoming value-type
in its compile-type.

ArgumentCount is has now a default implementation that returns 0 to avoid
defining it on all subclasses of TemplateInstruction (TemplateDefinition already
had it defined)

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41602 260f80e4-7a28-3924-810f-c04153c831b5
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@41603 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Fix types in js_parser_statements_test.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41604 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Use type-checks in later operations.

We correctly GVNed type-checks (in checked mode), but we didn't always use the checks in later operations.

R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41605 260f80e4-7a28-3924-810f-c04153c831b5
Fix remaining error code classes

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41606 260f80e4-7a28-3924-810f-c04153c831b5
Add missing StoreIntoObject calls in generated code.

Also add StoreIntoSmiField method (for verification purposes).
Only ia32 is implemented for now.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41607 260f80e4-7a28-3924-810f-c04153c831b5
Implement bigint intrinsics on arm64.
Implement umaddl arm64 instruction (assembler, disassembler, simulator, tests).
Finish implementing cbz and cbnz arm64 instructions (assembler, tests).

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41608 260f80e4-7a28-3924-810f-c04153c831b5
Add more missing StorePointer/StoreSmi calls.

Also move these to RawObject (as privates), for when handles are unavailable.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41609 260f80e4-7a28-3924-810f-c04153c831b5
make sure not to interpret things inside messages

BUG= https://github.com/dart-lang/www.dartlang.org/issues/1123
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41610 260f80e4-7a28-3924-810f-c04153c831b5
Additional fixes to printing of error codes.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41611 260f80e4-7a28-3924-810f-c04153c831b5
display completion performance in new server status page

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41612 260f80e4-7a28-3924-810f-c04153c831b5
Fix for issue 20125 - improved error messages

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41613 260f80e4-7a28-3924-810f-c04153c831b5
Fix source_span tests.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41614 260f80e4-7a28-3924-810f-c04153c831b5
Mark the source_span file test as passing.

R=rnystrom@google.com
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41615 260f80e4-7a28-3924-810f-c04153c831b5
Fix issue 20577

R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41616 260f80e4-7a28-3924-810f-c04153c831b5
Fix the icon for private classes.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41617 260f80e4-7a28-3924-810f-c04153c831b5
Use ElementLabelProvider in type hierarchy, improve icons.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41618 260f80e4-7a28-3924-810f-c04153c831b5
Fix possible cause of hung editor

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41619 260f80e4-7a28-3924-810f-c04153c831b5
Issue 20827. Add imports as needed the 'Add type annotation' Quick Assist.

I left some TODOs, the CL is big enough already.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41620 260f80e4-7a28-3924-810f-c04153c831b5
Prevent conflict between parameter names and local function names.

From section 9.2 (Formal Parameters) of the spec:

  The formal parameter list of a function introduces a new scope known
  as the function's formal parameter scope.  The formal parameter
  scope of a function f is enclosed in the scope where f is declared.

Therefore, if one of the function's parameters has the same name as
the function itself, that isn't a problem.

Previously, we would add a local function to its own formal parameter
scope before visiting it (to allow it to call itself recursively), and
then after visiting it we would add it to the scope of the enclosing
function (so that the enclosing function could call it).

The fix is to add the local function just to the scope of the
enclosing function, and to do it before visiting the local function so
that recursion still works.

BUG=dartbug.com/20074
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41621 260f80e4-7a28-3924-810f-c04153c831b5