Changeset 37991 in webkit for trunk/JavaScriptCore/VM/Machine.h


Ignore:
Timestamp:
Oct 29, 2008, 9:33:21 PM (17 years ago)
Author:
[email protected]
Message:

Initial work to reduce cost of JSNumberCell allocation

Reviewed by Geoffrey Garen

This does the initial work needed to bring more of number
allocation into CTI code directly, rather than just falling
back onto the slow paths if we can't guarantee that a number
cell can be reused.

Initial implementation only used by op_negate to make sure
it all works. In a negate heavy (though not dominated) test
it results in a 10% win in the non-reusable cell case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/Machine.h

    r37891 r37991  
    260260        static void SFX_CALL cti_op_debug(CTI_ARGS);
    261261
     262        static JSValue* SFX_CALL cti_allocate_number(CTI_ARGS);
     263
    262264        static JSValue* SFX_CALL cti_vm_throw(CTI_ARGS);
    263265        static void* SFX_CALL cti_vm_compile(CTI_ARGS);
Note: See TracChangeset for help on using the changeset viewer.