Changeset 62464 in webkit for trunk/JavaScriptCore/interpreter


Ignore:
Timestamp:
Jul 4, 2010, 4:48:04 AM (15 years ago)
Author:
[email protected]
Message:

Build fix after r62456.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute): Be slightly more consistent in using uint32_t to prevent
warnings about comparisons between signed and unsigned types, and attempts to call an overload
of std::min that doesn't exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r62456 r62464  
    37053705            }
    37063706            ASSERT(!asFunction(callFrame->callee())->isHostFunction());
    3707             int32_t expectedParams = asFunction(callFrame->callee())->jsExecutable()->parameterCount();
    3708             int32_t inplaceArgs = min(argCount, expectedParams);
    3709             int32_t i = 0;
     3707            uint32_t expectedParams = asFunction(callFrame->callee())->jsExecutable()->parameterCount();
     3708            uint32_t inplaceArgs = min(argCount, expectedParams);
     3709            uint32_t i = 0;
    37103710            Register* argStore = callFrame->registers() + argsOffset;
    37113711
     
    37543754                }
    37553755                Register* argsBuffer = callFrame->registers() + argsOffset;
    3756                 for (int32_t i = 0; i < argCount; ++i) {
     3756                for (uint32_t i = 0; i < argCount; ++i) {
    37573757                    argsBuffer[i] = asObject(arguments)->get(callFrame, i);
    37583758                    CHECK_FOR_EXCEPTION();
Note: See TracChangeset for help on using the changeset viewer.