Closed
Bug 578153
Opened 13 years ago
Closed 13 years ago
Need test verifying that watchpoints trigger in JaegerMonkey-compiled code
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jimb, Assigned: adrake)
References
Details
Attachments
(1 file)
1.10 KB,
patch
|
Details | Diff | Splinter Review |
There should be a unit test that sets a watchpoint on some object's property, and then verifies that JaegerMonkey-compiled code does trigger that watchpoint. It would be nice to have an API to ensure that a function gets JM-compiled.
Reporter | ||
Updated•13 years ago
|
Blocks: JaegerDebug
Assignee | ||
Updated•13 years ago
|
Assignee: general → adrake
Assignee | ||
Comment 1•13 years ago
|
||
See bug 579145 for API, beginning work on this now.
Assignee | ||
Comment 2•13 years ago
|
||
This just tests if watchpoints can be set from JIT code, and if watchpoints can be hit from JIT code (both work). I can't really think of anything more specific to test than this until JM starts doing creepy things with property accesses. Any input?
Assignee | ||
Comment 3•13 years ago
|
||
I don't really think we need to commit these -- AFAICT adding a watch changes an object's shape, so even PIC'd accesses will correctly hit the watchpoint (and a failure to hit the watchpoint would indicate a more general problem with PICs). If a problem comes up later it would be more useful to have more targeted tests.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•