Update test scripts to run under the Dart 1.6 vm.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39443 260f80e4-7a28-3924-810f-c04153c831b5
VM: Improve performance of method recognizer and unify the it with the intrinsifier.

The method recognizer is now in a separate file and the intrinsifier uses the
same infrastructure. Each function is marked at initialization time, so that
recognizing a method is a fast operation (reading a field from the Function object)

I cleaned the symbol table from unused symbols since I had to regenerate the
binary snapshot in the repository anyway for this change.

I had to rename the methods that are duplicated between the recognized method list
and the intrinsics list to match the naming convention used by the method recognizer.
I left the other intrinsics unchanged for now. They will be renamed in a future CL.

R=srdjan@google.com

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

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

Only gcc seems to support using a non-static member name in a 
sizeof expression written sizeof(A::m).

Using a dereference expression instead.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39445 260f80e4-7a28-3924-810f-c04153c831b5
Improve polymorphic inlining of int/int double/double operations.

I added inlining of the native Double methods _add, _sub, _mul and _div and fromInteger
and unified the method recognition of the MethodRecognizer and the Intrinsifier classes.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39446 260f80e4-7a28-3924-810f-c04153c831b5
First attempt at making a new lazy emitter. Hello, World runs!

R=floitsch@google.com
BUG=

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

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

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39448 260f80e4-7a28-3924-810f-c04153c831b5
On ia32 allow powers of two and corresponding full bit masks as safe smis.

This considerably improves generated code allowing these values (commonly used in bitwise computations) to be embedded as immediates.

R=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39449 260f80e4-7a28-3924-810f-c04153c831b5
Update co19 status for dartium and android.

BUG=dartbug.com/19544
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39450 260f80e4-7a28-3924-810f-c04153c831b5
Prevent double reporting on hex, strings, and multiline strings and comments.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39451 260f80e4-7a28-3924-810f-c04153c831b5
Add help for new_entry and new_element scripts.

Fixes Issue 20596.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39452 260f80e4-7a28-3924-810f-c04153c831b5
Introduce convenience methods into generated analysis server classes.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39453 260f80e4-7a28-3924-810f-c04153c831b5
import inliner will now make sure to keep around the logs from imports

BUG= http://dartbug.com/20538
R=kevmoo@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39454 260f80e4-7a28-3924-810f-c04153c831b5
Fix vm/cc/StaticNonNullSumCallCodegen.

Instead of passing null wrapped in the Smi handle use Instance handle.

We have the following behavior:

Smi::ZoneHandle().IsSmi() -> true
Smi::Cast(Smi::ZoneHandle()).Value() -> assertion failure

This kind of behavior is completely unexpected in most parts of the system.

TBR=iposva@google.com,asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39455 260f80e4-7a28-3924-810f-c04153c831b5
Correct handling of parameters passed to main.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39456 260f80e4-7a28-3924-810f-c04153c831b5
Finish 'Extract Local' refactoring.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39457 260f80e4-7a28-3924-810f-c04153c831b5
Fix build.dart: sourceUrl used to be a Strnig before the change to source_span

R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39458 260f80e4-7a28-3924-810f-c04153c831b5
Private names are not exported, not even if the library imports itself

Prevent access to a private name if it’s imported through a self-import.
Adding a test case.

Fixes issue 20162

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39459 260f80e4-7a28-3924-810f-c04153c831b5
Return only fixes for the errors on the line of the given offset.

R=paulberry@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39460 260f80e4-7a28-3924-810f-c04153c831b5
Prepare polymer 0.12.2 release

R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39461 260f80e4-7a28-3924-810f-c04153c831b5
Fix 'Add Type Annotation' QA Java implementation.

It has been already fixed in Dart implementation.

R=brianwilkerson@google.com
BUG=

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

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