VM: Correct parameter passed to VirtualMemory::Commit.

Some compilers may not complain and implicitly convert an
enum into bool without warning.

R=koda@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39070 260f80e4-7a28-3924-810f-c04153c831b5
Use rmdir to delete pkgbuild directories on windows

We are seeing issues with this all the time. I validated that this works on my windows box (and our current setup does not)

It sucks that we need to us runInShell, but rmdir is not part of the normal path (i.e., "where rmdir" says it can't find it, but e.g., "where xcopy" works fine)
Review URL: https://chromiumcodereview.appspot.com//462523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39071 260f80e4-7a28-3924-810f-c04153c831b5
Don't use io prefix in test_suite.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39072 260f80e4-7a28-3924-810f-c04153c831b5
Enable running with dart2js batch mode on mac

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39073 260f80e4-7a28-3924-810f-c04153c831b5
Remove suppression from the status file for long directories on the russian windows builder.

The underlying issue was fixed in revision 39071

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39074 260f80e4-7a28-3924-810f-c04153c831b5
Create a new instance of the interceptor classes instead of just using the prototype object. This allows constructing the prototype objects lazily.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39075 260f80e4-7a28-3924-810f-c04153c831b5
Don't upload Android content_shell APK on integration channel.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39076 260f80e4-7a28-3924-810f-c04153c831b5
Reduce reliance on Compiler.

BUG=
R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39077 260f80e4-7a28-3924-810f-c04153c831b5
remove unused Field class and related methods and classes

BUG=
R=jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39078 260f80e4-7a28-3924-810f-c04153c831b5
Use World instead of Compiler in Selector.

BUG=
R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39079 260f80e4-7a28-3924-810f-c04153c831b5
local code completion computer improvements

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39080 260f80e4-7a28-3924-810f-c04153c831b5
rename and improve imported completion computer

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39081 260f80e4-7a28-3924-810f-c04153c831b5
Move dart2js batch decision out so that it actually takes effect on browser bots

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39082 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Create a new instance of the interceptor classes instead of just using the prototype object. This allows constructing the prototype objects lazily."

This reverts r39075.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39083 260f80e4-7a28-3924-810f-c04153c831b5
Do not add forwarding constructors to a pricate constructor from a different library.

BUG= http://dartbug.com/20394
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39084 260f80e4-7a28-3924-810f-c04153c831b5
Unify indentation handling in compiler/ directory

Instead of many similar indentation implementations, add a single
Indentation class used as a mixin (or class member if necessary).
Indentation prefix strings are calculated once and then cached.

BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39085 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Reduce reliance on Compiler."

This reverts commit r39077 and r39079.

Crashes in https://codereview.chromium.org/455513004

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39086 260f80e4-7a28-3924-810f-c04153c831b5
Implement shrinking reductions in CPS IR

Shrinking reductions consist of

* dead-cont:
  letprim x = V in K -> K (x not free in K),
* dead-val:
  letcont k x = L in K -> K (k not free in K),
* beta-cont-lin:
  letcont k x = K in C[k y] ->C[K[y/x]] (k not free in C), and
* eta-cont:
  letcont k x = j x in K -> K[j/k]

as described in 'Compiling with Continuations, Continued' by Andrew
Kennedy.

This also requires adding parent pointers to both Node and Reference
classes as well as setting them in a separate pass.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39087 260f80e4-7a28-3924-810f-c04153c831b5
Revert revision 39082
This is causing a strange failure on browser bots, debugging offline

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39088 260f80e4-7a28-3924-810f-c04153c831b5
add support for polymer js style logging initialization

BUG= http://dartbug.com/20408
R=sigmund@google.com

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

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