Commit Graph

7 Commits

Author SHA1 Message Date
Ben Konyi 07852532e3 [ VM ] Additional cleanup in Dart_Initialize and Dart_Cleanup
Change-Id: I6dc02b3d9de16cc176eb97613bc0c7f0bb9b16eb
Reviewed-on: https://dart-review.googlesource.com/77013
Commit-Queue: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Auto-Submit: Ben Konyi <bkonyi@google.com>
2018-09-28 23:18:59 +00:00
Zachary Anderson 6cd8a79078 VM: Re-format to use at most one newline between functions
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2974233002 .
2017-07-13 08:08:37 -07:00
Ryan Macnak 877284947b Rename TARGET_OS_* to HOST_OS_*.
Like HOST_ARCH_*, HOST_OS_* describes the OS the VM is running on, which may be different from the OS the VM is generating code for during AOT compilation.

Currently we conflate the two when emitting AOT as assembly, and we get away with it because Flutter only uses assembly for targeting iOS and one can only target iOS from a Mac, but we expect to use assembly for Android as well so native tools can unwind Dart frames.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2750843003 .
2017-03-15 13:11:05 -07:00
iposva@google.com 20f3e2b2c2 - Actually allocate memory.
Review URL: https://codereview.chromium.org//182943002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33112 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 09:57:46 +00:00
iposva@google.com b5e3f3345d - Another necessary const_cast.
Review URL: https://codereview.chromium.org//182903002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33111 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 09:40:08 +00:00
iposva@google.com 6a75657c76 - Sort out confusion between malloc/free and new/delete.
Review URL: https://codereview.chromium.org//182883002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33110 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 09:33:44 +00:00
zra@google.com fd366da1cf Updates refactoring of CPU feature detection
with fix that uses cpuid for Intel/Linux.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32980 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-24 19:28:30 +00:00