Move ReturnInstr to new scheme (x64 and ia32) and implement more code in new ia32 compiler.
Review URL: https://chromiumcodereview.appspot.com//10458050

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8166 260f80e4-7a28-3924-810f-c04153c831b5
Fix to ensure search proposal popup is always closed properly.

In some (difficult to reproduce) cases, we see exceptions when trying to restore the searchbox input field's initial state.  This ensures that those exceptions do not prevent the proposal popup from getting properly dismissed.
Review URL: https://chromiumcodereview.appspot.com//10443099

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8167 260f80e4-7a28-3924-810f-c04153c831b5
Run dart2js browser benchpress tests.
Review URL: https://chromiumcodereview.appspot.com//10458061

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8168 260f80e4-7a28-3924-810f-c04153c831b5
Hopefully fix currently unexplainable windows failures.
Review URL: https://chromiumcodereview.appspot.com//10443111

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8169 260f80e4-7a28-3924-810f-c04153c831b5
Removed asyncTest and improved comments.
Review URL: https://chromiumcodereview.appspot.com//10449091

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8170 260f80e4-7a28-3924-810f-c04153c831b5
Real fix for breakage: if type in DECLARE_FLAG differs from DEFINE_FLAG, windows compiler is the only one who complains. Bravo!
Review URL: https://chromiumcodereview.appspot.com//10459053

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8171 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to make tests more stable.

Also small piece of work in 'extract local variable' - check for excluded variables.

R=messick@google.com
BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8172 260f80e4-7a28-3924-810f-c04153c831b5
Bigger stepping granularity in debugging

- Single step now steps to a safe point on the next line.
- Step into no longer steps into library code.
- Each library has a flag that specifies whether one
  can step into its code.

Later I will add an API to set the per-library flag. Currently
it's set to true for the top-level library and to false for
all other libraries.
Review URL: https://chromiumcodereview.appspot.com//10442088

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8173 260f80e4-7a28-3924-810f-c04153c831b5
Adding unary op optimizations, missing assembly operations.
Review URL: https://chromiumcodereview.appspot.com//10440099

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8174 260f80e4-7a28-3924-810f-c04153c831b5
1. Restructure some of the builtin library processing code.
Review URL: https://chromiumcodereview.appspot.com//10388242

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8175 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Removed asyncTest and improved comments."

This reverts commit r8170 while we figure out dartium breakage.

TBR=gram

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8176 260f80e4-7a28-3924-810f-c04153c831b5
Eliminate unary plus with hex literals

The spec says unary + is only allowed with integer and floating point literals, not with hex literals. Somebody noticed that the VM accepted
+0x10 as well.

Consequently, the Math.parseInt(str) library function should fail with
a BadNumberFormatException if it is called with a hex number that is preceded by a +.

Fixes issue 1540.

This change exposed that the dart2js core library implementation is
falsely accepting +0xNNN hex numbers. I filed issue 3333.
Review URL: https://chromiumcodereview.appspot.com//10456060

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8177 260f80e4-7a28-3924-810f-c04153c831b5
Maybe fix dart2js
Review URL: https://chromiumcodereview.appspot.com//10442121

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8178 260f80e4-7a28-3924-810f-c04153c831b5
If a test does not fail, it might pass.

Need to figure out why these tests fail locally on my box, but
pass on buildbot.
Review URL: https://chromiumcodereview.appspot.com//10451104

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8179 260f80e4-7a28-3924-810f-c04153c831b5
Use memmove instead of a loop to read bytes.
Review URL: https://chromiumcodereview.appspot.com//10446104

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8180 260f80e4-7a28-3924-810f-c04153c831b5
Refactor snapshot writing code in preparation for the change to remove recursive calls to WriteObject and ReadObject.
Review URL: https://chromiumcodereview.appspot.com//10446112

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

It turns out we want different types in the frog vs dartium bodies.
We want the implementation type for frog to help with live type analysis.
We can't use the only slightly less general interface type because the language mandates a warning.

So we now generate the factory constructors for each implementation system rather than once for the interfaces system.

I also extended the mechanism to handle multiple element constructors
and used it to generate HeadingElement.h1() through
HeadingElement.h6()

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8182 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Rework Element constructors"

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@8183 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Revert "Rework Element constructors""

This CL is r8182 plus some other bug fixes to get to green.

The main change is that the first parent of an interface could be a
pure interface.  In that case, it should be treated as a secondary parent
interface, not as the primary implementation inheritance parent.

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

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

R=sra@google.com,vsm@google.com,antonm@google.com
BUG=3301

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

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