Skip to content

Commit

Permalink
[vm, reload] Preserve libraries' ffi_native_resolver.
Browse files Browse the repository at this point in the history
TEST=reload bots
Bug: #53808
Change-Id: I2e86c9425867278a6986b5fac6ead9e587c3aa9d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/331203
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
  • Loading branch information
rmacnak-google authored and Commit Queue committed Oct 19, 2023
1 parent d239b90 commit b27cd79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/vm/isolate_reload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,7 @@ void ProgramReloadContext::CommitBeforeInstanceMorphing() {
new_lib.set_native_entry_resolver(lib.native_entry_resolver());
new_lib.set_native_entry_symbol_resolver(
lib.native_entry_symbol_resolver());
new_lib.set_ffi_native_resolver(lib.ffi_native_resolver());
}
}

Expand Down

0 comments on commit b27cd79

Please sign in to comment.