Emit more stuff via ASTs

- Block CodeBuffer.toString() to prevent accidental loss of  sourcemap info.
- keep compiled code as ASTs rather than CodeBuffers.
- class members are collected in a ClassBuilder and emitted as a js.ObjectInitializer.
- Use double quotes for JS strings more uniformly.

Unminified code is 5% larger due to corrected indentation.
This does not affect minified code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16646 260f80e4-7a28-3924-810f-c04153c831b5
Fix a compilation warning in sunflower.
Review URL: https://codereview.chromium.org//11782004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16647 260f80e4-7a28-3924-810f-c04153c831b5
Optimize instanceof: if all results are true and tests can be done using class only replace instanceof with a Boolean constant.
Review URL: https://codereview.chromium.org//11746024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16648 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Emit more stuff via ASTs"

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16649 260f80e4-7a28-3924-810f-c04153c831b5
Issue 6578. Move 'getter/setter static mismatch' into type problems
http://code.google.com/p/dart/issues/detail?id=6578

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16650 260f80e4-7a28-3924-810f-c04153c831b5
Retry "Emit more stuff via ASTs"

This time fixing dart2js unit tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16651 260f80e4-7a28-3924-810f-c04153c831b5
Make the "pub" and "pkg" test suites run Dart from the built SDK.

I'm not using a test.dart command-line argument for this because
I want to enforce that they *always* run out of the built SDK
directory. This will be needed in a later patch so that the pub
test code can find the SDK directory easily relative to the
currently running Dart executable.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16652 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Retry "Emit more stuff via ASTs""

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16653 260f80e4-7a28-3924-810f-c04153c831b5
Don't run the "pkg" tests on the dart binary in the SDK.

The VM bots are apparently running the pkg tests again, and don't
build the SDK.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16655 260f80e4-7a28-3924-810f-c04153c831b5
Bump web-ui version in todomvc

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

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

Has interfaces and infrastructure for operations.
No IndexStore and IndexContributor implementation yet.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16657 260f80e4-7a28-3924-810f-c04153c831b5
Issue 7671. Type of field accessed using inferred type has same type quality.
http://code.google.com/p/dart/issues/detail?id=7671

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16658 260f80e4-7a28-3924-810f-c04153c831b5
2nd Retry "Emit more stuff via ASTs"

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16659 260f80e4-7a28-3924-810f-c04153c831b5
Mark minifier test as passing

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16660 260f80e4-7a28-3924-810f-c04153c831b5
Support Null type in Class::TypeTest and simplify Instance::IsInstanceOf.
Review URL: https://codereview.chromium.org//11785006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16664 260f80e4-7a28-3924-810f-c04153c831b5
Handle optimized code blocks in debugger stack trace

Removed an old restriction that debugger activation frames
are expected to be non-optimized code. Fixes bug 5944.
Review URL: https://codereview.chromium.org//11776007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16665 260f80e4-7a28-3924-810f-c04153c831b5
Intrinsify Uint8ClampedArray's store and load indexed, inline load indexed.
Review URL: https://codereview.chromium.org//11783006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16666 260f80e4-7a28-3924-810f-c04153c831b5
Convert pub tests to line doc comments.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16667 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to fix Editor build

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@16668 260f80e4-7a28-3924-810f-c04153c831b5
Fixed dart2js.bat so it looks for dart2js snapshot in right place.

BUG=dartbug.com/7663
TEST=

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

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