A bit of element model cleanup.

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38493 260f80e4-7a28-3924-810f-c04153c831b5
Make TargetElement and LabelElement non-elements.

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38494 260f80e4-7a28-3924-810f-c04153c831b5
Fix new backend crashes from refactoring.

BUG=
R=jgruber@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38495 260f80e4-7a28-3924-810f-c04153c831b5
Change variable type of [GetClosureVariable], [SetClosureVariable] and [DeclareFunction] to [Local].

BUG=
R=jgruber@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38496 260f80e4-7a28-3924-810f-c04153c831b5
Mark test as failing in old dart2dart backend only

BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38498 260f80e4-7a28-3924-810f-c04153c831b5
- Fix a lot of warnings generated by -Wshorten-64-to-32
  when compiling for ia32 on Mac.

R=vegorov@google.com

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

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38503 260f80e4-7a28-3924-810f-c04153c831b5
if package root is set, don't look for pubspec

R=danrubel@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38508 260f80e4-7a28-3924-810f-c04153c831b5
Assign free-floating statics to the main output-unit.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38510 260f80e4-7a28-3924-810f-c04153c831b5
Refuse to generate tasks for html files over 1500 KB in size.

R=danrubel@google.com, paulberry@google.com

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

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

BUG=
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38512 260f80e4-7a28-3924-810f-c04153c831b5
remove references to CompilationUnit and related methods/classes

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38513 260f80e4-7a28-3924-810f-c04153c831b5
Put reflective tests in a group whose name matches the class name.

This makes it easier to locate the code associated with a failing test.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38514 260f80e4-7a28-3924-810f-c04153c831b5
Straggler from r38375 update to use @Native

TBR=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38515 260f80e4-7a28-3924-810f-c04153c831b5
Allow an analysis server response to have both "error" and "result" fields.

Usually this won't happen, but there are rare cases where it might
(e.g. an unexpected exception occurs while analyzing a file in
response to analysis.getErrors, and some error information has already
been successfully computed).

So it seems best to allow it in the integration tests.

R=jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38516 260f80e4-7a28-3924-810f-c04153c831b5
Bugfix in html_dart2js: Detect window objects in a way compatible with cross domain iframes

The "setTimeout" member in window object can only be accessed if the window
object is from the same origin. Cross origin windows will throw a security error
exception.

This is fixed by checking for "postMessage" in the window object (which
can be accessed even in cross-origin windows).

BUG=http://dartbug.com/20166
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38517 260f80e4-7a28-3924-810f-c04153c831b5
Change rules so prefixes obey lexical scope. Do this by basing member access on objects uniformly.

R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38518 260f80e4-7a28-3924-810f-c04153c831b5
Fix for the load error that is happening with dart_no_snapshot.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38519 260f80e4-7a28-3924-810f-c04153c831b5
Fix invalid handle scope error when Dart_IsClosure is used.

dart/runtime/vm/handles_impl.h:98: error: expected: isolate->top_handle_scope() != NULL

R=srdjan@google.com

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

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

* Rename Script tag to Dart tag.
* Respect ignore bit on samples.
* Mark samples collected with an exit frame.
* Don't give exclusive CPU ticks to top frame on samples collected from an exit frame (because CPU usage is in the native code we've called out to not the function waiting to return).

R=asiva@google.com

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

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