Closed Bug 1538099 Opened 5 years ago Closed 5 years ago

Cranelift: adjust offset names in shared data structures

Categories

(Core :: JavaScript: WebAssembly, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bbouvier, Assigned: bbouvier)

References

Details

Attachments

(2 files)

No description provided.
  • Uses constants for function namespaces;
  • Puts the source location retrieval under a single function;

This renames:

  • offset to codeOffset (which is an offset in the code generated by Cranelift,
    relative to the beginning of the function, which we can now infer from the
    name).
  • srcLoc to moduleBytecodeOffset, since this is what it is (and much clearer
    than the previous name).
Pushed by bbouvier@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/34175a1386a8
Refactor baldrdash compile a bit; r=yury
https://hg.mozilla.org/integration/mozilla-inbound/rev/14de4e6ce362
Rename CraneliftMetadata fields to help distinguish them; r=yury
Attachment #9052802 - Attachment description: Bug 1538099: Refactor baldrdash compile a bit; r?yury → Bug 1538099: Refactor baldrdash compile a bit; r=yury
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: