Skip to content

Commit

Permalink
style: remove unused kHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
robik committed May 23, 2024
1 parent 958dc8a commit 76da167
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/VM/JSLib/TypedArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1783,9 +1783,6 @@ typedArrayPrototypeToReversed(void *, Runtime &runtime, NativeArgs args) {
// 6a. Let from be ! ToString(𝔽(length - k - 1)).
double from = len - k - 1;

// 6b. Let Pk be ! ToString(𝔽(k)).
kHandle = HermesValue::encodeTrustedNumberValue(k);

// 6c. Let fromValue be ? Get(O, from).
fromValueHandle =
JSObject::getOwnIndexed(createPseudoHandle(self.get()), runtime, from);
Expand Down

0 comments on commit 76da167

Please sign in to comment.