Closed Bug 827234 Opened 13 years ago Closed 13 years ago

Move js::Swap to from js/src/jsutil.h to js/public/Utility.h

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: justin.lebar+bug, Unassigned)

References

Details

Attachments

(1 file)

js::Swap is currently defined in js/src/jsutil.h. But it's used by HashTable.h, which fails to compile if Swap is not defined. I have a patch to move Swap to js/public/Utility.h, which HashTable.h already includes. https://tbpl.mozilla.org/?tree=Try&rev=d70f27a5f320
Blocks: 826515
Attached patch Patch, v1Splinter Review
Attachment #698573 - Flags: review?(terrence)
Attachment #698573 - Flags: review?(terrence) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: