Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index c3ee543b7c4e8c6666257688cef2d5db5be1229d..53e72cb4b19ed7e62538b517509b69656903c2be 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4036,9 +4036,9 @@ Handle<Object> FixedTypedArray<Traits>::get( |
template <class Traits> |
-Handle<Object> FixedTypedArray<Traits>::SetValue( |
- Handle<JSObject> holder, Handle<FixedTypedArray<Traits> > array, |
- uint32_t index, Handle<Object> value) { |
+void FixedTypedArray<Traits>::SetValue(Handle<JSObject> holder, |
+ Handle<FixedTypedArray<Traits> > array, |
+ uint32_t index, Handle<Object> value) { |
ElementType cast_value = Traits::defaultValue(); |
Handle<JSArrayBufferView> view = Handle<JSArrayBufferView>::cast(holder); |
if (!view->WasNeutered()) { |
@@ -4057,7 +4057,6 @@ Handle<Object> FixedTypedArray<Traits>::SetValue( |
array->set(index, cast_value); |
} |
} |
- return Traits::ToHandle(array->GetIsolate(), cast_value); |
} |