Changeset 36480 in webkit for trunk/JavaScriptCore/VM/Opcode.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/Opcode.h

    r36463 r36480  
    8989        macro(op_resolve) \
    9090        macro(op_resolve_skip) \
     91        macro(op_resolve_global) \
    9192        macro(op_get_scoped_var) \
    9293        macro(op_put_scoped_var) \
Note: See TracChangeset for help on using the changeset viewer.