|
@@ -3,6 +3,7 @@ using Jint.Native.AggregateError;
|
|
using Jint.Native.Array;
|
|
using Jint.Native.Array;
|
|
using Jint.Native.ArrayBuffer;
|
|
using Jint.Native.ArrayBuffer;
|
|
using Jint.Native.AsyncFunction;
|
|
using Jint.Native.AsyncFunction;
|
|
|
|
+using Jint.Native.Atomics;
|
|
using Jint.Native.BigInt;
|
|
using Jint.Native.BigInt;
|
|
using Jint.Native.Boolean;
|
|
using Jint.Native.Boolean;
|
|
using Jint.Native.DataView;
|
|
using Jint.Native.DataView;
|
|
@@ -82,6 +83,7 @@ namespace Jint.Runtime
|
|
private SetIteratorPrototype? _setIteratorPrototype;
|
|
private SetIteratorPrototype? _setIteratorPrototype;
|
|
private ArrayConstructor? _array;
|
|
private ArrayConstructor? _array;
|
|
private ArrayIteratorPrototype? _arrayIteratorPrototype;
|
|
private ArrayIteratorPrototype? _arrayIteratorPrototype;
|
|
|
|
+ private AtomicsInstance? _atomics;
|
|
private BooleanConstructor? _boolean;
|
|
private BooleanConstructor? _boolean;
|
|
private ArrayBufferConstructor? _arrayBufferConstructor;
|
|
private ArrayBufferConstructor? _arrayBufferConstructor;
|
|
private SharedArrayBufferConstructor? _sharedArrayBufferConstructor;
|
|
private SharedArrayBufferConstructor? _sharedArrayBufferConstructor;
|
|
@@ -133,6 +135,9 @@ namespace Jint.Runtime
|
|
public ArrayConstructor Array =>
|
|
public ArrayConstructor Array =>
|
|
_array ??= new ArrayConstructor(_engine, _realm, Function.PrototypeObject, Object.PrototypeObject);
|
|
_array ??= new ArrayConstructor(_engine, _realm, Function.PrototypeObject, Object.PrototypeObject);
|
|
|
|
|
|
|
|
+ internal AtomicsInstance Atomics =>
|
|
|
|
+ _atomics ??= new AtomicsInstance(_engine, _realm, Object.PrototypeObject);
|
|
|
|
+
|
|
internal AggregateErrorConstructor AggregateError =>
|
|
internal AggregateErrorConstructor AggregateError =>
|
|
_aggregateError ??= new AggregateErrorConstructor(_engine, _realm, Error);
|
|
_aggregateError ??= new AggregateErrorConstructor(_engine, _realm, Error);
|
|
|
|
|