082aece5f4
This reverts commit34447c8dbb. Reason for revert: Last Dart_AllocateWithNativeFields usage removed in Tonic Original change's description: > Revert "[ VM ] Removed Dart_Allocate, Dart_AllocateWithNativeFields, and Dart_InvokeConstructor from embedding API" > > This reverts commit3d1b8b26c2. > > Reason for revert: Broke Flutter HHH. Dart_AllocateWithNativeFields is still used in Tonic. > > Original change's description: > > [ VM ] Removed Dart_Allocate, Dart_AllocateWithNativeFields, and Dart_InvokeConstructor from embedding API > > > > These methods are no longer necessary and all objects should be created > > using Dart_New instead. > > > > Change-Id: If64d3e3579fc03dd1a2eb6bfec73c35e90c66d8f > > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135523 > > Reviewed-by: Ryan Macnak <rmacnak@google.com> > > TBR=bkonyi@google.com,rmacnak@google.com,asiva@google.com > > Change-Id: I3dca62a1db60a90bbcc78c34ae150df628cd85c8 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135642 > Reviewed-by: Clement Skau <cskau@google.com> > Commit-Queue: Clement Skau <cskau@google.com> TBR=bkonyi@google.com,rmacnak@google.com,asiva@google.com,cskau@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I2ac83e1bfccccd9b626acfa4a6ac517b4f3968fb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136020 Auto-Submit: Ben Konyi <bkonyi@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>