See the bug 621032 comment 1 for reasoning.
Moving cachedNativeIterators into the compartment also allowed to embed the cache pointer directly into method jit generated code fixing TODO in the Compiler.cpp.
Assignee: general → igor
Status: NEW → ASSIGNED
Attachment #499734 - Flags: review?(wmccloskey)
Attachment #499734 - Flags: review?(wmccloskey) → review+
In v1 I forgot to move various constants related to the native iterator cache into jscompartment.h. To make sure that nothing is forgotten in v2 I wrapped the cache defs into separated class. But that requires a separated review.
Attachment #500224 - Flags: review?(wmccloskey) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.