Closed Bug 711273 Opened 13 years ago Closed 13 years ago

rm cruft: JS_REQUIRES_STACK, find-child.py, jsstack.js, fallibility of PutBlockObject/UnwindScope

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: luke, Assigned: luke)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch rm cruft (obsolete) — Splinter Review
I'm afraid this is a bit of a grab bag of cruft removal.  It started with evilpie's (evilpies'?) observation that PutBlockObject/UnwindScope really aren't fallible and then I kept finding cruft.

  17 files changed, 66 insertions(+), 584 deletions(-)
Attachment #582137 - Flags: review?(jwalden+bmo)
CC'ing Tom: what's the appropriate possessive plural for evilpie?
Attached patch rm cruft 2 (obsolete) — Splinter Review
lil' bit more.
Attachment #582160 - Flags: review?(jwalden+bmo)
Attached patch rm cruft 3Splinter Review
One more ounce of cruft (dead comment).
Attachment #582137 - Attachment is obsolete: true
Attachment #582160 - Attachment is obsolete: true
Attachment #582137 - Flags: review?(jwalden+bmo)
Attachment #582160 - Flags: review?(jwalden+bmo)
Attachment #582161 - Flags: review?(jwalden+bmo)
Attachment #582161 - Attachment is patch: true
Comment on attachment 582161 [details] [diff] [review]
rm cruft 3

Review of attachment 582161 [details] [diff] [review]:
-----------------------------------------------------------------

http://www.youtube.com/watch?v=mUP3A9imOYU

::: js/src/jsobj.h
@@ +1500,5 @@
>  
>  #define OBJ_BLOCK_COUNT(cx,obj)                                               \
>      (obj)->propertyCount()
>  #define OBJ_BLOCK_DEPTH(cx,obj)                                               \
> +    ((uint32)(obj)->getFixedSlot(JSSLOT_BLOCK_DEPTH).toInt32())

uint32_t, and a C++ cast.
Attachment #582161 - Flags: review?(jwalden+bmo) → review+
https://hg.mozilla.org/mozilla-central/rev/6ff43da616be
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.

Attachment

General

Created:
Updated:
Size: