Index: src/runtime/runtime-atomics.cc |
diff --git a/src/runtime/runtime-atomics.cc b/src/runtime/runtime-atomics.cc |
index ca6e6ebaa759e22dc5bc95161fab6da0c6cea4c3..3bd0738dd2c1239493b406e60281473f8de272f2 100644 |
--- a/src/runtime/runtime-atomics.cc |
+++ b/src/runtime/runtime-atomics.cc |
@@ -355,10 +355,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsCompareExchange) { |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(oldobj, 2); |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(newobj, 3); |
CHECK(sta->GetBuffer()->is_shared()); |
- CHECK_LT(index, NumberToSize(isolate, sta->length())); |
+ CHECK_LT(index, NumberToSize(sta->length())); |
uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + |
- NumberToSize(isolate, sta->byte_offset()); |
+ NumberToSize(sta->byte_offset()); |
switch (sta->type()) { |
#define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ |
@@ -388,10 +388,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsAdd) { |
CONVERT_SIZE_ARG_CHECKED(index, 1); |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(value, 2); |
CHECK(sta->GetBuffer()->is_shared()); |
- CHECK_LT(index, NumberToSize(isolate, sta->length())); |
+ CHECK_LT(index, NumberToSize(sta->length())); |
uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + |
- NumberToSize(isolate, sta->byte_offset()); |
+ NumberToSize(sta->byte_offset()); |
switch (sta->type()) { |
#define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ |
@@ -420,10 +420,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsSub) { |
CONVERT_SIZE_ARG_CHECKED(index, 1); |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(value, 2); |
CHECK(sta->GetBuffer()->is_shared()); |
- CHECK_LT(index, NumberToSize(isolate, sta->length())); |
+ CHECK_LT(index, NumberToSize(sta->length())); |
uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + |
- NumberToSize(isolate, sta->byte_offset()); |
+ NumberToSize(sta->byte_offset()); |
switch (sta->type()) { |
#define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ |
@@ -452,10 +452,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsAnd) { |
CONVERT_SIZE_ARG_CHECKED(index, 1); |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(value, 2); |
CHECK(sta->GetBuffer()->is_shared()); |
- CHECK_LT(index, NumberToSize(isolate, sta->length())); |
+ CHECK_LT(index, NumberToSize(sta->length())); |
uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + |
- NumberToSize(isolate, sta->byte_offset()); |
+ NumberToSize(sta->byte_offset()); |
switch (sta->type()) { |
#define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ |
@@ -484,10 +484,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsOr) { |
CONVERT_SIZE_ARG_CHECKED(index, 1); |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(value, 2); |
CHECK(sta->GetBuffer()->is_shared()); |
- CHECK_LT(index, NumberToSize(isolate, sta->length())); |
+ CHECK_LT(index, NumberToSize(sta->length())); |
uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + |
- NumberToSize(isolate, sta->byte_offset()); |
+ NumberToSize(sta->byte_offset()); |
switch (sta->type()) { |
#define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ |
@@ -516,10 +516,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsXor) { |
CONVERT_SIZE_ARG_CHECKED(index, 1); |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(value, 2); |
CHECK(sta->GetBuffer()->is_shared()); |
- CHECK_LT(index, NumberToSize(isolate, sta->length())); |
+ CHECK_LT(index, NumberToSize(sta->length())); |
uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + |
- NumberToSize(isolate, sta->byte_offset()); |
+ NumberToSize(sta->byte_offset()); |
switch (sta->type()) { |
#define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ |
@@ -548,10 +548,10 @@ RUNTIME_FUNCTION(Runtime_AtomicsExchange) { |
CONVERT_SIZE_ARG_CHECKED(index, 1); |
CONVERT_NUMBER_ARG_HANDLE_CHECKED(value, 2); |
CHECK(sta->GetBuffer()->is_shared()); |
- CHECK_LT(index, NumberToSize(isolate, sta->length())); |
+ CHECK_LT(index, NumberToSize(sta->length())); |
uint8_t* source = static_cast<uint8_t*>(sta->GetBuffer()->backing_store()) + |
- NumberToSize(isolate, sta->byte_offset()); |
+ NumberToSize(sta->byte_offset()); |
switch (sta->type()) { |
#define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ |