Closed Bug 584318 Opened 16 years ago Closed 16 years ago

Remove dead code in the Vector C++ classes

Categories

(Tamarin Graveyard :: Library, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lhansen, Assigned: lhansen)

References

Details

(Whiteboard: has-patch)

Attachments

(1 file)

Some methods are 64-bit specific; some methods are not used anywhere (some of them appear to be premature, others are probably desirable but unused optimizations).
Attached patch Patch — — Splinter Review
Removes code, #ifdefs code, changes nativegen.py to emit #ifdefs, changes to builtin.cpp. But a small patch overall.
Attachment #462736 - Flags: review?(edwsmith)
Whiteboard: has-patch
Attachment #462736 - Flags: review?(edwsmith) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
(In reply to comment #1) > Created attachment 462736 [details] [diff] [review] > Patch > > Removes code, #ifdefs code, changes nativegen.py to emit #ifdefs, changes to > builtin.cpp. But a small patch overall. Did this make all methods in SlotOffsetsAndAsserts private when DEBUG is not set? (Such a condition is apparently worth a warning, and that warning is promoted to an error on the android build I am attempting to get set up.) You may want to wrap getSlotOffset in a similar DEBUG guard... (yuck).
(In reply to comment #3) > (In reply to comment #1) > > Created attachment 462736 [details] [diff] [review] [details] > > Patch > > > > Removes code, #ifdefs code, changes nativegen.py to emit #ifdefs, changes to > > builtin.cpp. But a small patch overall. > > Did this make all methods in SlotOffsetsAndAsserts private when DEBUG is not > set? Not that I remember. I made some methods private unconditionally, though.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: