Closed
Bug 481246
Opened 16 years ago
Closed 16 years ago
Guard that we don't have to re-brand when writing a function into a slot
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
People
(Reporter: Waldo, Assigned: gal)
References
Details
(Keywords: verified1.9.1, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 1 obsolete file)
|
6.82 KB,
patch
|
Details | Diff | Splinter Review |
The fix for bug 473256 isn't quite enough, because it allows shape unsyncing between JIT and interpreter and penalizes global sets rather than global calls, which might be the wrong way to split the baby.
Flags: blocking1.9.1?
| Reporter | ||
Updated•16 years ago
|
Priority: -- → P2
| Assignee | ||
Updated•16 years ago
|
Assignee: general → gal
| Assignee | ||
Updated•16 years ago
|
Priority: P2 → P1
| Assignee | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Comment on attachment 365286 [details] [diff] [review]
patch
FIXME: comment citing a new bug asking for function to be split from object trace-type, and r=me.
/be
Attachment #365286 -
Flags: review+
| Reporter | ||
Comment 3•16 years ago
|
||
Comment on attachment 365286 [details] [diff] [review]
patch
>+ /*
>+ * If we are recording a function being set into the slot, we must write the
>+ * same function thats already in the slot, otherwise we would have to re-brand.
that's
>+ /*
>+ * If a regular object was written, we have to guard that its not a function
it's
| Assignee | ||
Comment 4•16 years ago
|
||
Attachment #365286 -
Attachment is obsolete: true
| Assignee | ||
Updated•16 years ago
|
Summary: Emit identity-checking instructions for calls of global properties → Guard that we don't have to re-brand when writing a function into a slot
| Assignee | ||
Comment 5•16 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 6•16 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/1c16405d7d6c
/cvsroot/mozilla/js/tests/js1_8_1/trace/trace-test.js,v <-- trace-test.js
new revision: 1.12; previous revision: 1.11
Flags: in-testsuite+
Updated•16 years ago
|
Comment 7•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Comment 8•16 years ago
|
||
Keywords: fixed1.9.1
Comment 9•16 years ago
|
||
v 1.9.1, 1.9.2
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•