Open Bug 1972305 Opened 1 year ago Updated 1 year ago

Pass JS::Value by value instead of |const Value&| in more places

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

Details

Passing JS::Value by value is possible now after bug 1765346. This is shorter and more readable, and also a little more efficient because the compiler can pass the JS::Value directly in a register on 64-bit platforms.

Before we convert a lot of code, let's wait until the changes in bug 1765346 are on release just in case it breaks something.

Blocks: sm-api
Severity: -- → N/A
Type: task → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.