mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:03:19 +00:00
[vm/ffi] Changed Pointer::New 'native_address' type back to 'uword'
Addressing comment on https://github.com/dart-lang/sdk/pull/42451#pullrequestreview-440858928 Closes https://github.com/dart-lang/sdk/pull/42559 GitOrigin-RevId: 29176b63f95a8ca235727c276474b7d01fb5d711 Change-Id: I2a23a0114aae7aa0d26467332ccf18b083a7e421 Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64-try,app-kernel-linux-debug-x64-try,vm-kernel-linux-debug-ia32-try,vm-kernel-win-debug-x64-try,vm-kernel-precomp-android-release-arm64-try,vm-kernel-precomp-android-release-arm_x64-try,vm-kernel-mac-debug-x64-try,vm-precomp-ffi-qemu-linux-release-arm-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153069 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
9ca9966276
commit
ca2906471c
|
@ -23468,7 +23468,7 @@ const char* ExternalTypedData::ToCString() const {
|
|||
}
|
||||
|
||||
PointerPtr Pointer::New(const AbstractType& type_arg,
|
||||
size_t native_address,
|
||||
uword native_address,
|
||||
Heap::Space space) {
|
||||
Thread* thread = Thread::Current();
|
||||
Zone* zone = thread->zone();
|
||||
|
|
|
@ -10163,7 +10163,7 @@ class ByteBuffer : public AllStatic {
|
|||
class Pointer : public Instance {
|
||||
public:
|
||||
static PointerPtr New(const AbstractType& type_arg,
|
||||
size_t native_address,
|
||||
uword native_address,
|
||||
Heap::Space space = Heap::kNew);
|
||||
|
||||
static intptr_t InstanceSize() {
|
||||
|
|
Loading…
Reference in a new issue