Closed Bug 1248860 Opened 8 years ago Closed 8 years ago

Baldr: change function bodies to an expr list from expr

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: luke, Assigned: luke)

References

Details

Attachments

(3 files)

The AST has function bodies being an expr list:
  https://github.com/WebAssembly/spec/blob/master/ml-proto/spec/ast.ml#L207
but currently they're just an expr.
Attached patch mv-compile-argsSplinter Review
This is convenient for the next patch and avoids the ad hoc passing of CompileArgs.
Attachment #8720133 - Flags: review?(bbouvier)
This patch removes the non-wasm interrupt opcodes so we don't have to worry about them in the next patch.
Attachment #8720134 - Flags: review?(bbouvier)
Attached patch body-is-a-listSplinter Review
You may recognize parts of this patch :)  Note that this time the body is an 'expr list' which is almost like a block but no Expr::Block opcode.
Attachment #8720135 - Flags: review?(bbouvier)
Comment on attachment 8720134 [details] [diff] [review]
rm-interrupt-check

Review of attachment 8720134 [details] [diff] [review]:
-----------------------------------------------------------------

\o/
Attachment #8720134 - Flags: review?(bbouvier) → review+
Attachment #8720133 - Flags: review?(bbouvier) → review+
Attachment #8720135 - Flags: review?(bbouvier) → review+
https://hg.mozilla.org/mozilla-central/rev/185f8e002c0e
https://hg.mozilla.org/mozilla-central/rev/c4d7e7b3172f
https://hg.mozilla.org/mozilla-central/rev/6bb9aa94a48e
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: