Changeset 67990 in webkit for trunk/JavaScriptCore/jit/JIT.cpp


Ignore:
Timestamp:
Sep 21, 2010, 4:19:53 PM (15 years ago)
Author:
[email protected]
Message:

2010-09-21 Oliver Hunt <[email protected]>

Reviewed by Geoffrey Garen.

Speed up function.apply(..., arguments)
https://bugs.webkit.org/show_bug.cgi?id=46207

Add code to do argument copying inline in the case
where we're using Function.apply to forward our arguments
directly.

  • jit/JIT.cpp: (JSC::JIT::privateCompileSlowCases):

Splitted op_load_varargs into fast and slow paths, so add the call
to the slow path generator.

  • jit/JIT.h:
  • jit/JITCall32_64.cpp: Remove 32bit specific emit_op_load_varargs as the logic is the same for all value representations
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_load_varargs): Copy arguments inline (JSC::JIT::emitSlow_op_load_varargs):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JIT.cpp

    r66150 r67990  
    409409        DEFINE_SLOWCASE_OP(op_jnlesseq)
    410410        DEFINE_SLOWCASE_OP(op_jtrue)
     411        DEFINE_SLOWCASE_OP(op_load_varargs)
    411412        DEFINE_SLOWCASE_OP(op_loop_if_less)
    412413        DEFINE_SLOWCASE_OP(op_loop_if_lesseq)
Note: See TracChangeset for help on using the changeset viewer.