fix NPE in pubspec editor

R=scheglov@google.com

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

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

1. Don't update selection if it has not changed.

2. Don't wrap into redraw.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42297 260f80e4-7a28-3924-810f-c04153c831b5
Update override annotations only if there are changes.

This helps to save another 30 ms between pressing "." and displaying code completions.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42298 260f80e4-7a28-3924-810f-c04153c831b5
Fix for exchaning comparison operators arguments.

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42299 260f80e4-7a28-3924-810f-c04153c831b5
Actually increase the version range of scheduled_test's unittest dep.

This was supposed to happen in r42272, but it didn't.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42300 260f80e4-7a28-3924-810f-c04153c831b5
Add an ArgResults.original getter.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42301 260f80e4-7a28-3924-810f-c04153c831b5
Remove trivial dead stores during dead code elimination

Occasionally this optimizes a StringBuffer into a local string variable.  If we had targeted inlining to inline more methods on StringBuffer we would see more examples.

  padRight: function(source, $length) {
    var result, str, t1;
    result = new P.StringBuffer("");
    str = typeof source === "string" ? source : H.S(source);
    result._contents = str;
    for (t1 = str; t1.length < $length;) {
      t1 += " ";
      result._contents = t1;
    }
    return t1.charCodeAt(0) == 0 ? t1 : t1;
  },

-->

  padRight: function(source, $length) {
    var str, t1;
    str = typeof source === "string" ? source : H.S(source);
    for (t1 = str; t1.length < $length;)
      t1 += " ";
    return t1.charCodeAt(0) == 0 ? t1 : t1;
  },

R=floitsch@google.com

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

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