Closed
Bug 503406
Opened 15 years ago
Closed 15 years ago
TM: Trace calling a user-attached function to RegExp
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: dmandelin, Assigned: brendan)
References
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files)
115 bytes,
application/x-javascript
|
Details | |
2.12 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
The attached test case doesn't trace. Output: foo foo abort: 11653: callee is not an object Abort recording of tree /tmp/callprop.js:6@34 at /tmp/callprop.js:7@38: callprop. foo foo foo It *does* trace if I attach the function to Object.prototype instead. It may have something to do with specialness of the RegExp prototype, but I don't know. What is clear is that the result of test_property_cache is not an object (presumably it is a property or slot instead), and the tracer doesn't support that yet.
Assignee | ||
Comment 1•15 years ago
|
||
Assignee | ||
Comment 2•15 years ago
|
||
This is a patch against m-c. I'm gonna disown the bug if I can't check in there. /be
Priority: -- → P2
Target Milestone: --- → mozilla1.9.2a1
Comment 3•15 years ago
|
||
looks ok to take on m-c to me
Comment 4•15 years ago
|
||
Comment on attachment 387755 [details] [diff] [review] fix want-getters-and-setters!
Attachment #387755 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 5•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/49fed67a8067 http://hg.mozilla.org/mozilla-central/rev/a94b39c8f546 /be
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-tracemonkey
Comment 6•15 years ago
|
||
Could this have caused the 3.23% Dromaeo regression pointed to here: http://groups.google.com/group/mozilla.dev.tree-management/msg/7344f39035b7a9f7 ?
Assignee | ||
Comment 8•15 years ago
|
||
(In reply to comment #6) > Could this have caused the 3.23% Dromaeo regression pointed to here: > http://groups.google.com/group/mozilla.dev.tree-management/msg/7344f39035b7a9f7 > ? Jorendorff had some experience with Dromaeo noise jumps lately. I don't see how the patch could slow anything down. What's the chart like since then? /be
You need to log in
before you can comment on or make changes to this bug.
Description
•