Closed Bug 486049 Opened 15 years ago Closed 15 years ago

TM: maintain globalShape in VMFragment only, not in TreeInfo and VMFragment

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gal, Assigned: gal)

References

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

      No description provided.
Attached patch patchSplinter Review
Assignee: general → gal
split out cleanup part from bug this blocks (no change in behavior from this patch)
Attachment #370124 - Flags: review?(graydon)
Attachment #370124 - Flags: review?(graydon) → review+
Comment on attachment 370124 [details] [diff] [review]
patch

I don't really see why this is an important change to make, but it looks like it does what is claims. r+ assuming it works.
I am adding a second feature of the global object to track: its identity. I have to either add it to two places redundantly, and make all the code find and update it in both places, or we stop having the shape in TreeInfo and just in VMFragment, at which point I only add the object identity to VMFragment.
http://hg.mozilla.org/mozilla-central/rev/246bb72c6c11
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: