Closed
Bug 1121363
Opened 10 years ago
Closed 10 years ago
Remove more straggling PJS bits
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: lth, Assigned: lth)
References
Details
Attachments
(2 files)
(deleted),
patch
|
shu
:
review+
h4writer
:
feedback+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
lth
:
review+
|
Details | Diff | Splinter Review |
By an oversight, this function was not removed earlier. grep finds these instances:
./src/builtin/TestingFunctions.cpp:1226:js::testingFunc_inParallelSection(JSContext *cx, unsigned argc, jsval *vp)
./src/builtin/TestingFunctions.cpp:2459: JS_FN_HELP("inParallelSection", testingFunc_inParallelSection, 0, 0,
./src/builtin/TestingFunctions.cpp:2460:"inParallelSection()",
./src/builtin/TestingFunctions.h:18:testingFunc_inParallelSection(JSContext *cx, unsigned argc, Value *vp);
Assignee | ||
Comment 1•10 years ago
|
||
By an oversight, lots of other little bits (and some larger bits) were also not removed earlier. I've filed bugs for some of them (bug 1121433, bug 1121434, bug 1121435) but the easy fixes are handled here.
Summary: Remove testingFunc_inParallelSection → Remove more straggling PJS bits
Assignee | ||
Comment 2•10 years ago
|
||
Hannes, can you check that my changes to TraceLogger don't do anything bad?
Attachment #8548870 -
Flags: review?(shu)
Attachment #8548870 -
Flags: feedback?(hv1989)
Comment 3•10 years ago
|
||
Comment on attachment 8548870 [details] [diff] [review]
Remove yet more PJS code
Review of attachment 8548870 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good wrt Tracelogger. Seems like TraceLogger_ParallelSafetyAnalysis was never used or did you already remove that?
Attachment #8548870 -
Flags: feedback?(hv1989) → feedback+
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Hannes Verschore [:h4writer] from comment #3)
> Comment on attachment 8548870 [details] [diff] [review]
> Remove yet more PJS code
>
> Review of attachment 8548870 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good wrt Tracelogger. Seems like TraceLogger_ParallelSafetyAnalysis
> was never used or did you already remove that?
Any use would have been removed by an earlier patch, when the bulk of the JIT was cleaned out.
Comment 5•10 years ago
|
||
Comment on attachment 8548870 [details] [diff] [review]
Remove yet more PJS code
Review of attachment 8548870 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jsobj.cpp
@@ -3286,5 @@
> - if (name->isIndex(&index))
> - return GetElementPure(cx, obj, index, vp);
> -
> - return GetPropertyPure(cx, obj, NameToId(name->asPropertyName()), vp);
> -}
Hm, seeing how LookupPropertyPure is independently useful, I wonder if these pure variants would also be independently useful. I suppose it doesn't hurt to remove now and add them back later should new users arise, rather than let them rot in the codebase.
Attachment #8548870 -
Flags: review?(shu) → review+
Comment 6•10 years ago
|
||
Might as well just post it in this bug. Turned out there wasn't really anything
big I needed to do with VMFunctions. Sorry for not r+ing your deleting this a
while back, Lars.
Attachment #8549272 -
Flags: review?(lhansen)
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8549272 [details] [diff] [review]
Simplify VMFunction context matching.
Review of attachment 8549272 [details] [diff] [review]:
-----------------------------------------------------------------
I'll land this this morning when I land the other one.
Attachment #8549272 -
Flags: review?(lhansen) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Assignee | ||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2b9b821f28a7
https://hg.mozilla.org/mozilla-central/rev/97b9f0cf33bf
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•