Closed
Bug 1253877
Opened 8 years ago
Closed 8 years ago
Baldr: print missing text labels in resolving phase
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: luke, Assigned: luke)
References
Details
Attachments
(1 file)
11.03 KB,
patch
|
mbx
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8727125 -
Flags: review?(mbebenita)
Comment 1•8 years ago
|
||
Comment on attachment 8727125 [details] [diff] [review] better-text-errors Review of attachment 8727125 [details] [diff] [review]: ----------------------------------------------------------------- Looks great, and nice to have. We could improve on this by also printing the text position of the label that fails to resolve. ::: js/src/asmjs/WasmText.cpp @@ +3179,3 @@ > return false; > } > + bool fail(const char* kind, WasmName name) { NIT, since this method is specific to labels not being found, maybe we could call it something else. But I can't really think of a good name right now.
Attachment #8727125 -
Flags: review?(mbebenita) → review+
Assignee | ||
Comment 2•8 years ago
|
||
> Looks great, and nice to have. We could improve on this by also printing the > text position of the label that fails to resolve. That's a good idea, but probably in a followup patch since it involves additionally stashing line/column offset in WasmName. > NIT, since this method is specific to labels not being found, maybe we could > call it something else. But I can't really think of a good name right now. Good point; I'm thinking failResolveLabel().
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2c9739f8236f https://hg.mozilla.org/mozilla-central/rev/56aed3cbc3c0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•