зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1570333 - ImmutableTenuredPtr is supposed to be traced so it should only be used on the heap r=luke?
Differential Revision: https://phabricator.services.mozilla.com/D40052 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
694c55b677
Коммит
f677505a74
|
@ -844,7 +844,7 @@ static inline void BarrieredSetPair(Zone* zone, HeapPtr<T1*>& v1, T1* val1,
|
|||
* class!
|
||||
*/
|
||||
template <typename T>
|
||||
class ImmutableTenuredPtr {
|
||||
class MOZ_HEAP_CLASS ImmutableTenuredPtr {
|
||||
T value;
|
||||
|
||||
public:
|
||||
|
|
|
@ -6476,7 +6476,7 @@ static bool GetDataProperty(JSContext* cx, HandleValue objVal,
|
|||
}
|
||||
|
||||
static bool GetDataProperty(JSContext* cx, HandleValue objVal,
|
||||
ImmutablePropertyNamePtr field,
|
||||
const ImmutablePropertyNamePtr& field,
|
||||
MutableHandleValue v) {
|
||||
// Help the conversion along for all the cx->names().* users.
|
||||
HandlePropertyName fieldHandle = field;
|
||||
|
|
Загрузка…
Ссылка в новой задаче