Chrome roll 140262->140492.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8275 260f80e4-7a28-3924-810f-c04153c831b5
Use WebKit IDL syntax for declaring optional parameters in dart.idl.

Using the same syntax everywhere makes generator simpler.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8276 260f80e4-7a28-3924-810f-c04153c831b5
Move splitting operations with optional arguments to generator.

To generate v8-like overload resolver we need original list of overloads.
It is much easier to slit operations in generator where needed than to split
them in databasebuilder and then combine again in generator.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8277 260f80e4-7a28-3924-810f-c04153c831b5
Implement v8-like overload resolving.

This is needed to fix indexeddb_3_test and several bugs related to overload dispatching.

R=antonm@google.com
BUG=3353
TEST=indexeddb_3_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8278 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 579 (2012-06-05 17:43:06 +0400) podivilov@google.com
IDBCursor.key should return int if key is integer.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=579

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

R=antonm@google.com,sra@google.com
BUG=3311

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

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

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8281 260f80e4-7a28-3924-810f-c04153c831b5
Revert recent changes to indexeddb_4_test.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8282 260f80e4-7a28-3924-810f-c04153c831b5
Fix for issues 2380 and 2381
Review URL: https://chromiumcodereview.appspot.com//10515012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8283 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 580 (2012-06-05 18:42:33 +0400) antonm@chromium.org
Get rid of DartDOMWrapper::toNative.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=580

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8284 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 581 (2012-06-05 18:45:11 +0400) antonm@chromium.org
Treat ArrayBuffer in a special way to keep transferable semantics.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=581

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8285 260f80e4-7a28-3924-810f-c04153c831b5
indexeddb_3_test now passes in dart2js-drt.

TBR=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8286 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 582 (2012-06-05 19:13:33 +0400) antonm@chromium.org
Unwrap null as NULL pointer for wrapper types.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=582

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8287 260f80e4-7a28-3924-810f-c04153c831b5
Issue 3269. Warning when 'case' is not type compatible with 'switch' expression
http://code.google.com/p/dart/issues/detail?id=3269

R=brianwilkerson@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8288 260f80e4-7a28-3924-810f-c04153c831b5
Issue 3271. Top-level function 'main' should not have parameters
http://code.google.com/p/dart/issues/detail?id=3271

R=brianwilkerson@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8289 260f80e4-7a28-3924-810f-c04153c831b5
Issue 3268. Support for replacing 'assert' statement with 'assert' function
http://code.google.com/p/dart/issues/detail?id=3268

R=brianwilkerson@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8290 260f80e4-7a28-3924-810f-c04153c831b5
Issue 3266. Produce a warning when trying to call an inaccessible method
http://code.google.com/p/dart/issues/detail?id=3266

R=brianwilkerson@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8291 260f80e4-7a28-3924-810f-c04153c831b5
Move inlined type checking code to new compiler ia32. Sharing more and more code between ia32/x64 (ongoing process), refactored x64 code slightly.
Review URL: https://chromiumcodereview.appspot.com//10477020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8292 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 583 (2012-06-05 20:58:38 +0400) antonm@chromium.org
Add missing V8 scopes.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=583

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@8293 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: webkit to 584 (2012-06-05 21:05:13 +0400) antonm@chromium.org
Support plain Dart lists where typed arrays are exepected in WebGLRenderingContext.
http://src.chromium.org/viewvc/multivm/trunk/webkit?view=rev&revision=584

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