mirror of https://github.com/tc39/test262.git
Atomics: drop unused id argument to agent receiveBroadcast handler
This commit is contained in:
parent
974a4ffbc5
commit
a46bbfd872
|
@ -16,7 +16,7 @@ const i64a = new BigInt64Array(
|
|||
const RUNNING = 1;
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(function(sab, id) {
|
||||
$262.agent.receiveBroadcast(function(sab) {
|
||||
const i64a = new BigInt64Array(sab);
|
||||
Atomics.add(i64a, ${RUNNING}, 1n);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ const i64a = new BigInt64Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(function(sab, id) {
|
||||
$262.agent.receiveBroadcast(function(sab) {
|
||||
const i64a = new BigInt64Array(sab);
|
||||
Atomics.add(i64a, ${RUNNING}, 1n);
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ features: [Atomics, SharedArrayBuffer, TypedArray]
|
|||
const RUNNING = 1;
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(function(sab, id) {
|
||||
$262.agent.receiveBroadcast(function(sab) {
|
||||
var i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(function(sab, id) {
|
||||
$262.agent.receiveBroadcast(function(sab) {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ const i32a = new Int32Array(
|
|||
);
|
||||
|
||||
$262.agent.start(`
|
||||
$262.agent.receiveBroadcast(async (sab, id) => {
|
||||
$262.agent.receiveBroadcast(async function(sab) => {
|
||||
const i32a = new Int32Array(sab);
|
||||
Atomics.add(i32a, ${RUNNING}, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue