Closed Bug 453728 Opened 16 years ago Closed 16 years ago

TM: Can't trace reading .prototype

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.2b1
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: gal, Assigned: brendan)

Details

Attachments

(1 file)

It seems .prototype has a non-stub getter (why?) and we fall off trace trying to read it.
Ancient inefficient overloading of the class getter, fun_getProperty. I fix!

/be
Status: NEW → ASSIGNED
OS: Mac OS X → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1b1
Attached patch proposed fixSplinter Review
Andreas, please check this out ASAP and lemme know if it doesn't cure all abort on function property ills.

/be
Attachment #336955 - Flags: review?(mrbkap)
I think this fixed all the cases I am aware of. mrbkap, could you review and push into TM?
Attachment #336955 - Flags: review?(mrbkap) → review+
http://hg.mozilla.org/tracemonkey/rev/b06fc042e687

I accidentally pushed some random cleanup in with brendan's patch. I'm pretty sure he won't mind ;-)
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
I've been resolving bugs as fixed only when the patch hits m-c. Not sure what is best but that's traditional, so onlookers can try the "trunk" nightlies. But we have TraceMonkey continuous builds too, don't we?

Anyhoo, fixed in mozilla-central:

http://hg.mozilla.org/mozilla-central/rev/bc244c4d2fbd

/be
Well, IMO it is worth tracking what's been patched. If we push tracemonkey to m-c often enough (say, once a day before the nightlies), then marking bugs as fixed when they hit tracemonkey wouldn't be too bad of a lie.
Flags: in-testsuite-
Flags: in-litmus-
Flags: blocking1.9.2+
Priority: P1 → P2
Target Milestone: mozilla1.9.1b1 → mozilla1.9.2b1
Version: unspecified → Trunk
(just marking the whiteboard status for driving purposes; we've reached that part of the release cycle where I'm reloading these lists a lot)
Whiteboard: [needs tm merge]
Whiteboard: [needs tm merge]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: