Closed Bug 1183522 Opened 9 years ago Closed 9 years ago

SIMD: make toSource use the new capitalization

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: ProgramFOX, Assigned: ProgramFOX)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file, 2 obsolete files)

The SIMD objects now start with a capital letter, but this was not yet changed for toSource.
Attachment #8633341 - Flags: review?(benj)
Comment on attachment 8633341 [details] [diff] [review]
SIMD: make toSource use the new capitalization

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

Indeed (this changed in the spec after I made my patch!). However, you also need to prefix the Type name by SIMD, so that the code is homoiconic: https://github.com/tc39/ecmascript_simd/commit/1d9079b31b2a02206ce8bc6a13dc1e7127bc9b89
Attachment #8633341 - Flags: review?(benj)
(And thank you for the patch, btw)
Updated patch, with the SIMD prefix added.
Attachment #8633341 - Attachment is obsolete: true
Attachment #8634606 - Flags: review?(benj)
Comment on attachment 8634606 [details] [diff] [review]
SIMD: make toSource use the new capitalization and give it the SIMD prefix

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

Looks good, thank you! Can you also move the ToSource test to tests/ecma_7/SIMD, please?
Attachment #8634606 - Flags: review?(benj) → review+
Comment on attachment 8635221 [details] [diff] [review]
SIMD: made toSource use the new capitalization and give it the SIMD prefix

Updated patch, with the test file moved.

Try push:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1b978be405b4
Attachment #8635221 - Attachment description: tosource-capitalization3.diff → SIMD: made toSource use the new capitalization and give it the SIMD prefix
Attachment #8635221 - Flags: review+
Attachment #8634606 - Attachment is obsolete: true
Assignee: nobody → programfox
Try push returned green after having to retrigger some jobs; adding checkin-needed.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/acc29d2bc390
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: