Ignore:
Timestamp:
Jan 16, 2012, 12:42:50 AM (13 years ago)
Author:
[email protected]
Message:

Build fix on 32bit if verbose debug is enabled in DFG
https://bugs.webkit.org/show_bug.cgi?id=76351

Reviewed by Hajime Morita.

Mostly change "%lu" to "%zu" to print a "size_t" variable.

  • dfg/DFGAbstractState.cpp:

(JSC::DFG::AbstractState::endBasicBlock):

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::handleCall):
(JSC::DFG::ByteCodeParser::handleInlining):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::parseCodeBlock):

  • dfg/DFGGraph.cpp:

(JSC::DFG::Graph::predictArgumentTypes):

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::link):

  • dfg/DFGOSREntry.cpp:

(JSC::DFG::prepareOSREntry):

File:
1 edited

Legend:

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

    r104630 r105037  
    152152        for (size_t argument = 0; argument < block->variablesAtTail.numberOfArguments(); ++argument) {
    153153#if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE)
    154             printf("        Merging state for argument %lu.\n", argument);
     154            printf("        Merging state for argument %zu.\n", argument);
    155155#endif
    156156            changed |= mergeStateAtTail(block->valuesAtTail.argument(argument), m_variables.argument(argument), block->variablesAtTail.argument(argument));
     
    159159        for (size_t local = 0; local < block->variablesAtTail.numberOfLocals(); ++local) {
    160160#if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE)
    161             printf("        Merging state for local %lu.\n", local);
     161            printf("        Merging state for local %zu.\n", local);
    162162#endif
    163163            changed |= mergeStateAtTail(block->valuesAtTail.local(local), m_variables.local(local), block->variablesAtTail.local(local));
Note: See TracChangeset for help on using the changeset viewer.