VM: Avoid repeated deoptimization on speculatively hoisted smi-checks.

This adds the same check as we already have for CheckClass for
CheckSmi and CheckEitherNonSmi instructions to avoid repeated
deoptimization after LICM.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41133 260f80e4-7a28-3924-810f-c04153c831b5
Fix crash with --trace-deoptimization-verbose and tweak formatting.

Uninitialized instances (e.g. closures) can't be printed using ToCString.
Print just the class instead.

Print values/addresses consistently with our disassembly output (no leading zeros)
This makes searching in the trace output easier.

Limit printing source lines to max 80 chars. Otherwise the trace output for
minified Dart code gets unreadable.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41134 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 183769 (2014-10-15 15:23:03 -0700) rmacnak@google.com
Promises for Dartium : Blink side
http://src.chromium.org/viewvc/blink?view=rev&revision=183769

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41135 260f80e4-7a28-3924-810f-c04153c831b5
Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises.

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41136 260f80e4-7a28-3924-810f-c04153c831b5
add imported inherited member suggestions

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41137 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises."

TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41138 260f80e4-7a28-3924-810f-c04153c831b5
Skip language/large_class_declaration_test in debug mode on the vm

This is flaky timing out on several platforms, and is consistentnly timing out on our win32 debug russian bot

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41139 260f80e4-7a28-3924-810f-c04153c831b5
Mark the analyzer tests slow generally on dart2js

We are seeing these flake on several bots

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41140 260f80e4-7a28-3924-810f-c04153c831b5
Skip test that doesn't work in CSP mode.

R=ricow@google.com

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

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

Collect information before hand, and then emit output units in one go.
First emit the deferred units since we need their hashes in the main unit.

There is still code that collects the output-unit of the emitted element, even though we know that it should/must be in the current output-unit. That code can be cleaned up in a later CL. We should not need to look up the output unit for any element in the old-emitter anymore.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41142 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Use computed classes/statics from code-emitter-task in new emitter.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41143 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Emit constants in new emitter.

Currently the constants are still emitted eagerly, but it should be relatively straightforward to switch to a lazy emission.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41144 260f80e4-7a28-3924-810f-c04153c831b5
Support local variables in analyzer2dart.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41146 260f80e4-7a28-3924-810f-c04153c831b5
Mark some analyzer/analysis_server tests as slow.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41147 260f80e4-7a28-3924-810f-c04153c831b5
Mark incremental compilation test as slow on IE.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41148 260f80e4-7a28-3924-810f-c04153c831b5
Update bleeding edge VERSION file

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41149 260f80e4-7a28-3924-810f-c04153c831b5
Modify dartanalyzer scripts to look more like dart2js scripts.

The dartanalyzer script (and its Windows companion, dartanalyzer.bat)
now support:

- Executing from snapshot if present, otherwise from source (needed
  for buildbot tests).
- Passing in the appropriate package root when executind from source.
- Passing in VM tuning parameters to speed up analysis.
- Passing through extra DART_VM_OPTIONS to the VM.

Also, the old editor/tools/analyzer script has been removed and
the test infrastructure now uses sdk/bin/dartanalyzer, in the
same way that it works for dart2js.

R=ahe@google.com, johnniwinther@google.com, ricow@google.com

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

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

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41151 260f80e4-7a28-3924-810f-c04153c831b5
It's not IE, but chrome that was slow.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41152 260f80e4-7a28-3924-810f-c04153c831b5
filter void methods when suggesting expression

BUG=
R=scheglov@google.com

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

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