Closed
Bug 1142282
Opened 9 years ago
Closed 9 years ago
Remove parent arguments from NewNativeObjectWith*Proto
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(3 files)
14.07 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
2.07 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
4.00 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8576295 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8576296 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8576297 -
Flags: review?(jwalden+bmo)
Comment 4•9 years ago
|
||
Comment on attachment 8576295 [details] [diff] [review] part 1. Remove the parent argument of NewNativeObjectWithGivenProto Review of attachment 8576295 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/vm/Debugger.cpp @@ -5824,5 @@ > RootedObject proto(cx, GlobalObject::getOrCreateArrayPrototype(cx, global)); > if (!proto) > return false; > - argsobj = NewNativeObjectWithGivenProto(cx, &DebuggerArguments_class, proto, > - GlobalObject::upcast(global)); You're removing an awful lot of GlobalObject::upcast uses. Maybe worth seeing if all could be killed somehow.
Attachment #8576295 -
Flags: review?(jwalden+bmo) → review+
Comment 5•9 years ago
|
||
Comment on attachment 8576296 [details] [diff] [review] part 2. Remove the parent argument of NewNativeObjectWithGivenTaggedProto Review of attachment 8576296 [details] [diff] [review]: ----------------------------------------------------------------- If these functions really are unused, feel free to remove them.
Attachment #8576296 -
Flags: review?(jwalden+bmo) → review+
Updated•9 years ago
|
Attachment #8576297 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 6•9 years ago
|
||
> Maybe worth seeing if all could be killed somehow. After bug 1142296 lands and removes a few more, we can think about it. > If these functions really are unused, feel free to remove them. They're unused, but I'm kinda assuming they got added for a reason....
Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e1ec6a6aa82a https://hg.mozilla.org/integration/mozilla-inbound/rev/e3f898cc3cb9 https://hg.mozilla.org/integration/mozilla-inbound/rev/761c4f4f4af8
Comment 8•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e1ec6a6aa82a https://hg.mozilla.org/mozilla-central/rev/e3f898cc3cb9 https://hg.mozilla.org/mozilla-central/rev/761c4f4f4af8
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•