Closed Bug 654792 Opened 13 years ago Closed 13 years ago

TM: Give Shape::shape and Shape::id better names

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: cdleary, Assigned: cdleary)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Dumb identifier change patch, but got tired of looking at shape->shape. I liked jorendorff's suggestion of Shape::shapeid and Shape::propid.
Attachment #530105 - Flags: review?(jorendorff)
Comment on attachment 530105 [details] [diff] [review]
Change shape identifiers.

Review of attachment 530105 [details] [diff] [review]:

Nice. r=me.

::: js/src/jsgcmark.cpp
@@ +656,5 @@
 void
 MarkChildren(JSTracer *trc, const Shape *shape)
 {
 restart:
+    MarkId(trc, shape->propid, "id");

Here it would make sense to change the string "id" to "propid" too.
Attachment #530105 - Flags: review?(jorendorff) → review+
Status: ASSIGNED → 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: