| Index: runtime/lib/weak_property.cc
|
| diff --git a/runtime/lib/weak_property.cc b/runtime/lib/weak_property.cc
|
| index 273cef8656fe4d15fea8d6aa68c036038fcf0a9c..268461b77eb8e01e7ee53d6b4652de2ce7623ab6 100644
|
| --- a/runtime/lib/weak_property.cc
|
| +++ b/runtime/lib/weak_property.cc
|
| @@ -33,4 +33,11 @@ DEFINE_NATIVE_ENTRY(WeakProperty_getValue, 1) {
|
| arguments->SetReturn(value);
|
| }
|
|
|
| +
|
| +DEFINE_NATIVE_ENTRY(WeakProperty_setValue, 2) {
|
| + GET_NATIVE_ARGUMENT(WeakProperty, weak_property, arguments->At(0));
|
| + GET_NATIVE_ARGUMENT(Instance, value, arguments->At(1));
|
| + weak_property.set_value(value);
|
| +}
|
| +
|
| } // namespace dart
|
|
|