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


Ignore:
Timestamp:
Sep 15, 2008, 10:53:15 PM (17 years ago)
Author:
[email protected]
Message:

Bug 20874: op_resolve does not do any form of caching
<https://bugs.webkit.org/show_bug.cgi?id=20874>

Reviewed by Cameron Zwarich

This patch adds an op_resolve_global opcode to handle (and cache)
property lookup we can statically determine must occur on the global
object (if at all).

3% progression on sunspider, 3.2x improvement to bitops-bitwise-and, and
10% in math-partial-sums

File:
1 edited

Legend:

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

    r36475 r36480  
    164164        static JSValue* SFX_CALL cti_op_new_array(CTI_ARGS);
    165165        static JSValue* SFX_CALL cti_op_resolve(CTI_ARGS);
     166        static JSValue* SFX_CALL cti_op_resolve_global(CTI_ARGS);
    166167        static void* SFX_CALL cti_op_construct_JSConstruct(CTI_ARGS);
    167168        static JSValue* SFX_CALL cti_op_construct_NotJSConstruct(CTI_ARGS);
Note: See TracChangeset for help on using the changeset viewer.