Closed Bug 1607179 Opened 4 years ago Closed 4 years ago

Update TypedArrayObjectTemplate<NativeType>::convertValue to use if-constexpr

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox73 --- wontfix
firefox74 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(1 file)

Using if-constexpr will allow us to replace a MOZ_ASSERT with a static_assert.

Priority: -- → P1
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/63fa0469f356
Use constexpr-if in TypedArrayObjectTemplate<NativeType>::convertValue. r=jwalden
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: