Skip to content

Commit

Permalink
Add Float16Array branch
Browse files Browse the repository at this point in the history
  • Loading branch information
aapoalas committed Feb 5, 2025
1 parent ad1d8d1 commit a583b5d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,8 @@ impl TypedArrayPrototype {
TypedArray::Int16Array(_) | TypedArray::Uint16Array(_) => {
typed_array_length::<u16>(agent, &ta_record, gc.nogc())
}
#[cfg(feature = "proposal-float16array")]
TypedArray::Float16Array(_) => typed_array_length::<f16>(agent, &ta_record, gc.nogc()),
TypedArray::Int32Array(_)
| TypedArray::Uint32Array(_)
| TypedArray::Float32Array(_) => {
Expand Down

0 comments on commit a583b5d

Please sign in to comment.