Open
Bug 1089625
Opened 11 years ago
Updated 8 months ago
Don't create script just to resolve function's .length property
Categories
(Core :: JavaScript Engine, enhancement, P5)
Tracking
()
NEW
People
(Reporter: jorendorff, Unassigned)
References
(Blocks 1 open bug)
Details
Waldo asked for this in bug 911142 comment 8. I don't know if we have the information at hand in lazy functions or not.
Updated•3 years ago
|
Severity: normal → S3
Comment 1•8 months ago
|
||
This bug is still valid as the following stack still calls getOrCreateScript.
JSFunction::getLength at https://searchfox.org/mozilla-central/rev/7c573d9eb97e7b1ba383239bfac9260b26983544/js/src/vm/JSFunction-inl.h#104
JSFunction::getUnresolvedLength at https://searchfox.org/mozilla-central/rev/7c573d9eb97e7b1ba383239bfac9260b26983544/js/src/vm/JSFunction-inl.h#120
fun_resolve at https://searchfox.org/mozilla-central/rev/7c573d9eb97e7b1ba383239bfac9260b26983544/js/src/vm/JSFunction.cpp#667
Not sure how much this matters nowadays.
You need to log in
before you can comment on or make changes to this bug.
Description
•