mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Update basic SharedArrayBuffer features (threading)
* add SharedArrayBuffer object * update BackingStore to represent shared data block Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
25679c9980
commit
324baba180
15 changed files with 319 additions and 13 deletions
|
|
@ -33,7 +33,7 @@ namespace Escargot {
|
|||
ArrayBufferObject* NAME = thisValue.asObject()->asArrayBufferObject(); \
|
||||
NAME->throwTypeErrorIfDetached(state);
|
||||
|
||||
// https://www.ecma-international.org/ecma-262/10.0/#sec-arraybuffer-length
|
||||
// https://262.ecma-international.org/#sec-arraybuffer-constructor
|
||||
static Value builtinArrayBufferConstructor(ExecutionState& state, Value thisValue, size_t argc, Value* argv, Optional<Object*> newTarget)
|
||||
{
|
||||
if (!newTarget.hasValue()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue