Commit Graph

7 Commits

Author SHA1 Message Date
johnmccutchan@google.com ef666553a1 Add runtime and native entry tags
- Split runtime and native entry tags.
- Set runtime / native entry address as vm tag in stubs.
- Add reverse native entry resolver (pc to name) to public API (breaking change).
- Hookup reverse resolver for standalone VM (io + bootstrap + builtin natives).
- Runtime entries are registered with tags.
- Profiler queries for tag names via the reverse native entry resolver.
- Profiler outputs named entry tags as children under parent tag (runtime or native).

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34941 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-10 20:26:45 +00:00
asiva@google.com 447f4e66d9 Fix build break (true is not defined on windows for C).
Review URL: https://codereview.chromium.org//108493003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31291 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 18:42:54 +00:00
asiva@google.com a576fec3c0 Allow the native resolver to setup whether it needs the Dart API scope to
be setup automatically or not when a native function is invoked.
This would allow the embedder to treat some native functions as leaf
functions whose invocation can be very light.

R=hausner@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31286 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 17:47:56 +00:00
asiva@google.com dcfbe9ce9b Fix windows build.
Review URL: https://codereview.chromium.org//15881009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23504 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 23:01:35 +00:00
iposva@google.com b49896cf86 - Another speculative fix for Windows.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23500 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 22:43:17 +00:00
iposva@google.com cb9bd8666e - Fix Windows.
Review URL: https://codereview.chromium.org//16105019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23499 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 22:33:34 +00:00
iposva@google.com 1836035266 - Modify dart_api.h to be a proper C API.
- Verify that dart_api.h can be used from C
  by changing the test_extension to be a pure C file.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23476 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 16:36:27 +00:00