Closed
Bug 1271147
Opened 9 years ago
Closed 9 years ago
Merge RegExpCreate and regexp_construct self-hosting builtins.
Categories
(Core :: JavaScript: Standard Library, defect)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
mozilla49
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
|
11.64 KB,
patch
|
till
:
review+
|
Details | Diff | Splinter Review |
Now those are almost identical, except acceptable arguments count, and should be merged into single function.
| Assignee | ||
Comment 1•9 years ago
|
||
Previously:
regexp_construct
1 or 2 arguments
args[0] should be a string
args[1] should be a string if supplied
RegExpCreate
2 arguments
args[1] should be a string or undefined
Changed to:
RegExpCreate
1 or 2 arguments
args[1] should be a string or undefined if supplied
there is also regexp_construct_no_sticky, but it's a bit different, and anyway I'm about to change it again in bug 1263340 to receive raw int32 flags slot value.
Attachment #8750186 -
Flags: review?(till)
Comment 2•9 years ago
|
||
Comment on attachment 8750186 [details] [diff] [review]
Merge RegExpCreate and regexp_construct self-hosting builtins.
Review of attachment 8750186 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8750186 -
Flags: review?(till) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c57fdf4b8e07f197d7355ffd005cfefb75715700
Bug 1271147 - Merge RegExpCreate and regexp_construct self-hosting builtins. r=till
Comment 4•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•