Closed Bug 769743 Opened 12 years ago Closed 12 years ago

simplify ScopedCoordinate::slot and fix names

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: luke, Assigned: luke)

References

Details

(Whiteboard: [js:t])

Attachments

(1 file)

Attached patch patchSplinter Review
ScopeCoordinate::slot isn't really the scope object slot, it's some sort of abstract index.  It should be the slot (esp. with bug 767013).

This patch also simplifies the conversions between frame-relative indices and scope-object-relative indices.  The comment in jsscript.h should explain.

Flagging dvander for review since this should require some minor tweaks in IM when this merges.
Attachment #637953 - Flags: review?(dvander)
Attachment #637953 - Flags: review?(dvander) → review+
Thanks for the quick review!

https://hg.mozilla.org/integration/mozilla-inbound/rev/e8bab55ac425
Target Milestone: --- → mozilla16
Whiteboard: [js:t]
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/df25da024956 - it was a little bit short of actually compiling.
s/compiling/compiling for 32-bit/
Arg; the cursed JS_STATIC_ASSERT(sizeof(JSScript) % sizeof(Value) == 0).

https://hg.mozilla.org/integration/mozilla-inbound/rev/0d9f7fb55226
Now the no-methodjit shell builds are burning (#winning):

https://tbpl.mozilla.org/?tree=Mozilla-Inbound&noignore=1&jobname=spidermonkey
https://hg.mozilla.org/mozilla-central/rev/0d9f7fb55226
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 770102
Depends on: 778467
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: