dart-sdk/runtime
Ryan Macnak 2ebfc9fa6d [vm, ffi] Fix some confused register usage during callbacks.
EmitNativeMove is also used during NativeParamterInstr, not just FfiCallInstr, so the trick with WithIntermediateMarshalling doesn't work. Instead, move arguments to their final register in the prologue of FfiCallInstr and remove conflicting uses within FfiCallInstr.

TEST=ffi_2/function_callbacks_test
Bug: https://github.com/dart-lang/sdk/issues/48164
Change-Id: I652ab714dbfcb092dc5a23e4596f77136d91ffde
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/240324
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2022-04-07 19:44:48 +00:00
..
bin [vm] Finalizer / NativeFinalizer fixes 2022-04-07 07:05:27 +00:00
docs [vm] Implement NativeFinalizer 2022-03-26 09:41:21 +00:00
include Fixes for reland for analyze_snapshot program 2022-03-09 14:17:44 +00:00
lib [vm] Finalizer / NativeFinalizer fixes 2022-04-07 07:05:27 +00:00
observatory Reland "[ Service ] Update VM service message to not reference Observatory" 2022-03-17 23:15:57 +00:00
observatory_2 Reland "[ Service ] Update VM service message to not reference Observatory" 2022-03-17 23:15:57 +00:00
platform [vm] Some pieces for Windows ARM support. 2022-03-30 19:01:33 +00:00
tests [vm] Finalizer / NativeFinalizer fixes 2022-04-07 07:05:27 +00:00
third_party Revert "[tools] Replace the Chromium binary size tool, which no longer works." 2022-02-04 02:11:06 +00:00
tools [build] Extend bin_to_coff.py to support ARM and ARM64. 2022-04-06 22:21:07 +00:00
vm [vm, ffi] Fix some confused register usage during callbacks. 2022-04-07 19:44:48 +00:00
.clang-tidy
.gitignore
BUILD.gn [build] -fno-strict-vtable-pointers is a Clang-only flag. 2022-03-30 17:34:20 +00:00
codereview.settings
configs.gni Reland "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-17 16:12:26 +00:00
CPPLINT.cfg
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py [python3] Migrate PRESUBMIT.py files 2021-08-16 08:29:54 +00:00
runtime_args.gni [VM] error: ‘mallinfo mallinfo()’ is deprecated 2021-12-08 00:25:10 +00:00