Closed Bug 943989 Opened 11 years ago Closed 11 years ago

Incorrect generation guard done in GenerateDOMProxyChecks in the baseline compiler

Categories

(Core :: JavaScript Engine: JIT, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

masm.branch32(Assembler::NotEqual, Address(tempVal.scratchReg(), offsetof(ExpandoAndGeneration, expando)), scratch, &failDOMProxyCheck); Note the offsetof call. Should be "generation", not "expando".
Blocks: 922071
Component: JavaScript Engine → JavaScript Engine: JIT
Attachment #8339481 - Flags: review?(efaustbmo)
Attachment #8339445 - Attachment is obsolete: true
Attachment #8339445 - Flags: review?(efaustbmo)
Comment on attachment 8339481 [details] [diff] [review] Let's have it actually compile Review of attachment 8339481 [details] [diff] [review]: ----------------------------------------------------------------- There is standing precedent to do this as ExpandoAndGeneration::offsetOf{Expando,Generation} and let them be inlined. r=me. Thanks for the cleanup.
Attachment #8339481 - Flags: review?(efaustbmo) → review+
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla28
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 940815
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: