Find literal strings/arrays/data that should be const static

NEW
Assigned to

Status

()

Core
Rewriting and Analysis
8 years ago
3 years ago

People

(Reporter: Stuart Parmenter, Assigned: Ashwini.H.M)

Tracking

(Blocks: 2 bugs, {perf, student-project})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug])

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

8 years ago
Make things readonly in the library for the win.
Keywords: student-project
Whiteboard: [good first bug]

Updated

8 years ago
Keywords: perf

Comment 1

8 years ago
(In reply to comment #0)
> Make things readonly in the library for the win.

Can you please give some more detailed information about this bug. Id like to have a look at this to learn about the whole process of contributing to the project.

Comment 2

8 years ago
plz reply with more description on bug
(Assignee)

Comment 3

7 years ago
Iam a student of mysore india iam a stu from sjce mysore,india and would like to take up dis bug.
(Assignee)

Comment 4

7 years ago
Iam a student of mysore India. Iam a student from SJCE mysore,India and i would like to take up dis bug.
Assignee: nobody → hm.ashu
(Reporter)

Comment 5

7 years ago
The idea here is to look and find data in the application that should be marked readonly in the binary so that it can be mapped in directly, rather than creating copies on the heap
(Assignee)

Comment 6

7 years ago
sir i will work on the bug500875 now im plugin to gcc
(Assignee)

Comment 7

7 years ago
im doing the task plugin to gcc some errors so i wil do it soon
(Assignee)

Comment 8

7 years ago
i want some more ideas abt this bug
(Assignee)

Comment 9

7 years ago
Created attachment 444312 [details]
Find literal strings/arrays that should be declared as both const and static and warns

This JS warns if literal strings/arrays are initialized to variables that are not declared as both const and static.
Attachment #444312 - Flags: feedback?(david.humphrey)
(Assignee)

Comment 10

7 years ago
Created attachment 444315 [details]
Find literal strings/arrays that should be declared as both const and static and warns

This JS warns if literal strings/arrays are initialised to variables that are not both const and static.
Attachment #444312 - Attachment is obsolete: true
Attachment #444315 - Flags: feedback?(david.humphrey)
Attachment #444312 - Flags: feedback?(david.humphrey)

Updated

7 years ago
Blocks: 583074
Comment on attachment 444315 [details]
Find literal strings/arrays that should be declared as both const and static and warns

Apologies for losing track of this.  If you're still working on it, it needs another reviewer.
Attachment #444315 - Flags: feedback?(david.humphrey)

Comment 12

3 years ago
related to bug 74803?
You need to log in before you can comment on or make changes to this bug.