mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:17:14 +00:00
[vm] Generate new invocation node is FFI transformers
This change replaces generation of old invocation AST nodes (such as PropertyGet, PropertySet and MethodInvocation) in FFI transformers with new nodes (InstanceGet, InstanceSet, InstanceInvocation). The old nodes will be deleted eventually. TEST=existing tests Issue: https://github.com/dart-lang/sdk/issues/45340 Change-Id: I7c01cc23c257514b4c89295a31ce63c947c18e23 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201222 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
This commit is contained in:
parent
d2682070f4
commit
7e76ac60b2
|
@ -12,7 +12,7 @@ class Coordinate extends ffi::Struct {
|
|||
: super ffi::Struct::_fromTypedDataBase(#typedDataBase)
|
||||
;
|
||||
static factory allocate(ffi::Allocator* allocator, core::double* x, core::double* y, ffi::Pointer<self::Coordinate*>* next) → self::Coordinate* {
|
||||
return let final self::Coordinate* #t1 = new self::Coordinate::#fromTypedDataBase(allocator.{ffi::Allocator::allocate}<self::Coordinate*>(self::Coordinate::#sizeOf)!) in block {
|
||||
return let final self::Coordinate* #t1 = new self::Coordinate::#fromTypedDataBase(allocator.{ffi::Allocator::allocate}<self::Coordinate*>(self::Coordinate::#sizeOf){(core::int, {alignment: core::int?}) → ffi::Pointer<self::Coordinate*>}!) in block {
|
||||
#t1.{self::Coordinate::x} = x;
|
||||
#t1.{self::Coordinate::y} = y;
|
||||
#t1.{self::Coordinate::next} = next;
|
||||
|
@ -31,21 +31,21 @@ class Coordinate extends ffi::Struct {
|
|||
abstract member-signature get runtimeType() → core::Type*; -> core::Object::runtimeType
|
||||
@#C8
|
||||
get x() → core::double*
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}, (#C10).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C10).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
set x(core::double* #v) → void
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}, (#C10).{core::List::[]}(ffi::_abi()), #v);
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C10).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #v);
|
||||
@#C8
|
||||
get y() → core::double*
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
set y(core::double* #v) → void
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()), #v);
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #v);
|
||||
get next() → ffi::Pointer<self::Coordinate*>*
|
||||
return ffi::_fromAddress<self::Coordinate*>(ffi::_loadIntPtr(this.{ffi::_Compound::_typedDataBase}, (#C14).{core::List::[]}(ffi::_abi())));
|
||||
return ffi::_fromAddress<self::Coordinate*>(ffi::_loadIntPtr(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C14).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}));
|
||||
set next(ffi::Pointer<self::Coordinate*>* #v) → void
|
||||
return ffi::_storeIntPtr(this.{ffi::_Compound::_typedDataBase}, (#C14).{core::List::[]}(ffi::_abi()), #v.{ffi::Pointer::address});
|
||||
return ffi::_storeIntPtr(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C14).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #v.{ffi::Pointer::address}{core::int});
|
||||
@#C16
|
||||
static get /*isNonNullableByDefault*/ #sizeOf() → core::int*
|
||||
return (#C19).{core::List::[]}(ffi::_abi());
|
||||
return (#C19).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
}
|
||||
static method main() → dynamic {}
|
||||
|
||||
|
|
|
@ -13,13 +13,13 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C7
|
||||
get yy() → dart.core::int
|
||||
return dart.ffi::_loadUint32(this.{dart.ffi::_Compound::_typedDataBase}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint32(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C7
|
||||
set yy(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint32(this.{dart.ffi::_Compound::_typedDataBase}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint32(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C11
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -37,14 +37,14 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get xx() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C9).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C13).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set xx(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C8, (#C13).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C8, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C11
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -13,13 +13,13 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C7
|
||||
get yy() → dart.core::int
|
||||
return dart.ffi::_loadUint32(this.{dart.ffi::_Compound::_typedDataBase}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint32(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C7
|
||||
set yy(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint32(this.{dart.ffi::_Compound::_typedDataBase}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint32(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C11
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -37,14 +37,14 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get xx() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C9).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C13).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set xx(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C8, (#C13).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C9).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C8, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C11
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -31,14 +31,14 @@ library from "org-dartlang-test:///structs.dart" as str {
|
|||
;
|
||||
get yy() → str::Y
|
||||
return new str::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<str::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C8).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<str::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set yy(str::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C7, (#C8).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C7, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
class Y extends dart.ffi::Struct {
|
||||
synthetic constructor •() → str::Y
|
||||
|
@ -51,7 +51,7 @@ library from "org-dartlang-test:///structs.dart" as str {
|
|||
external set zz(invalid-type #externalFieldValue) → void;
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -31,14 +31,14 @@ library from "org-dartlang-test:///structs.dart" as str {
|
|||
;
|
||||
get yy() → str::Y
|
||||
return new str::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<str::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C8).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<str::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set yy(str::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C7, (#C8).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C7, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
class Y extends dart.ffi::Struct {
|
||||
synthetic constructor •() → str::Y
|
||||
|
@ -51,7 +51,7 @@ library from "org-dartlang-test:///structs.dart" as str {
|
|||
external set zz(invalid-type #externalFieldValue) → void;
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -24,21 +24,21 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType
|
||||
@#C8
|
||||
get x() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set x(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
@#C8
|
||||
get y() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set y(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
get next() → dart.ffi::Pointer<lib::Coordinate*>*
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set next(dart.ffi::Pointer<lib::Coordinate*>* #v) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #v.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
@#C16
|
||||
static get /*isNonNullableByDefault*/ #sizeOf() → dart.core::int*
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
|
|
@ -24,21 +24,21 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType
|
||||
@#C8
|
||||
get x() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set x(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
@#C8
|
||||
get y() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set y(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
get next() → dart.ffi::Pointer<lib::Coordinate*>*
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set next(dart.ffi::Pointer<lib::Coordinate*>* #v) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #v.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
@#C16
|
||||
static get /*isNonNullableByDefault*/ #sizeOf() → dart.core::int*
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
|
|
@ -24,21 +24,21 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType
|
||||
@#C8
|
||||
get x() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set x(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
@#C8
|
||||
get y() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set y(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
get next() → dart.ffi::Pointer<lib::Coordinate*>*
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set next(dart.ffi::Pointer<lib::Coordinate*>* #v) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #v.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
@#C16
|
||||
static get /*isNonNullableByDefault*/ #sizeOf() → dart.core::int*
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
|
|
@ -24,21 +24,21 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType
|
||||
@#C8
|
||||
get x() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set x(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
@#C8
|
||||
get y() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set y(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
get next() → dart.ffi::Pointer<lib::Coordinate*>*
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set next(dart.ffi::Pointer<lib::Coordinate*>* #v) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #v.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
@#C16
|
||||
static get /*isNonNullableByDefault*/ #sizeOf() → dart.core::int*
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
|
|
@ -24,21 +24,21 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType
|
||||
@#C8
|
||||
get x() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set x(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
@#C8
|
||||
get y() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set y(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
get next() → dart.ffi::Pointer<lib::Coordinate*>*
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set next(dart.ffi::Pointer<lib::Coordinate*>* #v) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #v.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
@#C16
|
||||
static get /*isNonNullableByDefault*/ #sizeOf() → dart.core::int*
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
|
|
@ -25,21 +25,21 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
abstract member-signature get runtimeType() → dart.core::Type*; -> dart.core::Object::runtimeType
|
||||
@#C8
|
||||
get x() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set x(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
@#C8
|
||||
get y() → dart.core::double*
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
set y(dart.core::double* #v) → void
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #v);
|
||||
return dart.ffi::_storeDouble(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v);
|
||||
get next() → dart.ffi::Pointer<lib::Coordinate*>*
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<lib::Coordinate*>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set next(dart.ffi::Pointer<lib::Coordinate*>* #v) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #v.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #v.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
@#C16
|
||||
static get /*isNonNullableByDefault*/ #sizeOf() → dart.core::int*
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C19).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
|
|
@ -13,25 +13,25 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C8
|
||||
get y1() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y1(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y2() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y2(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C13
|
||||
get y3() → dart.core::int
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C13
|
||||
set y3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C18
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -49,27 +49,27 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get x1() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x1(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
get x2() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x2(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
get x3() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set x3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C18
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -13,25 +13,25 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C8
|
||||
get y1() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y1(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C11
|
||||
get y3() → dart.core::int
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C11
|
||||
set y3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y2() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y2(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C19
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -49,27 +49,27 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get x1() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x1(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
get x2() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x2(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
get x3() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set x3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C19
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -13,25 +13,25 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C8
|
||||
get y1() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y1(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y2() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y2(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C13
|
||||
get y3() → dart.core::int
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C13
|
||||
set y3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C18
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -49,27 +49,27 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get x1() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x1(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
get x2() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x2(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
get x3() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set x3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C18
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -13,25 +13,25 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C8
|
||||
get y1() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y1(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C11
|
||||
get y3() → dart.core::int
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C11
|
||||
set y3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y2() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y2(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C19
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -49,27 +49,27 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get x1() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x1(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
get x2() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x2(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
get x3() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set x3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C19
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -13,25 +13,25 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C8
|
||||
get y1() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y1(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y2() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y2(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C12).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C13
|
||||
get y3() → dart.core::int
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C13
|
||||
set y3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C16).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C18
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///lib2.dart" as lib2 {
|
||||
|
@ -187,27 +187,27 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get x1() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x1(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
get x2() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x2(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
get x3() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set x3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C18
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -13,25 +13,25 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
;
|
||||
@#C8
|
||||
get y1() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y1(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C11
|
||||
get y3() → dart.core::int
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C11
|
||||
set y3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C14).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y2() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set y2(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C17).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C19
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///lib2.dart" as lib2 {
|
||||
|
@ -187,27 +187,27 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get x1() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x1(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C10).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
get x2() → lib::Y
|
||||
return new lib::Y::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C21).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::Y>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set x2(lib::Y #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C9, (#C21).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
get x3() → dart.core::int
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C8
|
||||
set x3(dart.core::int #externalFieldValue) → void
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue);
|
||||
return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C28).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue);
|
||||
@#C19
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C31).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -12,14 +12,14 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
: super dart.ffi::Struct::_fromTypedDataBase(#typedDataBase)
|
||||
;
|
||||
get lpVtbl() → dart.ffi::Pointer<dart.ffi::IntPtr>
|
||||
return dart.ffi::_fromAddress<dart.ffi::IntPtr>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<dart.ffi::IntPtr>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set lpVtbl(dart.ffi::Pointer<dart.ffi::IntPtr> #externalFieldValue) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
get vtable() → dart.ffi::Pointer<dart.ffi::IntPtr>
|
||||
return dart.ffi::Pointer::fromAddress<dart.ffi::IntPtr>(dart.ffi::IntPtrPointer|get#value(this.{lib::COMObject::lpVtbl}{dart.ffi::Pointer<dart.ffi::IntPtr>}));
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -37,14 +37,14 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get xx() → lib::COMObject
|
||||
return new lib::COMObject::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::COMObject>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C13).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::COMObject>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set xx(lib::COMObject #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C7, (#C13).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C7, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -12,14 +12,14 @@ library from "org-dartlang-test:///lib.dart" as lib {
|
|||
: super dart.ffi::Struct::_fromTypedDataBase(#typedDataBase)
|
||||
;
|
||||
get lpVtbl() → dart.ffi::Pointer<dart.ffi::IntPtr>
|
||||
return dart.ffi::_fromAddress<dart.ffi::IntPtr>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
return dart.ffi::_fromAddress<dart.ffi::IntPtr>(dart.ffi::_loadIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}));
|
||||
set lpVtbl(dart.ffi::Pointer<dart.ffi::IntPtr> #externalFieldValue) → void
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::Pointer::address});
|
||||
return dart.ffi::_storeIntPtr(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::Pointer::address}{dart.core::int});
|
||||
get vtable() → dart.ffi::Pointer<dart.ffi::IntPtr>
|
||||
return dart.ffi::Pointer::fromAddress<dart.ffi::IntPtr>(dart.ffi::IntPtrPointer|get#value(this.{lib::COMObject::lpVtbl}{dart.ffi::Pointer<dart.ffi::IntPtr>}));
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
library from "org-dartlang-test:///main.dart" as main {
|
||||
|
@ -37,14 +37,14 @@ library from "org-dartlang-test:///main.dart" as main {
|
|||
;
|
||||
get xx() → lib::COMObject
|
||||
return new lib::COMObject::#fromTypedDataBase( block {
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::COMObject>(#typedDataBase.{dart.ffi::Pointer::address}.{dart.core::num::+}(#offset)) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}.{dart.core::num::+}(#offset), (#C13).{dart.core::List::[]}(dart.ffi::_abi())));
|
||||
dart.core::Object #typedDataBase = this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object};
|
||||
dart.core::int #offset = (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
} =>#typedDataBase is dart.ffi::Pointer<dynamic> ?{dart.core::Object} dart.ffi::_fromAddress<lib::COMObject>(#typedDataBase.{dart.ffi::Pointer::address}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}) : let dart.typed_data::TypedData #typedData = dart._internal::unsafeCast<dart.typed_data::TypedData>(#typedDataBase) in #typedData.{dart.typed_data::TypedData::buffer}{dart.typed_data::ByteBuffer}.{dart.typed_data::ByteBuffer::asUint8List}(#typedData.{dart.typed_data::TypedData::offsetInBytes}{dart.core::int}.{dart.core::num::+}(#offset){(dart.core::num) → dart.core::num}, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}){([dart.core::int, dart.core::int?]) → dart.typed_data::Uint8List});
|
||||
set xx(lib::COMObject #externalFieldValue) → void
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()), #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}, #C7, (#C13).{dart.core::List::[]}(dart.ffi::_abi()));
|
||||
return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, (#C8).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #C7, (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*});
|
||||
@#C10
|
||||
static get #sizeOf() → dart.core::int*
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi());
|
||||
return (#C13).{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*};
|
||||
}
|
||||
}
|
||||
constants {
|
||||
|
|
|
@ -13,22 +13,22 @@ class Coordinate extends ffi::Struct {
|
|||
;
|
||||
@#C8
|
||||
get x() → core::double
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}, (#C10).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C10).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C8
|
||||
set x(core::double #externalFieldValue) → void
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}, (#C10).{core::List::[]}(ffi::_abi()), #externalFieldValue);
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C10).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y() → core::double
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C8
|
||||
set y(core::double #externalFieldValue) → void
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()), #externalFieldValue);
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue);
|
||||
get next() → ffi::Pointer<self::Coordinate>
|
||||
return ffi::_fromAddress<self::Coordinate>(ffi::_loadIntPtr(this.{ffi::_Compound::_typedDataBase}, (#C14).{core::List::[]}(ffi::_abi())));
|
||||
return ffi::_fromAddress<self::Coordinate>(ffi::_loadIntPtr(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C14).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}));
|
||||
set next(ffi::Pointer<self::Coordinate> #externalFieldValue) → void
|
||||
return ffi::_storeIntPtr(this.{ffi::_Compound::_typedDataBase}, (#C14).{core::List::[]}(ffi::_abi()), #externalFieldValue.{ffi::Pointer::address});
|
||||
return ffi::_storeIntPtr(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C14).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue.{ffi::Pointer::address}{core::int});
|
||||
static factory allocate(ffi::Allocator allocator, core::double x, core::double y, ffi::Pointer<self::Coordinate> next) → self::Coordinate {
|
||||
return let final self::Coordinate #t1 = new self::Coordinate::#fromTypedDataBase(allocator.{ffi::Allocator::allocate}<self::Coordinate>(self::Coordinate::#sizeOf)!) in block {
|
||||
return let final self::Coordinate #t1 = new self::Coordinate::#fromTypedDataBase(allocator.{ffi::Allocator::allocate}<self::Coordinate>(self::Coordinate::#sizeOf){(core::int, {alignment: core::int?}) → ffi::Pointer<self::Coordinate>}!) in block {
|
||||
#t1.{self::Coordinate::x} = x;
|
||||
#t1.{self::Coordinate::y} = y;
|
||||
#t1.{self::Coordinate::next} = next;
|
||||
|
@ -36,7 +36,7 @@ class Coordinate extends ffi::Struct {
|
|||
}
|
||||
@#C16
|
||||
static get #sizeOf() → core::int*
|
||||
return (#C19).{core::List::[]}(ffi::_abi());
|
||||
return (#C19).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
}
|
||||
static method main() → dynamic {}
|
||||
|
||||
|
|
|
@ -13,22 +13,22 @@ class Coordinate extends ffi::Struct {
|
|||
;
|
||||
@#C8
|
||||
get x() → core::double
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}, (#C10).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C10).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C8
|
||||
set x(core::double #externalFieldValue) → void
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}, (#C10).{core::List::[]}(ffi::_abi()), #externalFieldValue);
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C10).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue);
|
||||
@#C8
|
||||
get y() → core::double
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_loadDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C8
|
||||
set y(core::double #externalFieldValue) → void
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()), #externalFieldValue);
|
||||
return ffi::_storeDouble(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue);
|
||||
get next() → ffi::Pointer<self::Coordinate>
|
||||
return ffi::_fromAddress<self::Coordinate>(ffi::_loadIntPtr(this.{ffi::_Compound::_typedDataBase}, (#C14).{core::List::[]}(ffi::_abi())));
|
||||
return ffi::_fromAddress<self::Coordinate>(ffi::_loadIntPtr(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C14).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}));
|
||||
set next(ffi::Pointer<self::Coordinate> #externalFieldValue) → void
|
||||
return ffi::_storeIntPtr(this.{ffi::_Compound::_typedDataBase}, (#C14).{core::List::[]}(ffi::_abi()), #externalFieldValue.{ffi::Pointer::address});
|
||||
return ffi::_storeIntPtr(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C14).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue.{ffi::Pointer::address}{core::int});
|
||||
static factory allocate(ffi::Allocator allocator, core::double x, core::double y, ffi::Pointer<self::Coordinate> next) → self::Coordinate {
|
||||
return let final self::Coordinate #t1 = new self::Coordinate::#fromTypedDataBase(allocator.{ffi::Allocator::allocate}<self::Coordinate>(self::Coordinate::#sizeOf)!) in block {
|
||||
return let final self::Coordinate #t1 = new self::Coordinate::#fromTypedDataBase(allocator.{ffi::Allocator::allocate}<self::Coordinate>(self::Coordinate::#sizeOf){(core::int, {alignment: core::int?}) → ffi::Pointer<self::Coordinate>}!) in block {
|
||||
#t1.{self::Coordinate::x} = x;
|
||||
#t1.{self::Coordinate::y} = y;
|
||||
#t1.{self::Coordinate::next} = next;
|
||||
|
@ -36,7 +36,7 @@ class Coordinate extends ffi::Struct {
|
|||
}
|
||||
@#C16
|
||||
static get #sizeOf() → core::int*
|
||||
return (#C19).{core::List::[]}(ffi::_abi());
|
||||
return (#C19).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
}
|
||||
static method main() → dynamic {}
|
||||
|
||||
|
|
|
@ -19,15 +19,15 @@ class StructInlineArray extends ffi::Struct {
|
|||
@#C9
|
||||
get a0() → ffi::Array<ffi::Uint8>
|
||||
return new ffi::Array::_<ffi::Uint8>( block {
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase};
|
||||
core::int #offset = (#C11).{core::List::[]}(ffi::_abi());
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Uint8>(#typedDataBase.{ffi::Pointer::address}.{core::num::+}(#offset)) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}.{core::num::+}(#offset), (#C12).{core::List::[]}(ffi::_abi())), #C3, #C13);
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase}{core::Object};
|
||||
core::int #offset = (#C11).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Uint8>(#typedDataBase.{ffi::Pointer::address}{core::int}.{core::num::+}(#offset){(core::num) → core::num}) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}{typ::ByteBuffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}{core::int}.{core::num::+}(#offset){(core::num) → core::num}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}){([core::int, core::int?]) → typ::Uint8List}, #C3, #C13);
|
||||
@#C9
|
||||
set a0(ffi::Array<ffi::Uint8> #externalFieldValue) → void
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}, (#C11).{core::List::[]}(ffi::_abi()), #externalFieldValue.{ffi::Array::_typedDataBase}, #C10, (#C12).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C11).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue.{ffi::Array::_typedDataBase}{core::Object}, #C10, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C15
|
||||
static get #sizeOf() → core::int*
|
||||
return (#C12).{core::List::[]}(ffi::_abi());
|
||||
return (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
}
|
||||
static method main() → dynamic {}
|
||||
|
||||
|
|
|
@ -19,15 +19,15 @@ class StructInlineArray extends ffi::Struct {
|
|||
@#C9
|
||||
get a0() → ffi::Array<ffi::Uint8>
|
||||
return new ffi::Array::_<ffi::Uint8>( block {
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase};
|
||||
core::int #offset = (#C11).{core::List::[]}(ffi::_abi());
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Uint8>(#typedDataBase.{ffi::Pointer::address}.{core::num::+}(#offset)) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}.{core::num::+}(#offset), (#C12).{core::List::[]}(ffi::_abi())), #C3, #C13);
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase}{core::Object};
|
||||
core::int #offset = (#C11).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Uint8>(#typedDataBase.{ffi::Pointer::address}{core::int}.{core::num::+}(#offset){(core::num) → core::num}) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}{typ::ByteBuffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}{core::int}.{core::num::+}(#offset){(core::num) → core::num}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}){([core::int, core::int?]) → typ::Uint8List}, #C3, #C13);
|
||||
@#C9
|
||||
set a0(ffi::Array<ffi::Uint8> #externalFieldValue) → void
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}, (#C11).{core::List::[]}(ffi::_abi()), #externalFieldValue.{ffi::Array::_typedDataBase}, #C10, (#C12).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C11).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue.{ffi::Array::_typedDataBase}{core::Object}, #C10, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C15
|
||||
static get #sizeOf() → core::int*
|
||||
return (#C12).{core::List::[]}(ffi::_abi());
|
||||
return (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
}
|
||||
static method main() → dynamic {}
|
||||
|
||||
|
|
|
@ -19,39 +19,39 @@ class StructInlineArrayMultiDimensional extends ffi::Struct {
|
|||
@#C10
|
||||
get a0() → ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>>
|
||||
return new ffi::Array::_<ffi::Array<ffi::Array<ffi::Uint8>>>( block {
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase};
|
||||
core::int #offset = (#C12).{core::List::[]}(ffi::_abi());
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Array<ffi::Uint8>>>(#typedDataBase.{ffi::Pointer::address}.{core::num::+}(#offset)) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}.{core::num::+}(#offset), (#C13).{core::List::[]}(ffi::_abi())), #C9, #C14);
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase}{core::Object};
|
||||
core::int #offset = (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Array<ffi::Uint8>>>(#typedDataBase.{ffi::Pointer::address}{core::int}.{core::num::+}(#offset){(core::num) → core::num}) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}{typ::ByteBuffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}{core::int}.{core::num::+}(#offset){(core::num) → core::num}, (#C13).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}){([core::int, core::int?]) → typ::Uint8List}, #C9, #C14);
|
||||
@#C10
|
||||
set a0(ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>> #externalFieldValue) → void
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()), #externalFieldValue.{ffi::Array::_typedDataBase}, #C11, (#C13).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue.{ffi::Array::_typedDataBase}{core::Object}, #C11, (#C13).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C16
|
||||
static get #sizeOf() → core::int*
|
||||
return (#C13).{core::List::[]}(ffi::_abi());
|
||||
return (#C13).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
}
|
||||
static method main() → dynamic {
|
||||
final ffi::Pointer<self::StructInlineArrayMultiDimensional> pointer = (#C17).{ffi::Allocator::allocate}<self::StructInlineArrayMultiDimensional>(self::StructInlineArrayMultiDimensional::#sizeOf);
|
||||
final ffi::Pointer<self::StructInlineArrayMultiDimensional> pointer = (#C17).{ffi::Allocator::allocate}<self::StructInlineArrayMultiDimensional>(self::StructInlineArrayMultiDimensional::#sizeOf){(core::int, {alignment: core::int?}) → ffi::Pointer<self::StructInlineArrayMultiDimensional>};
|
||||
final self::StructInlineArrayMultiDimensional struct = new self::StructInlineArrayMultiDimensional::#fromTypedDataBase(pointer!);
|
||||
final ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>> array = struct.{self::StructInlineArrayMultiDimensional::a0}{ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>>};
|
||||
final ffi::Array<ffi::Array<ffi::Uint8>> subArray = block {
|
||||
ffi::Array<dynamic> #array = array!;
|
||||
core::int #index = 0!;
|
||||
#array.{ffi::Array::_checkIndex}(#index);
|
||||
#array.{ffi::Array::_checkIndex}(#index){(core::int) → dynamic};
|
||||
core::int #singleElementSize = #C18;
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened});
|
||||
core::int #offset = #elementSize.{core::num::*}(#index);
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened}{core::int}){(core::num) → core::num};
|
||||
core::int #offset = #elementSize.{core::num::*}(#index){(core::num) → core::num};
|
||||
} =>new ffi::Array::_<ffi::Array<ffi::Uint8>>( block {
|
||||
core::Object #typedDataBase = #array.{ffi::Array::_typedDataBase};
|
||||
core::Object #typedDataBase = #array.{ffi::Array::_typedDataBase}{core::Object};
|
||||
core::int #offset = #offset;
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Uint8>>(#typedDataBase.{ffi::Pointer::address}.{core::num::+}(#offset)) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}.{core::num::+}(#offset), #elementSize), #array.{ffi::Array::_nestedDimensionsFirst}, #array.{ffi::Array::_nestedDimensionsRest});
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Uint8>>(#typedDataBase.{ffi::Pointer::address}{core::int}.{core::num::+}(#offset){(core::num) → core::num}) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}{typ::ByteBuffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}{core::int}.{core::num::+}(#offset){(core::num) → core::num}, #elementSize){([core::int, core::int?]) → typ::Uint8List}, #array.{ffi::Array::_nestedDimensionsFirst}{core::int}, #array.{ffi::Array::_nestedDimensionsRest}{core::List<core::int>});
|
||||
block {
|
||||
ffi::Array<dynamic> #array = array!;
|
||||
core::int #index = 1!;
|
||||
#array.{ffi::Array::_checkIndex}(#index);
|
||||
#array.{ffi::Array::_checkIndex}(#index){(core::int) → dynamic};
|
||||
core::int #singleElementSize = #C18;
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened});
|
||||
core::int #offset = #elementSize.{core::num::*}(#index);
|
||||
} =>ffi::_memCopy(#array.{ffi::Array::_typedDataBase}, #offset, subArray.{ffi::Array::_typedDataBase}, #C11, #elementSize);
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened}{core::int}){(core::num) → core::num};
|
||||
core::int #offset = #elementSize.{core::num::*}(#index){(core::num) → core::num};
|
||||
} =>ffi::_memCopy(#array.{ffi::Array::_typedDataBase}{core::Object}, #offset, subArray.{ffi::Array::_typedDataBase}{core::Object}, #C11, #elementSize);
|
||||
(#C17).{ffi::Allocator::free}(pointer){(ffi::Pointer<ffi::NativeType>) → void};
|
||||
}
|
||||
|
||||
|
|
|
@ -19,39 +19,39 @@ class StructInlineArrayMultiDimensional extends ffi::Struct {
|
|||
@#C10
|
||||
get a0() → ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>>
|
||||
return new ffi::Array::_<ffi::Array<ffi::Array<ffi::Uint8>>>( block {
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase};
|
||||
core::int #offset = (#C12).{core::List::[]}(ffi::_abi());
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Array<ffi::Uint8>>>(#typedDataBase.{ffi::Pointer::address}.{core::num::+}(#offset)) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}.{core::num::+}(#offset), (#C13).{core::List::[]}(ffi::_abi())), #C9, #C14);
|
||||
core::Object #typedDataBase = this.{ffi::_Compound::_typedDataBase}{core::Object};
|
||||
core::int #offset = (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Array<ffi::Uint8>>>(#typedDataBase.{ffi::Pointer::address}{core::int}.{core::num::+}(#offset){(core::num) → core::num}) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}{typ::ByteBuffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}{core::int}.{core::num::+}(#offset){(core::num) → core::num}, (#C13).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}){([core::int, core::int?]) → typ::Uint8List}, #C9, #C14);
|
||||
@#C10
|
||||
set a0(ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>> #externalFieldValue) → void
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}, (#C12).{core::List::[]}(ffi::_abi()), #externalFieldValue.{ffi::Array::_typedDataBase}, #C11, (#C13).{core::List::[]}(ffi::_abi()));
|
||||
return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}{core::Object}, (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}, #externalFieldValue.{ffi::Array::_typedDataBase}{core::Object}, #C11, (#C13).{core::List::[]}(ffi::_abi()){(core::int) → core::int*});
|
||||
@#C16
|
||||
static get #sizeOf() → core::int*
|
||||
return (#C13).{core::List::[]}(ffi::_abi());
|
||||
return (#C13).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
}
|
||||
static method main() → dynamic {
|
||||
final ffi::Pointer<self::StructInlineArrayMultiDimensional> pointer = (#C17).{ffi::Allocator::allocate}<self::StructInlineArrayMultiDimensional>(self::StructInlineArrayMultiDimensional::#sizeOf);
|
||||
final ffi::Pointer<self::StructInlineArrayMultiDimensional> pointer = (#C17).{ffi::Allocator::allocate}<self::StructInlineArrayMultiDimensional>(self::StructInlineArrayMultiDimensional::#sizeOf){(core::int, {alignment: core::int?}) → ffi::Pointer<self::StructInlineArrayMultiDimensional>};
|
||||
final self::StructInlineArrayMultiDimensional struct = new self::StructInlineArrayMultiDimensional::#fromTypedDataBase(pointer!);
|
||||
final ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>> array = struct.{self::StructInlineArrayMultiDimensional::a0}{ffi::Array<ffi::Array<ffi::Array<ffi::Uint8>>>};
|
||||
final ffi::Array<ffi::Array<ffi::Uint8>> subArray = block {
|
||||
ffi::Array<dynamic> #array = array!;
|
||||
core::int #index = 0!;
|
||||
#array.{ffi::Array::_checkIndex}(#index);
|
||||
#array.{ffi::Array::_checkIndex}(#index){(core::int) → dynamic};
|
||||
core::int #singleElementSize = #C18;
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened});
|
||||
core::int #offset = #elementSize.{core::num::*}(#index);
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened}{core::int}){(core::num) → core::num};
|
||||
core::int #offset = #elementSize.{core::num::*}(#index){(core::num) → core::num};
|
||||
} =>new ffi::Array::_<ffi::Array<ffi::Uint8>>( block {
|
||||
core::Object #typedDataBase = #array.{ffi::Array::_typedDataBase};
|
||||
core::Object #typedDataBase = #array.{ffi::Array::_typedDataBase}{core::Object};
|
||||
core::int #offset = #offset;
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Uint8>>(#typedDataBase.{ffi::Pointer::address}.{core::num::+}(#offset)) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}.{core::num::+}(#offset), #elementSize), #array.{ffi::Array::_nestedDimensionsFirst}, #array.{ffi::Array::_nestedDimensionsRest});
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} ffi::_fromAddress<ffi::Array<ffi::Uint8>>(#typedDataBase.{ffi::Pointer::address}{core::int}.{core::num::+}(#offset){(core::num) → core::num}) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in #typedData.{typ::TypedData::buffer}{typ::ByteBuffer}.{typ::ByteBuffer::asUint8List}(#typedData.{typ::TypedData::offsetInBytes}{core::int}.{core::num::+}(#offset){(core::num) → core::num}, #elementSize){([core::int, core::int?]) → typ::Uint8List}, #array.{ffi::Array::_nestedDimensionsFirst}{core::int}, #array.{ffi::Array::_nestedDimensionsRest}{core::List<core::int>});
|
||||
block {
|
||||
ffi::Array<dynamic> #array = array!;
|
||||
core::int #index = 1!;
|
||||
#array.{ffi::Array::_checkIndex}(#index);
|
||||
#array.{ffi::Array::_checkIndex}(#index){(core::int) → dynamic};
|
||||
core::int #singleElementSize = #C18;
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened});
|
||||
core::int #offset = #elementSize.{core::num::*}(#index);
|
||||
} =>ffi::_memCopy(#array.{ffi::Array::_typedDataBase}, #offset, subArray.{ffi::Array::_typedDataBase}, #C11, #elementSize);
|
||||
core::int #elementSize = #singleElementSize.{core::num::*}(#array.{ffi::Array::_nestedDimensionsFlattened}{core::int}){(core::num) → core::num};
|
||||
core::int #offset = #elementSize.{core::num::*}(#index){(core::num) → core::num};
|
||||
} =>ffi::_memCopy(#array.{ffi::Array::_typedDataBase}{core::Object}, #offset, subArray.{ffi::Array::_typedDataBase}{core::Object}, #C11, #elementSize);
|
||||
(#C17).{ffi::Allocator::free}(pointer){(ffi::Pointer<ffi::NativeType>) → void};
|
||||
}
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ import 'package:kernel/core_types.dart';
|
|||
import 'package:kernel/library_index.dart' show LibraryIndex;
|
||||
import 'package:kernel/reference_from_index.dart';
|
||||
import 'package:kernel/target/targets.dart' show DiagnosticReporter;
|
||||
import 'package:kernel/type_algebra.dart' show Substitution;
|
||||
import 'package:kernel/type_environment.dart'
|
||||
show TypeEnvironment, SubtypeCheckMode;
|
||||
|
||||
|
@ -563,25 +564,30 @@ class FfiTransformer extends Transformer {
|
|||
return NativeType.values[index];
|
||||
}
|
||||
|
||||
InterfaceType _listOfIntType() => InterfaceType(
|
||||
listClass, Nullability.legacy, [coreTypes.intLegacyRawType]);
|
||||
|
||||
ConstantExpression intListConstantExpression(List<int> values) =>
|
||||
ConstantExpression(
|
||||
ListConstant(InterfaceType(intClass, Nullability.legacy),
|
||||
ListConstant(coreTypes.intLegacyRawType,
|
||||
[for (var v in values) IntConstant(v)]),
|
||||
InterfaceType(listClass, Nullability.legacy,
|
||||
[InterfaceType(intClass, Nullability.legacy)]));
|
||||
_listOfIntType());
|
||||
|
||||
/// Expression that queries VM internals at runtime to figure out on which ABI
|
||||
/// we are.
|
||||
Expression runtimeBranchOnLayout(Map<Abi, int> values) {
|
||||
return MethodInvocation(
|
||||
return InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
intListConstantExpression([
|
||||
values[Abi.wordSize64]!,
|
||||
values[Abi.wordSize32Align32]!,
|
||||
values[Abi.wordSize32Align64]!
|
||||
]),
|
||||
Name("[]"),
|
||||
listElementAt.name,
|
||||
Arguments([StaticInvocation(abiMethod, Arguments([]))]),
|
||||
listElementAt);
|
||||
interfaceTarget: listElementAt,
|
||||
functionType: Substitution.fromInterfaceType(_listOfIntType())
|
||||
.substituteType(listElementAt.getterType) as FunctionType);
|
||||
}
|
||||
|
||||
/// Generates an expression that returns a new `Pointer<dartType>` offset
|
||||
|
@ -597,12 +603,13 @@ class FfiTransformer extends Transformer {
|
|||
StaticInvocation(
|
||||
fromAddressInternal,
|
||||
Arguments([
|
||||
MethodInvocation(
|
||||
PropertyGet(pointer, addressGetter.name, addressGetter)
|
||||
add(
|
||||
InstanceGet(
|
||||
InstanceAccessKind.Instance, pointer, addressGetter.name,
|
||||
interfaceTarget: addressGetter,
|
||||
resultType: addressGetter.getterType)
|
||||
..fileOffset = fileOffset,
|
||||
numAddition.name,
|
||||
Arguments([offset]),
|
||||
numAddition)
|
||||
offset)
|
||||
], types: [
|
||||
dartType
|
||||
]))
|
||||
|
@ -625,24 +632,28 @@ class FfiTransformer extends Transformer {
|
|||
..fileOffset = fileOffset;
|
||||
return Let(
|
||||
typedDataVar,
|
||||
MethodInvocation(
|
||||
PropertyGet(VariableGet(typedDataVar), typedDataBufferGetter.name,
|
||||
typedDataBufferGetter)
|
||||
InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
InstanceGet(InstanceAccessKind.Instance, VariableGet(typedDataVar),
|
||||
typedDataBufferGetter.name,
|
||||
interfaceTarget: typedDataBufferGetter,
|
||||
resultType: typedDataBufferGetter.getterType)
|
||||
..fileOffset = fileOffset,
|
||||
byteBufferAsUint8List.name,
|
||||
Arguments([
|
||||
MethodInvocation(
|
||||
PropertyGet(
|
||||
add(
|
||||
InstanceGet(
|
||||
InstanceAccessKind.Instance,
|
||||
VariableGet(typedDataVar),
|
||||
typedDataOffsetInBytesGetter.name,
|
||||
typedDataOffsetInBytesGetter)
|
||||
interfaceTarget: typedDataOffsetInBytesGetter,
|
||||
resultType: typedDataOffsetInBytesGetter.getterType)
|
||||
..fileOffset = fileOffset,
|
||||
numAddition.name,
|
||||
Arguments([offset]),
|
||||
numAddition),
|
||||
offset),
|
||||
length
|
||||
]),
|
||||
byteBufferAsUint8List));
|
||||
interfaceTarget: byteBufferAsUint8List,
|
||||
functionType: byteBufferAsUint8List.getterType as FunctionType));
|
||||
}
|
||||
|
||||
/// Generates an expression that returns a new `TypedDataBase` offset
|
||||
|
@ -789,21 +800,34 @@ class FfiTransformer extends Transformer {
|
|||
|
||||
Expression getCompoundTypedDataBaseField(
|
||||
Expression receiver, int fileOffset) {
|
||||
return PropertyGet(
|
||||
receiver, compoundTypedDataBaseField.name, compoundTypedDataBaseField)
|
||||
return InstanceGet(
|
||||
InstanceAccessKind.Instance, receiver, compoundTypedDataBaseField.name,
|
||||
interfaceTarget: compoundTypedDataBaseField,
|
||||
resultType: compoundTypedDataBaseField.type)
|
||||
..fileOffset = fileOffset;
|
||||
}
|
||||
|
||||
Expression getArrayTypedDataBaseField(Expression receiver,
|
||||
[int fileOffset = TreeNode.noOffset]) {
|
||||
return PropertyGet(
|
||||
receiver, arrayTypedDataBaseField.name, arrayTypedDataBaseField)
|
||||
return InstanceGet(
|
||||
InstanceAccessKind.Instance, receiver, arrayTypedDataBaseField.name,
|
||||
interfaceTarget: arrayTypedDataBaseField,
|
||||
resultType: arrayTypedDataBaseField.type)
|
||||
..fileOffset = fileOffset;
|
||||
}
|
||||
|
||||
Expression add(Expression a, Expression b) {
|
||||
return InstanceInvocation(
|
||||
InstanceAccessKind.Instance, a, numAddition.name, Arguments([b]),
|
||||
interfaceTarget: numAddition,
|
||||
functionType: numAddition.getterType as FunctionType);
|
||||
}
|
||||
|
||||
Expression multiply(Expression a, Expression b) {
|
||||
return MethodInvocation(
|
||||
a, numMultiplication.name, Arguments([b]), numMultiplication);
|
||||
return InstanceInvocation(
|
||||
InstanceAccessKind.Instance, a, numMultiplication.name, Arguments([b]),
|
||||
interfaceTarget: numMultiplication,
|
||||
functionType: numMultiplication.getterType as FunctionType);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1216,8 +1216,10 @@ class PointerNativeTypeCfe implements NativeTypeCfe {
|
|||
transformer.getCompoundTypedDataBaseField(
|
||||
ThisExpression(), fileOffset),
|
||||
transformer.runtimeBranchOnLayout(offsets),
|
||||
PropertyGet(VariableGet(argument), transformer.addressGetter.name,
|
||||
transformer.addressGetter)
|
||||
InstanceGet(InstanceAccessKind.Instance, VariableGet(argument),
|
||||
transformer.addressGetter.name,
|
||||
interfaceTarget: transformer.addressGetter,
|
||||
resultType: transformer.addressGetter.getterType)
|
||||
..fileOffset = fileOffset
|
||||
]))
|
||||
..fileOffset = fileOffset);
|
||||
|
|
|
@ -25,6 +25,7 @@ import 'package:kernel/core_types.dart';
|
|||
import 'package:kernel/library_index.dart' show LibraryIndex;
|
||||
import 'package:kernel/reference_from_index.dart';
|
||||
import 'package:kernel/target/targets.dart' show DiagnosticReporter;
|
||||
import 'package:kernel/type_algebra.dart' show Substitution;
|
||||
import 'package:kernel/type_environment.dart';
|
||||
|
||||
import 'ffi.dart'
|
||||
|
@ -341,11 +342,18 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
if (node.arguments.positional.length == 2) {
|
||||
sizeInBytes = multiply(node.arguments.positional[1], sizeInBytes);
|
||||
}
|
||||
return MethodInvocation(
|
||||
final FunctionType allocateFunctionType =
|
||||
allocatorAllocateMethod.getterType as FunctionType;
|
||||
return InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
node.arguments.positional[0],
|
||||
allocatorAllocateMethod.name,
|
||||
Arguments([sizeInBytes], types: node.arguments.types),
|
||||
allocatorAllocateMethod);
|
||||
interfaceTarget: allocatorAllocateMethod,
|
||||
functionType: Substitution.fromPairs(
|
||||
allocateFunctionType.typeParameters, node.arguments.types)
|
||||
.substituteType(allocateFunctionType
|
||||
.withoutTypeParameters) as FunctionType);
|
||||
}
|
||||
}
|
||||
} on _FfiStaticTypeError {
|
||||
|
@ -428,17 +436,24 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
final DartType nativeSignature = node.arguments.types[0];
|
||||
final DartType dartSignature = node.arguments.types[1];
|
||||
|
||||
final Arguments lookupArgs = Arguments([
|
||||
node.arguments.positional[1]
|
||||
], types: [
|
||||
final List<DartType> lookupTypeArgs = [
|
||||
InterfaceType(nativeFunctionClass, Nullability.legacy, [nativeSignature])
|
||||
]);
|
||||
];
|
||||
final Arguments lookupArgs =
|
||||
Arguments([node.arguments.positional[1]], types: lookupTypeArgs);
|
||||
final FunctionType lookupFunctionType =
|
||||
libraryLookupMethod.getterType as FunctionType;
|
||||
|
||||
final Expression lookupResult = MethodInvocation(
|
||||
final Expression lookupResult = InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
node.arguments.positional[0],
|
||||
Name("lookup"),
|
||||
libraryLookupMethod.name,
|
||||
lookupArgs,
|
||||
libraryLookupMethod);
|
||||
interfaceTarget: libraryLookupMethod,
|
||||
functionType: Substitution.fromPairs(
|
||||
lookupFunctionType.typeParameters, lookupTypeArgs)
|
||||
.substituteType(lookupFunctionType.withoutTypeParameters)
|
||||
as FunctionType);
|
||||
|
||||
bool isLeaf = _getIsLeafBoolean(node);
|
||||
if (isLeaf == null) {
|
||||
|
@ -496,13 +511,17 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
.firstWhere((c) => c.name == Name("#fromTypedDataBase"));
|
||||
Expression pointer = NullCheck(node.arguments.positional[0]);
|
||||
if (node.arguments.positional.length == 2) {
|
||||
pointer = MethodInvocation(
|
||||
pointer = InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
pointer,
|
||||
offsetByMethod.name,
|
||||
Arguments([
|
||||
multiply(node.arguments.positional[1], _inlineSizeOf(dartType))
|
||||
]),
|
||||
offsetByMethod);
|
||||
interfaceTarget: offsetByMethod,
|
||||
functionType:
|
||||
Substitution.fromPairs(pointerClass.typeParameters, [dartType])
|
||||
.substituteType(offsetByMethod.getterType) as FunctionType);
|
||||
}
|
||||
return ConstructorInvocation(constructor, Arguments([pointer]));
|
||||
}
|
||||
|
@ -585,10 +604,10 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
final elementSizeVar = VariableDeclaration("#elementSize",
|
||||
initializer: multiply(
|
||||
VariableGet(singleElementSizeVar),
|
||||
PropertyGet(
|
||||
VariableGet(arrayVar),
|
||||
InstanceGet(InstanceAccessKind.Instance, VariableGet(arrayVar),
|
||||
arrayNestedDimensionsFlattened.name,
|
||||
arrayNestedDimensionsFlattened)),
|
||||
interfaceTarget: arrayNestedDimensionsFlattened,
|
||||
resultType: arrayNestedDimensionsFlattened.type)),
|
||||
type: coreTypes.intNonNullableRawType)
|
||||
..fileOffset = node.fileOffset;
|
||||
final offsetVar = VariableDeclaration("#offset",
|
||||
|
@ -600,11 +619,13 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
final checkIndexAndLocalVars = Block([
|
||||
arrayVar,
|
||||
indexVar,
|
||||
ExpressionStatement(MethodInvocation(
|
||||
ExpressionStatement(InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
VariableGet(arrayVar),
|
||||
arrayCheckIndex.name,
|
||||
Arguments([VariableGet(indexVar)]),
|
||||
arrayCheckIndex)),
|
||||
interfaceTarget: arrayCheckIndex,
|
||||
functionType: arrayCheckIndex.getterType as FunctionType)),
|
||||
singleElementSizeVar,
|
||||
elementSizeVar,
|
||||
offsetVar
|
||||
|
@ -623,12 +644,14 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
VariableGet(elementSizeVar),
|
||||
dartType,
|
||||
node.fileOffset),
|
||||
PropertyGet(
|
||||
VariableGet(arrayVar),
|
||||
InstanceGet(InstanceAccessKind.Instance, VariableGet(arrayVar),
|
||||
arrayNestedDimensionsFirst.name,
|
||||
arrayNestedDimensionsFirst),
|
||||
PropertyGet(VariableGet(arrayVar),
|
||||
arrayNestedDimensionsRest.name, arrayNestedDimensionsRest)
|
||||
interfaceTarget: arrayNestedDimensionsFirst,
|
||||
resultType: arrayNestedDimensionsFirst.type),
|
||||
InstanceGet(InstanceAccessKind.Instance, VariableGet(arrayVar),
|
||||
arrayNestedDimensionsRest.name,
|
||||
interfaceTarget: arrayNestedDimensionsRest,
|
||||
resultType: arrayNestedDimensionsRest.type)
|
||||
], types: [
|
||||
dartType
|
||||
])));
|
||||
|
@ -667,12 +690,17 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
Expression inlineSizeOf = _inlineSizeOf(nativeType);
|
||||
if (inlineSizeOf != null) {
|
||||
// Generates `receiver.offsetBy(inlineSizeOfExpression)`.
|
||||
return MethodInvocation(
|
||||
return InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
node.receiver,
|
||||
offsetByMethod.name,
|
||||
Arguments(
|
||||
[multiply(node.arguments.positional.single, inlineSizeOf)]),
|
||||
offsetByMethod);
|
||||
interfaceTarget: offsetByMethod,
|
||||
functionType:
|
||||
Substitution.fromInterfaceType(pointerType as InterfaceType)
|
||||
.substituteType(offsetByMethod.getterType)
|
||||
as FunctionType);
|
||||
}
|
||||
}
|
||||
} on _FfiStaticTypeError {
|
||||
|
@ -700,12 +728,17 @@ class _FfiUseSiteTransformer extends FfiTransformer {
|
|||
Expression inlineSizeOf = _inlineSizeOf(nativeType);
|
||||
if (inlineSizeOf != null) {
|
||||
// Generates `receiver.offsetBy(inlineSizeOfExpression)`.
|
||||
return MethodInvocation(
|
||||
return InstanceInvocation(
|
||||
InstanceAccessKind.Instance,
|
||||
node.receiver,
|
||||
offsetByMethod.name,
|
||||
Arguments(
|
||||
[multiply(node.arguments.positional.single, inlineSizeOf)]),
|
||||
offsetByMethod);
|
||||
interfaceTarget: offsetByMethod,
|
||||
functionType:
|
||||
Substitution.fromInterfaceType(pointerType as InterfaceType)
|
||||
.substituteType(offsetByMethod.getterType)
|
||||
as FunctionType);
|
||||
}
|
||||
}
|
||||
} on _FfiStaticTypeError {
|
||||
|
|
|
@ -41,9 +41,9 @@ class Struct11 extends ffi::Struct {
|
|||
;
|
||||
[@vm.procedure-attributes.metadata=methodOrSetterCalledDynamically:false,getterCalledDynamically:false,hasThisUses:false,hasNonThisUses:false,hasTearOffUses:false,getterSelectorId:1] get nested() → self::Struct12*
|
||||
return new self::Struct12::#fromTypedDataBase( block {
|
||||
core::Object #typedDataBase = [@vm.direct-call.metadata=dart.ffi::_Compound._typedDataBase] this.{ffi::_Compound::_typedDataBase};
|
||||
core::int #offset = (#C12).{core::List::[]}(ffi::_abi());
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} [@vm.inferred-type.metadata=dart.ffi::Pointer?] ffi::_fromAddress<self::Struct12*>([@vm.direct-call.metadata=dart.core::_IntegerImplementation.+??] [@vm.inferred-type.metadata=int (skip check)] [@vm.direct-call.metadata=dart.ffi::Pointer.address] [@vm.inferred-type.metadata=int?] #typedDataBase.{ffi::Pointer::address}.{core::num::+}(#offset)) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in [@vm.direct-call.metadata=dart.typed_data::_ByteBuffer.asUint8List] [@vm.inferred-type.metadata=dart.typed_data::_Uint8ArrayView (skip check)] [@vm.inferred-type.metadata=dart.typed_data::_ByteBuffer] #typedData.{typ::TypedData::buffer}.{typ::ByteBuffer::asUint8List}([@vm.direct-call.metadata=dart.core::_IntegerImplementation.+] [@vm.inferred-type.metadata=int (skip check)] [@vm.inferred-type.metadata=dart.core::_Smi] #typedData.{typ::TypedData::offsetInBytes}.{core::num::+}(#offset), (#C15).{core::List::[]}(ffi::_abi())));
|
||||
core::Object #typedDataBase = [@vm.direct-call.metadata=dart.ffi::_Compound._typedDataBase] this.{ffi::_Compound::_typedDataBase}{core::Object};
|
||||
core::int #offset = (#C12).{core::List::[]}(ffi::_abi()){(core::int) → core::int*};
|
||||
} =>#typedDataBase is ffi::Pointer<dynamic> ?{core::Object} [@vm.inferred-type.metadata=dart.ffi::Pointer?] ffi::_fromAddress<self::Struct12*>([@vm.direct-call.metadata=dart.core::_IntegerImplementation.+??] [@vm.inferred-type.metadata=int (skip check)] [@vm.direct-call.metadata=dart.ffi::Pointer.address] [@vm.inferred-type.metadata=int?] #typedDataBase.{ffi::Pointer::address}{core::int}.{core::num::+}(#offset){(core::num) → core::num}) : let typ::TypedData #typedData = _in::unsafeCast<typ::TypedData>(#typedDataBase) in [@vm.direct-call.metadata=dart.typed_data::_ByteBuffer.asUint8List] [@vm.inferred-type.metadata=dart.typed_data::_Uint8ArrayView (skip check)] [@vm.inferred-type.metadata=dart.typed_data::_ByteBuffer] #typedData.{typ::TypedData::buffer}{typ::ByteBuffer}.{typ::ByteBuffer::asUint8List}([@vm.direct-call.metadata=dart.core::_IntegerImplementation.+] [@vm.inferred-type.metadata=int (skip check)] [@vm.inferred-type.metadata=dart.core::_Smi] #typedData.{typ::TypedData::offsetInBytes}{core::int}.{core::num::+}(#offset){(core::num) → core::num}, (#C15).{core::List::[]}(ffi::_abi()){(core::int) → core::int*}){([core::int, core::int?]) → typ::Uint8List});
|
||||
}
|
||||
@#C6
|
||||
class Struct12 extends ffi::Struct {
|
||||
|
@ -67,7 +67,7 @@ static method testLookupFunctionReturn() → void {
|
|||
final ffi::DynamicLibrary* dylib = [@vm.inferred-type.metadata=dart.ffi::DynamicLibrary?] ffi::DynamicLibrary::executable();
|
||||
final () →* self::Struct1* function1 = block {
|
||||
_in::_nativeEffect(new self::Struct1::#fromTypedDataBase([@vm.inferred-type.metadata=dart.typed_data::_Uint8List] typ::Uint8List::•(#C18)));
|
||||
} =>ffi::_asFunctionInternal<() →* self::Struct1*, () →* self::Struct1*>([@vm.direct-call.metadata=dart.ffi::DynamicLibrary.lookup??] [@vm.inferred-type.metadata=dart.ffi::Pointer? (skip check)] dylib.{ffi::DynamicLibrary::lookup}<ffi::NativeFunction<() →* self::Struct1*>*>("function1"), false);
|
||||
} =>ffi::_asFunctionInternal<() →* self::Struct1*, () →* self::Struct1*>([@vm.direct-call.metadata=dart.ffi::DynamicLibrary.lookup??] [@vm.inferred-type.metadata=dart.ffi::Pointer? (skip check)] dylib.{ffi::DynamicLibrary::lookup}<ffi::NativeFunction<() →* self::Struct1*>*>("function1"){(core::String) → ffi::Pointer<ffi::NativeFunction<() →* self::Struct1*>*>}, false);
|
||||
final self::Struct1* struct1 = [@vm.call-site-attributes.metadata=receiverType:#lib::Struct1* Function()*] function1(){() →* self::Struct1*};
|
||||
core::print(struct1);
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ static method testFromFunctionArgument() → void {
|
|||
}
|
||||
static method testLookupFunctionArgument() → void {
|
||||
final ffi::DynamicLibrary* dylib = [@vm.inferred-type.metadata=dart.ffi::DynamicLibrary?] ffi::DynamicLibrary::executable();
|
||||
final (self::Struct5*) →* void function5 = [@vm.inferred-type.metadata=dart.core::_Closure?] ffi::_asFunctionInternal<(self::Struct5*) →* void, (self::Struct5*) →* ffi::Void*>([@vm.direct-call.metadata=dart.ffi::DynamicLibrary.lookup??] [@vm.inferred-type.metadata=dart.ffi::Pointer? (skip check)] dylib.{ffi::DynamicLibrary::lookup}<ffi::NativeFunction<(self::Struct5*) →* ffi::Void*>*>("function5"), false);
|
||||
final (self::Struct5*) →* void function5 = [@vm.inferred-type.metadata=dart.core::_Closure?] ffi::_asFunctionInternal<(self::Struct5*) →* void, (self::Struct5*) →* ffi::Void*>([@vm.direct-call.metadata=dart.ffi::DynamicLibrary.lookup??] [@vm.inferred-type.metadata=dart.ffi::Pointer? (skip check)] dylib.{ffi::DynamicLibrary::lookup}<ffi::NativeFunction<(self::Struct5*) →* ffi::Void*>*>("function5"){(core::String) → ffi::Pointer<ffi::NativeFunction<(self::Struct5*) →* ffi::Void*>*>}, false);
|
||||
core::print(function5);
|
||||
}
|
||||
static method testAsFunctionArgument() → void {
|
||||
|
|
Loading…
Reference in a new issue