| Index: runtime/vm/object.cc
|
| ===================================================================
|
| --- runtime/vm/object.cc (revision 11629)
|
| +++ runtime/vm/object.cc (working copy)
|
| @@ -3465,8 +3465,7 @@
|
|
|
| void TypeArguments::SetTypeAt(intptr_t index, const AbstractType& value) const {
|
| ASSERT(!IsCanonical());
|
| - // TODO(iposva): Add storing NoGCScope.
|
| - *TypeAddr(index) = value.raw();
|
| + StorePointer(TypeAddr(index), value.raw());
|
| }
|
|
|
|
|
| @@ -7449,7 +7448,7 @@
|
|
|
|
|
| void ContextScope::SetNameAt(intptr_t scope_index, const String& name) const {
|
| - VariableDescAddr(scope_index)->name = name.raw();
|
| + StorePointer(&(VariableDescAddr(scope_index)->name), name.raw());
|
| }
|
|
|
|
|
| @@ -7470,7 +7469,7 @@
|
|
|
| void ContextScope::SetTypeAt(
|
| intptr_t scope_index, const AbstractType& type) const {
|
| - VariableDescAddr(scope_index)->type = type.raw();
|
| + StorePointer(&(VariableDescAddr(scope_index)->type), type.raw());
|
| }
|
|
|
|
|
|
|