Ignore:
Timestamp:
Oct 19, 2010, 4:55:08 PM (15 years ago)
Author:
[email protected]
Message:

2010-10-19 Oliver Hunt <[email protected]>

Reviewed by Geoffrey Garen.

Remove support for JSVALUE32 from JSC
https://bugs.webkit.org/show_bug.cgi?id=47948

Remove all the code for supporting JSVALUE32 from JSC.

  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_lshift): (JSC::JIT::emitSlow_op_lshift): (JSC::JIT::emit_op_rshift): (JSC::JIT::emitSlow_op_rshift): (JSC::JIT::emit_op_urshift): (JSC::JIT::emitSlow_op_urshift): (JSC::JIT::emit_op_jnless): (JSC::JIT::emitSlow_op_jnless): (JSC::JIT::emit_op_jless): (JSC::JIT::emitSlow_op_jless): (JSC::JIT::emit_op_jlesseq): (JSC::JIT::emitSlow_op_jlesseq): (JSC::JIT::emit_op_bitand): (JSC::JIT::emit_op_post_inc): (JSC::JIT::emit_op_post_dec): (JSC::JIT::emit_op_pre_inc): (JSC::JIT::emit_op_pre_dec): (JSC::JIT::emit_op_mod): (JSC::JIT::emitSlow_op_mod):
  • jit/JITCall.cpp:
  • jit/JITInlineMethods.h: (JSC::JIT::emitGetFromCallFrameHeaderPtr): (JSC::JIT::emitGetFromCallFrameHeader32):
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_loop_if_lesseq): (JSC::JIT::emit_op_bitnot): (JSC::JIT::emit_op_next_pname):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::emit_op_get_by_val): (JSC::JIT::emit_op_put_by_val):
  • jit/JITStubs.h:
  • jit/JSInterfaceJIT.h:
  • jit/SpecializedThunkJIT.h: (JSC::SpecializedThunkJIT::returnDouble): (JSC::SpecializedThunkJIT::tagReturnAsInt32):
  • jit/ThunkGenerators.cpp: (JSC::sqrtThunkGenerator): (JSC::powThunkGenerator):
  • runtime/Collector.cpp: (JSC::isPossibleCell): (JSC::typeName):
  • runtime/JSCell.h:
  • runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData):
  • runtime/JSGlobalData.h:
  • runtime/JSGlobalObject.h: (JSC::Structure::prototypeForLookup):
  • runtime/JSImmediate.h: (JSC::reinterpretIntptrToDouble): (JSC::JSImmediate::isIntegerNumber): (JSC::JSImmediate::isDouble): (JSC::JSImmediate::areBothImmediateIntegerNumbers): (JSC::JSImmediate::makeDouble): (JSC::JSImmediate::doubleValue): (JSC::JSImmediate::toBoolean): (JSC::JSImmediate::fromNumberOutsideIntegerRange): (JSC::JSImmediate::from): (JSC::JSImmediate::toDouble): (JSC::JSFastMath::rightShiftImmediateNumbers):
  • runtime/JSNumberCell.cpp:
  • runtime/JSNumberCell.h:
  • runtime/JSObject.h: (JSC::JSObject::JSObject):
  • runtime/JSValue.h:
  • runtime/NumberObject.h:
  • wtf/Platform.h:
File:
1 edited

Legend:

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

    r66150 r70111  
    2727
    2828#if ENABLE(JIT)
    29 #if !USE(JSVALUE32_64)
     29#if USE(JSVALUE64)
    3030#include "JIT.h"
    3131
     
    9090    emitGetVirtualRegisters(base, regT0, property, regT1);
    9191    emitJumpSlowCaseIfNotImmediateInteger(regT1);
    92 #if USE(JSVALUE64)
     92
    9393    // This is technically incorrect - we're zero-extending an int32.  On the hot path this doesn't matter.
    9494    // We check the value as if it was a uint32 against the m_vectorLength - which will always fail if
     
    9898    // extending since it makes it easier to re-tag the value in the slow case.
    9999    zeroExtend32ToPtr(regT1, regT1);
    100 #else
    101     emitFastArithImmToInt(regT1);
    102 #endif
     100
    103101    emitJumpSlowCaseIfNotJSCell(regT0, base);
    104102    addSlowCase(branchPtr(NotEqual, Address(regT0), ImmPtr(m_globalData->jsArrayVPtr)));
     
    205203    emitGetVirtualRegisters(base, regT0, property, regT1);
    206204    emitJumpSlowCaseIfNotImmediateInteger(regT1);
    207 #if USE(JSVALUE64)
    208205    // See comment in op_get_by_val.
    209206    zeroExtend32ToPtr(regT1, regT1);
    210 #else
    211     emitFastArithImmToInt(regT1);
    212 #endif
    213207    emitJumpSlowCaseIfNotJSCell(regT0, base);
    214208    addSlowCase(branchPtr(NotEqual, Address(regT0), ImmPtr(m_globalData->jsArrayVPtr)));
     
    11041098} // namespace JSC
    11051099
    1106 #endif // !USE(JSVALUE32_64)
     1100#endif // USE(JSVALUE64)
    11071101#endif // ENABLE(JIT)
Note: See TracChangeset for help on using the changeset viewer.