Ignore:
Timestamp:
Sep 11, 2013, 4:28:09 PM (12 years ago)
Author:
[email protected]
Message:

Rename DataFormatInteger to DataFormatInt32.

Rubber stamped by Mark Hahnenberg.

  • bytecode/DataFormat.h:

(JSC::dataFormatToString):
(JSC::needDataFormatConversion):
(JSC::isJSInt32):

  • bytecode/ValueRecovery.h:

(JSC::ValueRecovery::inGPR):
(JSC::ValueRecovery::displacedInJSStack):

  • dfg/DFGGenerationInfo.h:

(JSC::DFG::GenerationInfo::initInteger):
(JSC::DFG::GenerationInfo::isJSInt32):
(JSC::DFG::GenerationInfo::fillInteger):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::silentSavePlanForGPR):
(JSC::DFG::SpeculativeJIT::checkConsistency):
(JSC::DFG::SpeculativeJIT::checkGeneratedTypeForToInt32):
(JSC::DFG::SpeculativeJIT::compileValueToInt32):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::spill):
(JSC::DFG::SpeculativeJIT::integerResult):
(JSC::DFG::SpeculativeJIT::jsValueResult):
(JSC::DFG::SpeculativeJIT::isInteger):
(JSC::DFG::IntegerOperand::format):
(JSC::DFG::SpeculateInt32Operand::format):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::fillInteger):
(JSC::DFG::SpeculativeJIT::fillJSValue):
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateIntStrict):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::fillInteger):
(JSC::DFG::SpeculativeJIT::fillJSValue):
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateIntStrict):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGValueSource.h:

(JSC::DFG::dataFormatToValueSourceKind):
(JSC::DFG::valueSourceKindToDataFormat):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r155564 r155575  
    332332#if USE(JSVALUE64)
    333333        ASSERT(info.gpr() == source);
    334         if (registerFormat == DataFormatInteger)
     334        if (registerFormat == DataFormatInt32)
    335335            spillAction = Store32Payload;
    336336        else if (registerFormat == DataFormatCell || registerFormat == DataFormatStorage)
     
    351351    }
    352352       
    353     if (registerFormat == DataFormatInteger) {
     353    if (registerFormat == DataFormatInt32) {
    354354        ASSERT(info.gpr() == source);
    355         ASSERT(isJSInteger(info.registerFormat()));
     355        ASSERT(isJSInt32(info.registerFormat()));
    356356        if (node->hasConstant()) {
    357357            ASSERT(isInt32Constant(node));
     
    396396            else
    397397                fillAction = SetJSConstant;
    398         } else if (info.spillFormat() == DataFormatInteger) {
    399             ASSERT(registerFormat == DataFormatJSInteger);
     398        } else if (info.spillFormat() == DataFormatInt32) {
     399            ASSERT(registerFormat == DataFormatJSInt32);
    400400            fillAction = Load32PayloadBoxInt;
    401401        } else if (info.spillFormat() == DataFormatDouble) {
     
    412412        else { // Fill the Tag
    413413            switch (info.spillFormat()) {
    414             case DataFormatInteger:
    415                 ASSERT(registerFormat == DataFormatJSInteger);
     414            case DataFormatInt32:
     415                ASSERT(registerFormat == DataFormatJSInt32);
    416416                fillAction = SetInt32Tag;
    417417                break;
     
    10841084            break;
    10851085        case DataFormatJS:
    1086         case DataFormatJSInteger:
     1086        case DataFormatJSInt32:
    10871087        case DataFormatJSDouble:
    10881088        case DataFormatJSCell:
     
    10911091            break;
    10921092#endif
    1093         case DataFormatInteger:
     1093        case DataFormatInt32:
    10941094        case DataFormatCell:
    10951095        case DataFormatBoolean:
     
    22192219        return GeneratedOperandJSValue;
    22202220
    2221     case DataFormatJSInteger:
    2222     case DataFormatInteger:
     2221    case DataFormatJSInt32:
     2222    case DataFormatInt32:
    22232223        return GeneratedOperandInteger;
    22242224
     
    23252325            JITCompiler::JumpList converted;
    23262326
    2327             if (info.registerFormat() == DataFormatJSInteger)
     2327            if (info.registerFormat() == DataFormatJSInt32)
    23282328                m_jit.move(payloadGPR, resultGpr);
    23292329            else {
Note: See TracChangeset for help on using the changeset viewer.