@@ -355,10 +355,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsCompareExchange) {
355355 CONVERT_NUMBER_ARG_HANDLE_CHECKED (oldobj, 2 );
356356 CONVERT_NUMBER_ARG_HANDLE_CHECKED (newobj, 3 );
357357 CHECK (sta->GetBuffer ()->is_shared ());
358- CHECK_LT (index, NumberToSize (isolate, sta->length ()));
358+ CHECK_LT (index, NumberToSize (sta->length ()));
359359
360360 uint8_t * source = static_cast <uint8_t *>(sta->GetBuffer ()->backing_store ()) +
361- NumberToSize (isolate, sta->byte_offset ());
361+ NumberToSize (sta->byte_offset ());
362362
363363 switch (sta->type ()) {
364364#define TYPED_ARRAY_CASE (Type, typeName, TYPE, ctype, size ) \
@@ -388,10 +388,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsAdd) {
388388 CONVERT_SIZE_ARG_CHECKED (index, 1 );
389389 CONVERT_NUMBER_ARG_HANDLE_CHECKED (value, 2 );
390390 CHECK (sta->GetBuffer ()->is_shared ());
391- CHECK_LT (index, NumberToSize (isolate, sta->length ()));
391+ CHECK_LT (index, NumberToSize (sta->length ()));
392392
393393 uint8_t * source = static_cast <uint8_t *>(sta->GetBuffer ()->backing_store ()) +
394- NumberToSize (isolate, sta->byte_offset ());
394+ NumberToSize (sta->byte_offset ());
395395
396396 switch (sta->type ()) {
397397#define TYPED_ARRAY_CASE (Type, typeName, TYPE, ctype, size ) \
@@ -420,10 +420,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsSub) {
420420 CONVERT_SIZE_ARG_CHECKED (index, 1 );
421421 CONVERT_NUMBER_ARG_HANDLE_CHECKED (value, 2 );
422422 CHECK (sta->GetBuffer ()->is_shared ());
423- CHECK_LT (index, NumberToSize (isolate, sta->length ()));
423+ CHECK_LT (index, NumberToSize (sta->length ()));
424424
425425 uint8_t * source = static_cast <uint8_t *>(sta->GetBuffer ()->backing_store ()) +
426- NumberToSize (isolate, sta->byte_offset ());
426+ NumberToSize (sta->byte_offset ());
427427
428428 switch (sta->type ()) {
429429#define TYPED_ARRAY_CASE (Type, typeName, TYPE, ctype, size ) \
@@ -452,10 +452,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsAnd) {
452452 CONVERT_SIZE_ARG_CHECKED (index, 1 );
453453 CONVERT_NUMBER_ARG_HANDLE_CHECKED (value, 2 );
454454 CHECK (sta->GetBuffer ()->is_shared ());
455- CHECK_LT (index, NumberToSize (isolate, sta->length ()));
455+ CHECK_LT (index, NumberToSize (sta->length ()));
456456
457457 uint8_t * source = static_cast <uint8_t *>(sta->GetBuffer ()->backing_store ()) +
458- NumberToSize (isolate, sta->byte_offset ());
458+ NumberToSize (sta->byte_offset ());
459459
460460 switch (sta->type ()) {
461461#define TYPED_ARRAY_CASE (Type, typeName, TYPE, ctype, size ) \
@@ -484,10 +484,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsOr) {
484484 CONVERT_SIZE_ARG_CHECKED (index, 1 );
485485 CONVERT_NUMBER_ARG_HANDLE_CHECKED (value, 2 );
486486 CHECK (sta->GetBuffer ()->is_shared ());
487- CHECK_LT (index, NumberToSize (isolate, sta->length ()));
487+ CHECK_LT (index, NumberToSize (sta->length ()));
488488
489489 uint8_t * source = static_cast <uint8_t *>(sta->GetBuffer ()->backing_store ()) +
490- NumberToSize (isolate, sta->byte_offset ());
490+ NumberToSize (sta->byte_offset ());
491491
492492 switch (sta->type ()) {
493493#define TYPED_ARRAY_CASE (Type, typeName, TYPE, ctype, size ) \
@@ -516,10 +516,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsXor) {
516516 CONVERT_SIZE_ARG_CHECKED (index, 1 );
517517 CONVERT_NUMBER_ARG_HANDLE_CHECKED (value, 2 );
518518 CHECK (sta->GetBuffer ()->is_shared ());
519- CHECK_LT (index, NumberToSize (isolate, sta->length ()));
519+ CHECK_LT (index, NumberToSize (sta->length ()));
520520
521521 uint8_t * source = static_cast <uint8_t *>(sta->GetBuffer ()->backing_store ()) +
522- NumberToSize (isolate, sta->byte_offset ());
522+ NumberToSize (sta->byte_offset ());
523523
524524 switch (sta->type ()) {
525525#define TYPED_ARRAY_CASE (Type, typeName, TYPE, ctype, size ) \
@@ -548,10 +548,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsExchange) {
548548 CONVERT_SIZE_ARG_CHECKED (index, 1 );
549549 CONVERT_NUMBER_ARG_HANDLE_CHECKED (value, 2 );
550550 CHECK (sta->GetBuffer ()->is_shared ());
551- CHECK_LT (index, NumberToSize (isolate, sta->length ()));
551+ CHECK_LT (index, NumberToSize (sta->length ()));
552552
553553 uint8_t * source = static_cast <uint8_t *>(sta->GetBuffer ()->backing_store ()) +
554- NumberToSize (isolate, sta->byte_offset ());
554+ NumberToSize (sta->byte_offset ());
555555
556556 switch (sta->type ()) {
557557#define TYPED_ARRAY_CASE (Type, typeName, TYPE, ctype, size ) \
0 commit comments