Add a draft of traversing visitor which will analyse function.

For now all interesting methods are stubbed out.

R=ahe@google.com,smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10332315

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8317 260f80e4-7a28-3924-810f-c04153c831b5
Make HBreak and HContinue not extend HGoto. They now extend HJump which is independent of HGoto. Too many errors have occured due to HGoto having sub-classes, so checking if something is HGoto isn't enough.

Review URL: https://chromiumcodereview.appspot.com//10511007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8318 260f80e4-7a28-3924-810f-c04153c831b5
Map operator [] directly to native implementation.

R=antonm@google.com

Review URL: https://chromiumcodereview.appspot.com//10540007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8319 260f80e4-7a28-3924-810f-c04153c831b5
Fix dromaeo traversal benchmark.

R=sra@google.com

Review URL: https://chromiumcodereview.appspot.com//10545005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8320 260f80e4-7a28-3924-810f-c04153c831b5
Close stdin in Process.run.

This fixes an open pipe issue.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10532024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8321 260f80e4-7a28-3924-810f-c04153c831b5
Add flow graph printing into a .cfg file with flag --print-flow-graph-file.

This CL adds a flag --print-flow-graph-file which produces one
.cfg-file per isolate when enabled. Currently it prints the final
flow graph before code generation.

I also added SuccessorAt and SuccessorCount to allow easy iteration
over the successors of a basic block.
Review URL: https://chromiumcodereview.appspot.com//10446116

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8322 260f80e4-7a28-3924-810f-c04153c831b5
Pass in the expected number of arguments to a bailout method.
Review URL: https://chromiumcodereview.appspot.com//10502016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8323 260f80e4-7a28-3924-810f-c04153c831b5
Add a TypeResolver to resolve type annotations.

Review URL: https://chromiumcodereview.appspot.com//10386088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8324 260f80e4-7a28-3924-810f-c04153c831b5
Avoid creating new HThis at each closure access.
Review URL: https://chromiumcodereview.appspot.com//10544027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8325 260f80e4-7a28-3924-810f-c04153c831b5
Remove the 'element' field on a HParameterValue to use the 'sourceElement' of HInstruction. Also, we should keep a type guard when we want a type that is a supertype of the declared type (eg we want num, the declared type is int).
Review URL: https://chromiumcodereview.appspot.com//10533003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8326 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 588 (2012-06-06 16:33:50 +0400) antonm@chromium.org
Temporary profiler support.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=588

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8327 260f80e4-7a28-3924-810f-c04153c831b5
Missed these files in last commit.
Review URL: https://chromiumcodereview.appspot.com//10544030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8328 260f80e4-7a28-3924-810f-c04153c831b5
Fix mocked corelib to have int,double implement num.
Review URL: https://chromiumcodereview.appspot.com//10542024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8329 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 589 (2012-06-06 17:02:34 +0400) antonm@chromium.org
Support pprof on Linux only.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=589

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8330 260f80e4-7a28-3924-810f-c04153c831b5
Implement constant switch as JS switch.

This introduces a block-structure for constant switches.
Non-constant switches still use the old if-else-if implementation.

Review URL: https://chromiumcodereview.appspot.com//10544024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8331 260f80e4-7a28-3924-810f-c04153c831b5
Simplify generated code for string interpolation by delaying the constant folding.

Try to fix http://dartbug.com/3389 and http://dartbug.com/3240 by
using getTypeNameOf to improve browser compatibility.

R=lrn@google.com,floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10544026

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

R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10545031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8333 260f80e4-7a28-3924-810f-c04153c831b5
Adjust status files after r8332.

R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10537027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8334 260f80e4-7a28-3924-810f-c04153c831b5
Mark benchmark smoke test as failing on IE.

TBR

R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10533024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8335 260f80e4-7a28-3924-810f-c04153c831b5
Eliminate RawObject::class_ field entirely.

Removed initializations of class_ field done in runtime and generated code on ia32/x64.

Changed forwarding address encoding used by scavenger: kFreeBit is now used to distinguish evacuated objects from not evacuated because scavenger will never encounter real FreeListElement.

Changed FreeListElement layout to match RawObject layout.

R=iposva@google.com

Review URL: https://chromiumcodereview.appspot.com//10521004

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