diff options
Diffstat (limited to 'deps/v8/src/lookup.cc')
-rw-r--r-- | deps/v8/src/lookup.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/lookup.cc b/deps/v8/src/lookup.cc index 32261c91d1..fb3d1263d7 100644 --- a/deps/v8/src/lookup.cc +++ b/deps/v8/src/lookup.cc @@ -256,7 +256,7 @@ namespace { bool IsTypedArrayFunctionInAnyContext(Isolate* isolate, JSReceiver* holder) { static uint32_t context_slots[] = { -#define TYPED_ARRAY_CONTEXT_SLOTS(Type, type, TYPE, ctype, size) \ +#define TYPED_ARRAY_CONTEXT_SLOTS(Type, type, TYPE, ctype) \ Context::TYPE##_ARRAY_FUN_INDEX, TYPED_ARRAYS(TYPED_ARRAY_CONTEXT_SLOTS) @@ -398,7 +398,7 @@ void LookupIterator::PrepareForDataProperty(Handle<Object> value) { if (IsElement()) { ElementsKind kind = holder_obj->GetElementsKind(); ElementsKind to = value->OptimalElementsKind(); - if (IsHoleyOrDictionaryElementsKind(kind)) to = GetHoleyElementsKind(to); + if (IsHoleyElementsKind(kind)) to = GetHoleyElementsKind(to); to = GetMoreGeneralElementsKind(kind, to); if (kind != to) { |