Closed Bug 1575544 Opened 4 months ago Closed 4 months ago

make scalar info constructors constexpr

Categories

(Toolkit :: Telemetry, task)

task
Not set

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

No description provided.

Marking these constructors as constexpr encourages the compiler to
constant-initialize most of the gScalars array, rather than generating
a giant glob of code to move the (constant) values into the array at
runtime.

Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a54dd9741b8d
make scalar info constructors constexpr; r=chutten
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.