Closed Bug 513594 Opened 15 years ago Closed 13 years ago

TM: put bitmaps into the allocator instead of using insSkip

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gal, Assigned: gal)

References

Details

Attachments

(2 files)

No description provided.
Attached patch patch (deleted) — Splinter Review
Assignee: general → gal
Attachment #397547 - Flags: review?(lw)
what's the motivation here?
Blocks: 513596
Using insSkip for this was gross hack dmandelin and I did because we didn't have a better way to store the regexp source string. Now we do. This patch removes the last use of insSkip from TM. Tamarin doesn't use insSkip at all, so we can rip it out of NJ, reducing the complexity of LIR walking and saving another 100 lines of code or so.
This overlaps significantly with bug 495734.
Comment on attachment 397547 [details] [diff] [review] patch Looks good to me, however, dmandelin wrote this part, so I might not be the best one to review.
Attachment #397547 - Flags: review?(lw) → review+
I forgot: perhaps you could use the assignment form of reference initialization to make + VMAllocator& alloc(*JS_TRACE_MONITOR(cx).reAllocator); easier for me to parse?
Attached file regexp unit test (deleted) —
Running this on the patched code causes an assertion in: #1 0x0818338d in nanojit::Assembler::pageValidate (this=0x9ccdf54) at ../nanojit/Assembler.cpp:212 #2 0x0818763e in nanojit::Assembler::gen (this=0x9ccdf54, reader=0xbfa8a204) at ../nanojit/Assembler.cpp:1314 #3 0x081878eb in nanojit::Assembler::assemble (this=0x9ccdf54, frag=0x9cd0b64) at ../nanojit/Assembler.cpp:677 #4 0x08191a52 in nanojit::compile (assm=0x9ccdf54, frag=0x9cd0b64, alloc=@0xb7b08008, labels=0x9cd0674) at ../nanojit/LIR.cpp:2040 #5 0x0811ba32 in RegExpNativeCompiler::compile (this=0xbfa8a3c0, cx=0x9cd0e48) at ../jsregexp.cpp:3122
Attachment #397547 - Flags: review+ → review-
Obsolete with the removal of tracejit.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: