Skip to content

Implement operations of atomics#5166

Merged
LaszloLango merged 1 commit into
jerryscript-project:masterfrom
gergocs:atomicsFix
Nov 26, 2024
Merged

Implement operations of atomics#5166
LaszloLango merged 1 commit into
jerryscript-project:masterfrom
gergocs:atomicsFix

Conversation

@gergocs

@gergocs gergocs commented Nov 15, 2024

Copy link
Copy Markdown
Contributor

The following methods were implemented:
Atomics.compareExchange
Atomics.store

The implementation is based on PR #4956, only resolved the conflicts.

Co-authored-by: Csaba Repasi repasics@inf.u-szeged.hu
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu

@LaszloLango LaszloLango left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add more details into the commit message, what operations are implemented and what are still missing?

Comment thread tests/snapshot-tests-skiplist.txt Outdated
@ossy-szeged

ossy-szeged commented Nov 21, 2024

Copy link
Copy Markdown
Contributor

Please add proper ifdef guards not to break non bigint build. See #5047 for details.

@zherczeg zherczeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice patch!

Comment thread jerry-core/ecma/builtin-objects/ecma-builtin-atomics.c
Comment thread jerry-core/ecma/builtin-objects/ecma-builtin-atomics.c Outdated
Comment thread jerry-core/ecma/builtin-objects/ecma-builtin-atomics.c Outdated
Comment thread jerry-core/ecma/operations/ecma-arraybuffer-object.c Outdated
Comment thread jerry-core/ecma/operations/ecma-arraybuffer-object.c Outdated
Comment thread jerry-core/ecma/operations/ecma-arraybuffer-object.c Outdated
Comment thread jerry-core/ecma/operations/ecma-arraybuffer-object.c
The following methods were implemented:
Atomics.compareExchange
Atomics.store

The implementation is based on PR jerryscript-project#4956, only resolved the conflicts.

Co-authored-by: Csaba Repasi repasics@inf.u-szeged.hu
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu

@LaszloLango LaszloLango left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LaszloLango
LaszloLango merged commit 7db6a9a into jerryscript-project:master Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants