Commit 196ce3d0 authored by Georg Neis's avatar Georg Neis Committed by V8 LUCI CQ

[compiler] Remove unused FixedArrayRef::get

Bug: v8:7790
Change-Id: Iaa2f7e0e0ae552089867d2789ec4e541df2d6a24
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3123413Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76567}
parent c90f077f
......@@ -2052,8 +2052,6 @@ int ArrayBoilerplateDescriptionRef::constants_elements_length() const {
return object()->constant_elements().length();
}
ObjectRef FixedArrayRef::get(int i) const { return TryGet(i).value(); }
base::Optional<ObjectRef> FixedArrayRef::TryGet(int i) const {
Handle<Object> value;
{
......
......@@ -815,12 +815,6 @@ class FixedArrayRef : public FixedArrayBaseRef {
Handle<FixedArray> object() const;
ObjectRef get(int i) const;
// As above but may fail if Ref construction is not possible (e.g. for
// serialized types on the background thread).
// TODO(jgruber): Remove once all Ref types are never-serialized or
// background-serialized and can thus be created on background threads.
base::Optional<ObjectRef> TryGet(int i) const;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment