Closed Bug 1752598 Opened 2 years ago Closed 2 years ago

[meta] Simplify generation of throw and catch statements

Categories

(Core :: JavaScript: WebAssembly, task, P3)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

The representation of tag and exception objects can be simplified. This will allow us to emit tighter code in throw/catch blocks, and potentially unbox simple exceptions in wasm activations.

Renaming the title to focus on the end result, as optimizing object representation is just the first step.

Summary: Optimize the representation of exception and tag objects → Simplify generation of throw and catch statements
Status: NEW → ASSIGNED
Severity: -- → N/A
Type: enhancement → task
Keywords: meta
Summary: Simplify generation of throw and catch statements → [meta] Simplify generation of throw and catch statements

The next step we were considering was to unbox small exceptions when the throw and catch are in the same wasm activation. This turns out to have questionable value, is complex to implement, and is not being pursued by other engines at this time.

So we're going to close this for now.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.