Ignore:
Timestamp:
Oct 14, 2013, 2:08:37 PM (12 years ago)
Author:
[email protected]
Message:

Separate out array iteration intrinsics
https://bugs.webkit.org/show_bug.cgi?id=122656

Reviewed by Michael Saboff.

Separate out the intrinsics for key and values iteration
of arrays.

This requires moving moving array iteration into the iterator
instance, rather than the prototype, but this is essentially
unobservable so we'll live with it for now.

  • jit/ThunkGenerators.cpp:

(JSC::arrayIteratorNextThunkGenerator):
(JSC::arrayIteratorNextKeyThunkGenerator):
(JSC::arrayIteratorNextValueThunkGenerator):

  • jit/ThunkGenerators.h:
  • runtime/ArrayIteratorPrototype.cpp:

(JSC::ArrayIteratorPrototype::finishCreation):

  • runtime/Intrinsic.h:
  • runtime/JSArrayIterator.cpp:

(JSC::JSArrayIterator::finishCreation):
(JSC::createIteratorResult):
(JSC::arrayIteratorNext):
(JSC::arrayIteratorNextKey):
(JSC::arrayIteratorNextValue):
(JSC::arrayIteratorNextGeneric):

  • runtime/VM.cpp:

(JSC::thunkGeneratorForIntrinsic):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r157413 r157420  
     12013-10-11  Oliver Hunt  <[email protected]>
     2
     3        Separate out array iteration intrinsics
     4        https://bugs.webkit.org/show_bug.cgi?id=122656
     5
     6        Reviewed by Michael Saboff.
     7
     8        Separate out the intrinsics for key and values iteration
     9        of arrays.
     10
     11        This requires moving moving array iteration into the iterator
     12        instance, rather than the prototype, but this is essentially
     13        unobservable so we'll live with it for now.
     14
     15        * jit/ThunkGenerators.cpp:
     16        (JSC::arrayIteratorNextThunkGenerator):
     17        (JSC::arrayIteratorNextKeyThunkGenerator):
     18        (JSC::arrayIteratorNextValueThunkGenerator):
     19        * jit/ThunkGenerators.h:
     20        * runtime/ArrayIteratorPrototype.cpp:
     21        (JSC::ArrayIteratorPrototype::finishCreation):
     22        * runtime/Intrinsic.h:
     23        * runtime/JSArrayIterator.cpp:
     24        (JSC::JSArrayIterator::finishCreation):
     25        (JSC::createIteratorResult):
     26        (JSC::arrayIteratorNext):
     27        (JSC::arrayIteratorNextKey):
     28        (JSC::arrayIteratorNextValue):
     29        (JSC::arrayIteratorNextGeneric):
     30        * runtime/VM.cpp:
     31        (JSC::thunkGeneratorForIntrinsic):
     32
    1332013-10-11  Mark Hahnenberg  <[email protected]>
    234
Note: See TracChangeset for help on using the changeset viewer.