Ignore:
Timestamp:
Dec 10, 2008, 8:35:13 PM (16 years ago)
Author:
[email protected]
Message:

2008-12-10 Gavin Barraclough <[email protected]>

Reviewed by Geoff Garen.

Port more of the JIT to use the MacroAssembler interface.


Everything in the main pass, bar a few corner cases (operations with required
registers, or calling convention code). Slightly refactors array creation,
moving the offset calculation into the callFrame into C code (reducing code
planted).

Overall this appears to be a 1% win on v8-tests, due to the smaller immediates
being planted (in jfalse in particular).

  • interpreter/Interpreter.cpp: (JSC::Interpreter::cti_op_new_array):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
  • jit/JIT.h:
  • wrec/WRECGenerator.cpp: (JSC::WREC::Generator::generateEnter):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wrec/WRECGenerator.cpp

    r39130 r39197  
    7171#ifndef NDEBUG
    7272    // ASSERT that the output register is not null.
    73     Jump outputNotNull = jne32(output, Imm32(0));
     73    Jump outputNotNull = jnzPtr(output);
    7474    breakpoint();
    7575    outputNotNull.link(this);
Note: See TracChangeset for help on using the changeset viewer.