| Index: runtime/vm/object.cc
|
| ===================================================================
|
| --- runtime/vm/object.cc (revision 22888)
|
| +++ runtime/vm/object.cc (working copy)
|
| @@ -6054,7 +6054,8 @@
|
| }
|
|
|
| // Create the array of scripts and cache it in loaded_scripts_.
|
| - StorePointer(&raw_ptr()->loaded_scripts_, Array::MakeArray(scripts));
|
| + const Array& scripts_array = Array::Handle(Array::MakeArray(scripts));
|
| + StorePointer(&raw_ptr()->loaded_scripts_, scripts_array.raw());
|
| }
|
| return loaded_scripts();
|
| }
|
|
|