Split the computation of uninstantiated type arguments between the factory case
and the constructor case, as suggested in my review of
https://chromiumcodereview.appspot.com/9700003/

Examples of generated IL (first factory, second non-factory).

 foo() { return new List<T>(); }
 moo() { return new A<T>(); }

==== file:///home/regis/test.dart_A_foo
 0: [target]
    t0 <- LoadLocal(this)
    t0 <- NativeLoadField(t0, 16)
    t0 <- ExtractFactoryTypeArguments(t0)
    t0 <- StaticCall(List., t0)
    return t0
==== file:///home/regis/test.dart_A_moo
 0: [target]
    t0 <- #null
    t1 <- LoadLocal(this)
    t1 <- NativeLoadField(t1, 16)
    t2 <- Pick(t1)
    t2 <- ExtractConstructorTypeArguments(t2)
    t0 := t2
    t1 <- ExtractConstructorInstantiator(t1, t2)
    t0 <- AllocateObject(Library:'file:///home/regis/test.dart' Class: A, t0, t1)
    t1 <- Pick(t0)
    t2 <- #3
    StaticCall(A., t1, t2)
    return t0

This change removes the computation that previously returned two values at the
cost of a some small code duplication. We could address this duplication by
exposing the computation recognizing the identity vector at the IL level and
implement a branch.
Review URL: https://chromiumcodereview.appspot.com//9703080

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5537 260f80e4-7a28-3924-810f-c04153c831b5
Add another language test for initializer ordering.

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5538 260f80e4-7a28-3924-810f-c04153c831b5
Make Throw and ReThrow instructions instead of computations. That way they can terminate a basic block.
Review URL: https://chromiumcodereview.appspot.com//9699090

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5539 260f80e4-7a28-3924-810f-c04153c831b5
Frog: preserve initialization order.

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5540 260f80e4-7a28-3924-810f-c04153c831b5
Generate factory providers for systemnative

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5541 260f80e4-7a28-3924-810f-c04153c831b5
cleanup of debug core and ui plugins
Review URL: https://chromiumcodereview.appspot.com//9704068

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5542 260f80e4-7a28-3924-810f-c04153c831b5
Hook up the UI for CHV, still hidden behind an option.
Review URL: https://chromiumcodereview.appspot.com//9699089

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5543 260f80e4-7a28-3924-810f-c04153c831b5
More changes for CSS to run under VM.

Need unique name for library collision with template parser.

Few more changes to work under VM.

More changes for lang.dart seperation.

Seperation from lang.dart (tokenizer can't access private fields of base class in another library).  This was allowed in frog but not in the VM.  VM is right so need to sever dependency.

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5544 260f80e4-7a28-3924-810f-c04153c831b5
modified key binding for Generate JavaScript on windows
Review URL: https://chromiumcodereview.appspot.com//9702091

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5545 260f80e4-7a28-3924-810f-c04153c831b5
Simplify translation of conditionals in the flow graph builder.

Allow the builder to assume that, if control flow reaches a conditional
expresion, there is always control flow to two branches.

R=srdjan@google.com
BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5546 260f80e4-7a28-3924-810f-c04153c831b5
Move print from builtin to core in runtime SDK sources only
Review URL: https://chromiumcodereview.appspot.com//9704067

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5547 260f80e4-7a28-3924-810f-c04153c831b5
Reset the perspetive if a startup flag is not set. This fixes an issue where the Libraries view shows up for some users while the Files view does not. If opened, the Files view would show up in the wrong place.
Review URL: https://chromiumcodereview.appspot.com//9704069

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5548 260f80e4-7a28-3924-810f-c04153c831b5
Fix path so Frog can find dart:dom in SDK
Review URL: https://chromiumcodereview.appspot.com//9705090

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5549 260f80e4-7a28-3924-810f-c04153c831b5
Files View copy/paste and keybindings/menu repair.

In a nutshell:

* Adds copy/paste actions to the Files View and wires them up to the global key handler so keybindings work.
* Swizzles view context menu order to be "more better".
* Addys an image descriptor for the "Copy File Path" action.
* As a bonus, the retargetable copy/paste actions are now getting properly registered with the global keyhandler so interested views can now properly retarget them.
Review URL: https://chromiumcodereview.appspot.com//9704059

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5551 260f80e4-7a28-3924-810f-c04153c831b5
Fix for issue 2124 - Dart VM crashes on windows

The Array::MakeArray was incorrectly accessing the class_ field before it was initialized.
Review URL: https://chromiumcodereview.appspot.com//9700079

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5552 260f80e4-7a28-3924-810f-c04153c831b5
Add conditional feature to templates.

Also, fix some scripts/all_tests.py errors.

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5553 260f80e4-7a28-3924-810f-c04153c831b5
preserve frame pointers even in release build.
Review URL: https://chromiumcodereview.appspot.com//9706089

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5554 260f80e4-7a28-3924-810f-c04153c831b5
Should use field.jsname, not field.name.

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5555 260f80e4-7a28-3924-810f-c04153c831b5
Fix name of the suppressed test.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@5558 260f80e4-7a28-3924-810f-c04153c831b5
Re-land r5529.

Update client-leg.status file.

R=ngeoffray@google.com
BUG=
TEST=

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

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