Ignore:
Timestamp:
May 1, 2009, 3:43:39 PM (16 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2009-05-01 Geoffrey Garen <[email protected]>

Rubber Stamped by Sam Weinig.


Renamed JSValuePtr => JSValue.

  • API/APICast.h: (toJS): (toRef):
  • API/JSCallbackConstructor.h: (JSC::JSCallbackConstructor::createStructure):
  • API/JSCallbackFunction.cpp: (JSC::JSCallbackFunction::call):
  • API/JSCallbackFunction.h: (JSC::JSCallbackFunction::createStructure):
  • API/JSCallbackObject.h: (JSC::JSCallbackObject::createStructure):
  • API/JSCallbackObjectFunctions.h: (JSC::::asCallbackObject): (JSC::::put): (JSC::::hasInstance): (JSC::::call): (JSC::::staticValueGetter): (JSC::::staticFunctionGetter): (JSC::::callbackGetter):
  • API/JSContextRef.cpp:
  • API/JSObjectRef.cpp: (JSObjectMakeConstructor): (JSObjectSetPrototype): (JSObjectGetProperty): (JSObjectSetProperty): (JSObjectGetPropertyAtIndex): (JSObjectSetPropertyAtIndex):
  • API/JSValueRef.cpp: (JSValueGetType): (JSValueIsUndefined): (JSValueIsNull): (JSValueIsBoolean): (JSValueIsNumber): (JSValueIsString): (JSValueIsObject): (JSValueIsObjectOfClass): (JSValueIsEqual): (JSValueIsStrictEqual): (JSValueIsInstanceOfConstructor): (JSValueToBoolean): (JSValueToNumber): (JSValueToStringCopy): (JSValueToObject): (JSValueProtect): (JSValueUnprotect):
  • JavaScriptCore.exp:
  • bytecode/CodeBlock.cpp: (JSC::valueToSourceString): (JSC::constantName): (JSC::CodeBlock::dump):
  • bytecode/CodeBlock.h: (JSC::CodeBlock::getConstant): (JSC::CodeBlock::addUnexpectedConstant): (JSC::CodeBlock::unexpectedConstant):
  • bytecode/EvalCodeCache.h: (JSC::EvalCodeCache::get):
  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::addConstant): (JSC::BytecodeGenerator::addUnexpectedConstant): (JSC::BytecodeGenerator::emitLoad): (JSC::BytecodeGenerator::emitGetScopedVar): (JSC::BytecodeGenerator::emitPutScopedVar): (JSC::BytecodeGenerator::emitNewError): (JSC::keyForImmediateSwitch):
  • bytecompiler/BytecodeGenerator.h: (JSC::BytecodeGenerator::JSValueHashTraits::constructDeletedValue): (JSC::BytecodeGenerator::JSValueHashTraits::isDeletedValue):
  • debugger/Debugger.cpp: (JSC::evaluateInGlobalCallFrame):
  • debugger/Debugger.h:
  • debugger/DebuggerActivation.cpp: (JSC::DebuggerActivation::put): (JSC::DebuggerActivation::putWithAttributes): (JSC::DebuggerActivation::lookupGetter): (JSC::DebuggerActivation::lookupSetter):
  • debugger/DebuggerActivation.h: (JSC::DebuggerActivation::createStructure):
  • debugger/DebuggerCallFrame.cpp: (JSC::DebuggerCallFrame::evaluate):
  • debugger/DebuggerCallFrame.h: (JSC::DebuggerCallFrame::DebuggerCallFrame): (JSC::DebuggerCallFrame::exception):
  • interpreter/CachedCall.h: (JSC::CachedCall::CachedCall): (JSC::CachedCall::call): (JSC::CachedCall::setThis): (JSC::CachedCall::setArgument):
  • interpreter/CallFrame.cpp: (JSC::CallFrame::thisValue): (JSC::CallFrame::dumpCaller):
  • interpreter/CallFrame.h: (JSC::ExecState::setException): (JSC::ExecState::exception): (JSC::ExecState::exceptionSlot):
  • interpreter/CallFrameClosure.h: (JSC::CallFrameClosure::setArgument):
  • interpreter/Interpreter.cpp: (JSC::Interpreter::resolve): (JSC::Interpreter::resolveSkip): (JSC::Interpreter::resolveGlobal): (JSC::Interpreter::resolveBase): (JSC::Interpreter::resolveBaseAndProperty): (JSC::Interpreter::resolveBaseAndFunc): (JSC::isNotObject): (JSC::Interpreter::callEval): (JSC::Interpreter::unwindCallFrame): (JSC::Interpreter::throwException): (JSC::Interpreter::execute): (JSC::Interpreter::prepareForRepeatCall): (JSC::Interpreter::createExceptionScope): (JSC::Interpreter::tryCachePutByID): (JSC::Interpreter::tryCacheGetByID): (JSC::Interpreter::privateExecute): (JSC::Interpreter::retrieveArguments): (JSC::Interpreter::retrieveCaller): (JSC::Interpreter::retrieveLastCaller):
  • interpreter/Interpreter.h:
  • interpreter/Register.h: (JSC::Register::): (JSC::Register::Register): (JSC::Register::jsValue):
  • jit/JIT.cpp: (JSC::): (JSC::JIT::privateCompileMainPass):
  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::compileFastArith_op_mod):
  • jit/JITCall.cpp: (JSC::JIT::unlinkCall): (JSC::JIT::compileOpCallInitializeCallFrame): (JSC::JIT::compileOpCall):
  • jit/JITCode.h: (JSC::): (JSC::JITCode::execute):
  • jit/JITInlineMethods.h: (JSC::JIT::emitGetVirtualRegister): (JSC::JIT::getConstantOperand): (JSC::JIT::emitPutJITStubArgFromVirtualRegister): (JSC::JIT::emitInitRegister):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompilePutByIdTransition): (JSC::JIT::patchGetByIdSelf): (JSC::JIT::patchPutByIdReplace): (JSC::JIT::privateCompileGetByIdSelf): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain): (JSC::JIT::privateCompilePutByIdReplace):
  • jit/JITStubs.cpp: (JSC::JITStubs::tryCachePutByID): (JSC::JITStubs::tryCacheGetByID): (JSC::JITStubs::cti_op_convert_this): (JSC::JITStubs::cti_op_add): (JSC::JITStubs::cti_op_pre_inc): (JSC::JITStubs::cti_op_loop_if_less): (JSC::JITStubs::cti_op_loop_if_lesseq): (JSC::JITStubs::cti_op_get_by_id_generic): (JSC::JITStubs::cti_op_get_by_id): (JSC::JITStubs::cti_op_get_by_id_second): (JSC::JITStubs::cti_op_get_by_id_self_fail): (JSC::JITStubs::cti_op_get_by_id_proto_list): (JSC::JITStubs::cti_op_get_by_id_proto_list_full): (JSC::JITStubs::cti_op_get_by_id_proto_fail): (JSC::JITStubs::cti_op_get_by_id_array_fail): (JSC::JITStubs::cti_op_get_by_id_string_fail): (JSC::JITStubs::cti_op_instanceof): (JSC::JITStubs::cti_op_del_by_id): (JSC::JITStubs::cti_op_mul): (JSC::JITStubs::cti_op_call_NotJSFunction): (JSC::JITStubs::cti_op_resolve): (JSC::JITStubs::cti_op_construct_NotJSConstruct): (JSC::JITStubs::cti_op_get_by_val): (JSC::JITStubs::cti_op_get_by_val_string): (JSC::JITStubs::cti_op_get_by_val_byte_array): (JSC::JITStubs::cti_op_resolve_func): (JSC::JITStubs::cti_op_sub): (JSC::JITStubs::cti_op_put_by_val): (JSC::JITStubs::cti_op_put_by_val_array): (JSC::JITStubs::cti_op_put_by_val_byte_array): (JSC::JITStubs::cti_op_lesseq): (JSC::JITStubs::cti_op_loop_if_true): (JSC::JITStubs::cti_op_load_varargs): (JSC::JITStubs::cti_op_negate): (JSC::JITStubs::cti_op_resolve_base): (JSC::JITStubs::cti_op_resolve_skip): (JSC::JITStubs::cti_op_resolve_global): (JSC::JITStubs::cti_op_div): (JSC::JITStubs::cti_op_pre_dec): (JSC::JITStubs::cti_op_jless): (JSC::JITStubs::cti_op_not): (JSC::JITStubs::cti_op_jtrue): (JSC::JITStubs::cti_op_post_inc): (JSC::JITStubs::cti_op_eq): (JSC::JITStubs::cti_op_lshift): (JSC::JITStubs::cti_op_bitand): (JSC::JITStubs::cti_op_rshift): (JSC::JITStubs::cti_op_bitnot): (JSC::JITStubs::cti_op_resolve_with_base): (JSC::JITStubs::cti_op_mod): (JSC::JITStubs::cti_op_less): (JSC::JITStubs::cti_op_neq): (JSC::JITStubs::cti_op_post_dec): (JSC::JITStubs::cti_op_urshift): (JSC::JITStubs::cti_op_bitxor): (JSC::JITStubs::cti_op_bitor): (JSC::JITStubs::cti_op_call_eval): (JSC::JITStubs::cti_op_throw): (JSC::JITStubs::cti_op_next_pname): (JSC::JITStubs::cti_op_typeof): (JSC::JITStubs::cti_op_is_undefined): (JSC::JITStubs::cti_op_is_boolean): (JSC::JITStubs::cti_op_is_number): (JSC::JITStubs::cti_op_is_string): (JSC::JITStubs::cti_op_is_object): (JSC::JITStubs::cti_op_is_function): (JSC::JITStubs::cti_op_stricteq): (JSC::JITStubs::cti_op_nstricteq): (JSC::JITStubs::cti_op_to_jsnumber): (JSC::JITStubs::cti_op_in): (JSC::JITStubs::cti_op_switch_imm): (JSC::JITStubs::cti_op_switch_char): (JSC::JITStubs::cti_op_switch_string): (JSC::JITStubs::cti_op_del_by_val): (JSC::JITStubs::cti_op_new_error): (JSC::JITStubs::cti_vm_throw):
  • jit/JITStubs.h:
  • jsc.cpp: (functionPrint): (functionDebug): (functionGC): (functionVersion): (functionRun): (functionLoad): (functionSetSamplingFlag): (functionClearSamplingFlag): (functionReadline): (functionQuit):
  • parser/Nodes.cpp: (JSC::processClauseList):
  • profiler/ProfileGenerator.cpp: (JSC::ProfileGenerator::addParentForConsoleStart):
  • profiler/Profiler.cpp: (JSC::Profiler::willExecute): (JSC::Profiler::didExecute): (JSC::Profiler::createCallIdentifier):
  • profiler/Profiler.h:
  • runtime/ArgList.cpp: (JSC::MarkedArgumentBuffer::slowAppend):
  • runtime/ArgList.h: (JSC::MarkedArgumentBuffer::at): (JSC::MarkedArgumentBuffer::append): (JSC::ArgList::ArgList): (JSC::ArgList::at):
  • runtime/Arguments.cpp: (JSC::Arguments::put):
  • runtime/Arguments.h: (JSC::Arguments::createStructure): (JSC::asArguments):
  • runtime/ArrayConstructor.cpp: (JSC::callArrayConstructor):
  • runtime/ArrayPrototype.cpp: (JSC::getProperty): (JSC::putProperty): (JSC::arrayProtoFuncToString): (JSC::arrayProtoFuncToLocaleString): (JSC::arrayProtoFuncJoin): (JSC::arrayProtoFuncConcat): (JSC::arrayProtoFuncPop): (JSC::arrayProtoFuncPush): (JSC::arrayProtoFuncReverse): (JSC::arrayProtoFuncShift): (JSC::arrayProtoFuncSlice): (JSC::arrayProtoFuncSort): (JSC::arrayProtoFuncSplice): (JSC::arrayProtoFuncUnShift): (JSC::arrayProtoFuncFilter): (JSC::arrayProtoFuncMap): (JSC::arrayProtoFuncEvery): (JSC::arrayProtoFuncForEach): (JSC::arrayProtoFuncSome): (JSC::arrayProtoFuncReduce): (JSC::arrayProtoFuncReduceRight): (JSC::arrayProtoFuncIndexOf): (JSC::arrayProtoFuncLastIndexOf):
  • runtime/BooleanConstructor.cpp: (JSC::callBooleanConstructor): (JSC::constructBooleanFromImmediateBoolean):
  • runtime/BooleanConstructor.h:
  • runtime/BooleanObject.h: (JSC::asBooleanObject):
  • runtime/BooleanPrototype.cpp: (JSC::booleanProtoFuncToString): (JSC::booleanProtoFuncValueOf):
  • runtime/CallData.cpp: (JSC::call):
  • runtime/CallData.h:
  • runtime/Collector.cpp: (JSC::Heap::protect): (JSC::Heap::unprotect): (JSC::Heap::heap):
  • runtime/Collector.h:
  • runtime/Completion.cpp: (JSC::evaluate):
  • runtime/Completion.h: (JSC::Completion::Completion): (JSC::Completion::value): (JSC::Completion::setValue):
  • runtime/ConstructData.cpp: (JSC::construct):
  • runtime/ConstructData.h:
  • runtime/DateConstructor.cpp: (JSC::constructDate): (JSC::callDate): (JSC::dateParse): (JSC::dateNow): (JSC::dateUTC):
  • runtime/DateInstance.h: (JSC::asDateInstance):
  • runtime/DatePrototype.cpp: (JSC::dateProtoFuncToString): (JSC::dateProtoFuncToUTCString): (JSC::dateProtoFuncToDateString): (JSC::dateProtoFuncToTimeString): (JSC::dateProtoFuncToLocaleString): (JSC::dateProtoFuncToLocaleDateString): (JSC::dateProtoFuncToLocaleTimeString): (JSC::dateProtoFuncGetTime): (JSC::dateProtoFuncGetFullYear): (JSC::dateProtoFuncGetUTCFullYear): (JSC::dateProtoFuncToGMTString): (JSC::dateProtoFuncGetMonth): (JSC::dateProtoFuncGetUTCMonth): (JSC::dateProtoFuncGetDate): (JSC::dateProtoFuncGetUTCDate): (JSC::dateProtoFuncGetDay): (JSC::dateProtoFuncGetUTCDay): (JSC::dateProtoFuncGetHours): (JSC::dateProtoFuncGetUTCHours): (JSC::dateProtoFuncGetMinutes): (JSC::dateProtoFuncGetUTCMinutes): (JSC::dateProtoFuncGetSeconds): (JSC::dateProtoFuncGetUTCSeconds): (JSC::dateProtoFuncGetMilliSeconds): (JSC::dateProtoFuncGetUTCMilliseconds): (JSC::dateProtoFuncGetTimezoneOffset): (JSC::dateProtoFuncSetTime): (JSC::setNewValueFromTimeArgs): (JSC::setNewValueFromDateArgs): (JSC::dateProtoFuncSetMilliSeconds): (JSC::dateProtoFuncSetUTCMilliseconds): (JSC::dateProtoFuncSetSeconds): (JSC::dateProtoFuncSetUTCSeconds): (JSC::dateProtoFuncSetMinutes): (JSC::dateProtoFuncSetUTCMinutes): (JSC::dateProtoFuncSetHours): (JSC::dateProtoFuncSetUTCHours): (JSC::dateProtoFuncSetDate): (JSC::dateProtoFuncSetUTCDate): (JSC::dateProtoFuncSetMonth): (JSC::dateProtoFuncSetUTCMonth): (JSC::dateProtoFuncSetFullYear): (JSC::dateProtoFuncSetUTCFullYear): (JSC::dateProtoFuncSetYear): (JSC::dateProtoFuncGetYear):
  • runtime/DatePrototype.h: (JSC::DatePrototype::createStructure):
  • runtime/ErrorConstructor.cpp: (JSC::callErrorConstructor):
  • runtime/ErrorPrototype.cpp: (JSC::errorProtoFuncToString):
  • runtime/ExceptionHelpers.cpp: (JSC::createInterruptedExecutionException): (JSC::createError): (JSC::createStackOverflowError): (JSC::createUndefinedVariableError): (JSC::createErrorMessage): (JSC::createInvalidParamError): (JSC::createNotAConstructorError): (JSC::createNotAFunctionError):
  • runtime/ExceptionHelpers.h:
  • runtime/FunctionConstructor.cpp: (JSC::callFunctionConstructor):
  • runtime/FunctionPrototype.cpp: (JSC::callFunctionPrototype): (JSC::functionProtoFuncToString): (JSC::functionProtoFuncApply): (JSC::functionProtoFuncCall):
  • runtime/FunctionPrototype.h: (JSC::FunctionPrototype::createStructure):
  • runtime/GetterSetter.cpp: (JSC::GetterSetter::toPrimitive): (JSC::GetterSetter::getPrimitiveNumber):
  • runtime/GetterSetter.h: (JSC::asGetterSetter):
  • runtime/InternalFunction.cpp: (JSC::InternalFunction::displayName):
  • runtime/InternalFunction.h: (JSC::InternalFunction::createStructure): (JSC::asInternalFunction):
  • runtime/JSActivation.cpp: (JSC::JSActivation::getOwnPropertySlot): (JSC::JSActivation::put): (JSC::JSActivation::putWithAttributes): (JSC::JSActivation::argumentsGetter):
  • runtime/JSActivation.h: (JSC::JSActivation::createStructure): (JSC::asActivation):
  • runtime/JSArray.cpp: (JSC::storageSize): (JSC::JSArray::JSArray): (JSC::JSArray::getOwnPropertySlot): (JSC::JSArray::put): (JSC::JSArray::putSlowCase): (JSC::JSArray::deleteProperty): (JSC::JSArray::setLength): (JSC::JSArray::pop): (JSC::JSArray::push): (JSC::JSArray::mark): (JSC::compareNumbersForQSort): (JSC::JSArray::sortNumeric): (JSC::JSArray::sort): (JSC::JSArray::compactForSorting): (JSC::JSArray::checkConsistency): (JSC::constructArray):
  • runtime/JSArray.h: (JSC::JSArray::getIndex): (JSC::JSArray::setIndex): (JSC::JSArray::createStructure): (JSC::asArray): (JSC::isJSArray):
  • runtime/JSByteArray.cpp: (JSC::JSByteArray::createStructure): (JSC::JSByteArray::put):
  • runtime/JSByteArray.h: (JSC::JSByteArray::getIndex): (JSC::JSByteArray::setIndex): (JSC::asByteArray): (JSC::isJSByteArray):
  • runtime/JSCell.cpp: (JSC::JSCell::put): (JSC::JSCell::getJSNumber):
  • runtime/JSCell.h: (JSC::asCell): (JSC::JSValue::asCell): (JSC::JSValue::isString): (JSC::JSValue::isGetterSetter): (JSC::JSValue::isObject): (JSC::JSValue::getString): (JSC::JSValue::getObject): (JSC::JSValue::getCallData): (JSC::JSValue::getConstructData): (JSC::JSValue::getUInt32): (JSC::JSValue::getTruncatedInt32): (JSC::JSValue::getTruncatedUInt32): (JSC::JSValue::mark): (JSC::JSValue::marked): (JSC::JSValue::toPrimitive): (JSC::JSValue::getPrimitiveNumber): (JSC::JSValue::toBoolean): (JSC::JSValue::toNumber): (JSC::JSValue::toString): (JSC::JSValue::toObject): (JSC::JSValue::toThisObject): (JSC::JSValue::needsThisConversion): (JSC::JSValue::toThisString): (JSC::JSValue::getJSNumber):
  • runtime/JSFunction.cpp: (JSC::JSFunction::call): (JSC::JSFunction::argumentsGetter): (JSC::JSFunction::callerGetter): (JSC::JSFunction::lengthGetter): (JSC::JSFunction::getOwnPropertySlot): (JSC::JSFunction::put): (JSC::JSFunction::construct):
  • runtime/JSFunction.h: (JSC::JSFunction::createStructure): (JSC::asFunction):
  • runtime/JSGlobalData.h:
  • runtime/JSGlobalObject.cpp: (JSC::markIfNeeded): (JSC::JSGlobalObject::put): (JSC::JSGlobalObject::putWithAttributes): (JSC::JSGlobalObject::reset): (JSC::JSGlobalObject::resetPrototype):
  • runtime/JSGlobalObject.h: (JSC::JSGlobalObject::createStructure): (JSC::JSGlobalObject::GlobalPropertyInfo::GlobalPropertyInfo): (JSC::asGlobalObject): (JSC::Structure::prototypeForLookup): (JSC::Structure::prototypeChain): (JSC::Structure::isValid):
  • runtime/JSGlobalObjectFunctions.cpp: (JSC::encode): (JSC::decode): (JSC::globalFuncEval): (JSC::globalFuncParseInt): (JSC::globalFuncParseFloat): (JSC::globalFuncIsNaN): (JSC::globalFuncIsFinite): (JSC::globalFuncDecodeURI): (JSC::globalFuncDecodeURIComponent): (JSC::globalFuncEncodeURI): (JSC::globalFuncEncodeURIComponent): (JSC::globalFuncEscape): (JSC::globalFuncUnescape): (JSC::globalFuncJSCPrint):
  • runtime/JSGlobalObjectFunctions.h:
  • runtime/JSImmediate.cpp: (JSC::JSImmediate::toThisObject): (JSC::JSImmediate::toObject): (JSC::JSImmediate::prototype): (JSC::JSImmediate::toString):
  • runtime/JSImmediate.h: (JSC::JSImmediate::isImmediate): (JSC::JSImmediate::isNumber): (JSC::JSImmediate::isIntegerNumber): (JSC::JSImmediate::isDoubleNumber): (JSC::JSImmediate::isPositiveIntegerNumber): (JSC::JSImmediate::isBoolean): (JSC::JSImmediate::isUndefinedOrNull): (JSC::JSImmediate::isEitherImmediate): (JSC::JSImmediate::areBothImmediate): (JSC::JSImmediate::areBothImmediateIntegerNumbers): (JSC::JSImmediate::makeValue): (JSC::JSImmediate::makeInt): (JSC::JSImmediate::makeDouble): (JSC::JSImmediate::makeBool): (JSC::JSImmediate::makeUndefined): (JSC::JSImmediate::makeNull): (JSC::JSImmediate::doubleValue): (JSC::JSImmediate::intValue): (JSC::JSImmediate::uintValue): (JSC::JSImmediate::boolValue): (JSC::JSImmediate::rawValue): (JSC::JSImmediate::trueImmediate): (JSC::JSImmediate::falseImmediate): (JSC::JSImmediate::undefinedImmediate): (JSC::JSImmediate::nullImmediate): (JSC::JSImmediate::zeroImmediate): (JSC::JSImmediate::oneImmediate): (JSC::JSImmediate::impossibleValue): (JSC::JSImmediate::toBoolean): (JSC::JSImmediate::getTruncatedUInt32): (JSC::JSImmediate::fromNumberOutsideIntegerRange): (JSC::JSImmediate::from): (JSC::JSImmediate::getTruncatedInt32): (JSC::JSImmediate::toDouble): (JSC::JSImmediate::getUInt32): (JSC::JSValue::JSValue): (JSC::JSValue::isUndefinedOrNull): (JSC::JSValue::isBoolean): (JSC::JSValue::getBoolean): (JSC::JSValue::toInt32): (JSC::JSValue::toUInt32): (JSC::JSValue::isCell): (JSC::JSValue::isInt32Fast): (JSC::JSValue::getInt32Fast): (JSC::JSValue::isUInt32Fast): (JSC::JSValue::getUInt32Fast): (JSC::JSValue::makeInt32Fast): (JSC::JSValue::areBothInt32Fast): (JSC::JSFastMath::canDoFastBitwiseOperations): (JSC::JSFastMath::equal): (JSC::JSFastMath::notEqual): (JSC::JSFastMath::andImmediateNumbers): (JSC::JSFastMath::xorImmediateNumbers): (JSC::JSFastMath::orImmediateNumbers): (JSC::JSFastMath::canDoFastRshift): (JSC::JSFastMath::canDoFastUrshift): (JSC::JSFastMath::rightShiftImmediateNumbers): (JSC::JSFastMath::canDoFastAdditiveOperations): (JSC::JSFastMath::addImmediateNumbers): (JSC::JSFastMath::subImmediateNumbers): (JSC::JSFastMath::incImmediateNumber): (JSC::JSFastMath::decImmediateNumber):
  • runtime/JSNotAnObject.cpp: (JSC::JSNotAnObject::toPrimitive): (JSC::JSNotAnObject::getPrimitiveNumber): (JSC::JSNotAnObject::put):
  • runtime/JSNotAnObject.h: (JSC::JSNotAnObject::createStructure):
  • runtime/JSNumberCell.cpp: (JSC::JSNumberCell::toPrimitive): (JSC::JSNumberCell::getPrimitiveNumber): (JSC::JSNumberCell::getJSNumber): (JSC::jsNumberCell):
  • runtime/JSNumberCell.h: (JSC::JSNumberCell::createStructure): (JSC::isNumberCell): (JSC::asNumberCell): (JSC::jsNumber): (JSC::JSValue::isDoubleNumber): (JSC::JSValue::getDoubleNumber): (JSC::JSValue::isNumber): (JSC::JSValue::uncheckedGetNumber): (JSC::jsNaN): (JSC::JSValue::toJSNumber): (JSC::JSValue::getNumber): (JSC::JSValue::numberToInt32): (JSC::JSValue::numberToUInt32):
  • runtime/JSObject.cpp: (JSC::JSObject::mark): (JSC::JSObject::put): (JSC::JSObject::putWithAttributes): (JSC::callDefaultValueFunction): (JSC::JSObject::getPrimitiveNumber): (JSC::JSObject::defaultValue): (JSC::JSObject::defineGetter): (JSC::JSObject::defineSetter): (JSC::JSObject::lookupGetter): (JSC::JSObject::lookupSetter): (JSC::JSObject::hasInstance): (JSC::JSObject::toNumber): (JSC::JSObject::toString): (JSC::JSObject::fillGetterPropertySlot):
  • runtime/JSObject.h: (JSC::JSObject::getDirect): (JSC::JSObject::getDirectLocation): (JSC::JSObject::offsetForLocation): (JSC::JSObject::locationForOffset): (JSC::JSObject::getDirectOffset): (JSC::JSObject::putDirectOffset): (JSC::JSObject::createStructure): (JSC::asObject): (JSC::JSObject::prototype): (JSC::JSObject::setPrototype): (JSC::JSValue::isObject): (JSC::JSObject::inlineGetOwnPropertySlot): (JSC::JSObject::getOwnPropertySlotForWrite): (JSC::JSObject::getPropertySlot): (JSC::JSObject::get): (JSC::JSObject::putDirect): (JSC::JSObject::putDirectWithoutTransition): (JSC::JSObject::toPrimitive): (JSC::JSValue::get): (JSC::JSValue::put): (JSC::JSObject::allocatePropertyStorageInline):
  • runtime/JSPropertyNameIterator.cpp: (JSC::JSPropertyNameIterator::toPrimitive): (JSC::JSPropertyNameIterator::getPrimitiveNumber):
  • runtime/JSPropertyNameIterator.h: (JSC::JSPropertyNameIterator::create): (JSC::JSPropertyNameIterator::next):
  • runtime/JSStaticScopeObject.cpp: (JSC::JSStaticScopeObject::put): (JSC::JSStaticScopeObject::putWithAttributes):
  • runtime/JSStaticScopeObject.h: (JSC::JSStaticScopeObject::JSStaticScopeObject): (JSC::JSStaticScopeObject::createStructure):
  • runtime/JSString.cpp: (JSC::JSString::toPrimitive): (JSC::JSString::getPrimitiveNumber): (JSC::JSString::getOwnPropertySlot):
  • runtime/JSString.h: (JSC::JSString::createStructure): (JSC::asString): (JSC::isJSString): (JSC::JSValue::toThisJSString):
  • runtime/JSValue.cpp: (JSC::JSValue::toInteger): (JSC::JSValue::toIntegerPreserveNaN):
  • runtime/JSValue.h: (JSC::JSValue::makeImmediate): (JSC::JSValue::asValue): (JSC::noValue): (JSC::jsImpossibleValue): (JSC::jsNull): (JSC::jsUndefined): (JSC::jsBoolean): (JSC::operator==): (JSC::operator!=): (JSC::JSValue::encode): (JSC::JSValue::decode): (JSC::JSValue::JSValue): (JSC::JSValue::operator bool): (JSC::JSValue::operator==): (JSC::JSValue::operator!=): (JSC::JSValue::isUndefined): (JSC::JSValue::isNull):
  • runtime/JSVariableObject.h: (JSC::JSVariableObject::symbolTablePut): (JSC::JSVariableObject::symbolTablePutWithAttributes):
  • runtime/JSWrapperObject.h: (JSC::JSWrapperObject::internalValue): (JSC::JSWrapperObject::setInternalValue):
  • runtime/Lookup.cpp: (JSC::setUpStaticFunctionSlot):
  • runtime/Lookup.h: (JSC::lookupPut):
  • runtime/MathObject.cpp: (JSC::mathProtoFuncAbs): (JSC::mathProtoFuncACos): (JSC::mathProtoFuncASin): (JSC::mathProtoFuncATan): (JSC::mathProtoFuncATan2): (JSC::mathProtoFuncCeil): (JSC::mathProtoFuncCos): (JSC::mathProtoFuncExp): (JSC::mathProtoFuncFloor): (JSC::mathProtoFuncLog): (JSC::mathProtoFuncMax): (JSC::mathProtoFuncMin): (JSC::mathProtoFuncPow): (JSC::mathProtoFuncRandom): (JSC::mathProtoFuncRound): (JSC::mathProtoFuncSin): (JSC::mathProtoFuncSqrt): (JSC::mathProtoFuncTan):
  • runtime/MathObject.h: (JSC::MathObject::createStructure):
  • runtime/NativeErrorConstructor.cpp: (JSC::callNativeErrorConstructor):
  • runtime/NumberConstructor.cpp: (JSC::numberConstructorNaNValue): (JSC::numberConstructorNegInfinity): (JSC::numberConstructorPosInfinity): (JSC::numberConstructorMaxValue): (JSC::numberConstructorMinValue): (JSC::callNumberConstructor):
  • runtime/NumberConstructor.h: (JSC::NumberConstructor::createStructure):
  • runtime/NumberObject.cpp: (JSC::NumberObject::getJSNumber): (JSC::constructNumber):
  • runtime/NumberObject.h:
  • runtime/NumberPrototype.cpp: (JSC::numberProtoFuncToString): (JSC::numberProtoFuncToLocaleString): (JSC::numberProtoFuncValueOf): (JSC::numberProtoFuncToFixed): (JSC::numberProtoFuncToExponential): (JSC::numberProtoFuncToPrecision):
  • runtime/ObjectConstructor.cpp: (JSC::constructObject): (JSC::callObjectConstructor):
  • runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncValueOf): (JSC::objectProtoFuncHasOwnProperty): (JSC::objectProtoFuncIsPrototypeOf): (JSC::objectProtoFuncDefineGetter): (JSC::objectProtoFuncDefineSetter): (JSC::objectProtoFuncLookupGetter): (JSC::objectProtoFuncLookupSetter): (JSC::objectProtoFuncPropertyIsEnumerable): (JSC::objectProtoFuncToLocaleString): (JSC::objectProtoFuncToString):
  • runtime/ObjectPrototype.h:
  • runtime/Operations.cpp: (JSC::JSValue::equalSlowCase): (JSC::JSValue::strictEqualSlowCase): (JSC::throwOutOfMemoryError): (JSC::jsAddSlowCase): (JSC::jsTypeStringForValue): (JSC::jsIsObjectType): (JSC::jsIsFunctionType):
  • runtime/Operations.h: (JSC::JSValue::equal): (JSC::JSValue::equalSlowCaseInline): (JSC::JSValue::strictEqual): (JSC::JSValue::strictEqualSlowCaseInline): (JSC::jsLess): (JSC::jsLessEq): (JSC::jsAdd): (JSC::countPrototypeChainEntriesAndCheckForProxies): (JSC::resolveBase):
  • runtime/PropertySlot.cpp: (JSC::PropertySlot::functionGetter):
  • runtime/PropertySlot.h: (JSC::PropertySlot::PropertySlot): (JSC::PropertySlot::getValue): (JSC::PropertySlot::putValue): (JSC::PropertySlot::setValueSlot): (JSC::PropertySlot::setValue): (JSC::PropertySlot::setCustom): (JSC::PropertySlot::setCustomIndex): (JSC::PropertySlot::slotBase): (JSC::PropertySlot::setBase): (JSC::PropertySlot::):
  • runtime/Protect.h: (JSC::gcProtect): (JSC::gcUnprotect): (JSC::ProtectedPtr::operator JSValue): (JSC::ProtectedJSValue::ProtectedJSValue): (JSC::ProtectedJSValue::get): (JSC::ProtectedJSValue::operator JSValue): (JSC::ProtectedJSValue::operator->): (JSC::ProtectedJSValue::~ProtectedJSValue): (JSC::ProtectedJSValue::operator=): (JSC::operator==): (JSC::operator!=):
  • runtime/RegExpConstructor.cpp: (JSC::RegExpConstructor::getBackref): (JSC::RegExpConstructor::getLastParen): (JSC::RegExpConstructor::getLeftContext): (JSC::RegExpConstructor::getRightContext): (JSC::regExpConstructorDollar1): (JSC::regExpConstructorDollar2): (JSC::regExpConstructorDollar3): (JSC::regExpConstructorDollar4): (JSC::regExpConstructorDollar5): (JSC::regExpConstructorDollar6): (JSC::regExpConstructorDollar7): (JSC::regExpConstructorDollar8): (JSC::regExpConstructorDollar9): (JSC::regExpConstructorInput): (JSC::regExpConstructorMultiline): (JSC::regExpConstructorLastMatch): (JSC::regExpConstructorLastParen): (JSC::regExpConstructorLeftContext): (JSC::regExpConstructorRightContext): (JSC::RegExpConstructor::put): (JSC::setRegExpConstructorInput): (JSC::setRegExpConstructorMultiline): (JSC::constructRegExp): (JSC::callRegExpConstructor):
  • runtime/RegExpConstructor.h: (JSC::RegExpConstructor::createStructure): (JSC::asRegExpConstructor):
  • runtime/RegExpMatchesArray.h: (JSC::RegExpMatchesArray::put):
  • runtime/RegExpObject.cpp: (JSC::regExpObjectGlobal): (JSC::regExpObjectIgnoreCase): (JSC::regExpObjectMultiline): (JSC::regExpObjectSource): (JSC::regExpObjectLastIndex): (JSC::RegExpObject::put): (JSC::setRegExpObjectLastIndex): (JSC::RegExpObject::test): (JSC::RegExpObject::exec): (JSC::callRegExpObject):
  • runtime/RegExpObject.h: (JSC::RegExpObject::createStructure): (JSC::asRegExpObject):
  • runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncTest): (JSC::regExpProtoFuncExec): (JSC::regExpProtoFuncCompile): (JSC::regExpProtoFuncToString):
  • runtime/StringConstructor.cpp: (JSC::stringFromCharCodeSlowCase): (JSC::stringFromCharCode): (JSC::callStringConstructor):
  • runtime/StringObject.cpp: (JSC::StringObject::put):
  • runtime/StringObject.h: (JSC::StringObject::createStructure): (JSC::asStringObject):
  • runtime/StringObjectThatMasqueradesAsUndefined.h: (JSC::StringObjectThatMasqueradesAsUndefined::createStructure):
  • runtime/StringPrototype.cpp: (JSC::stringProtoFuncReplace): (JSC::stringProtoFuncToString): (JSC::stringProtoFuncCharAt): (JSC::stringProtoFuncCharCodeAt): (JSC::stringProtoFuncConcat): (JSC::stringProtoFuncIndexOf): (JSC::stringProtoFuncLastIndexOf): (JSC::stringProtoFuncMatch): (JSC::stringProtoFuncSearch): (JSC::stringProtoFuncSlice): (JSC::stringProtoFuncSplit): (JSC::stringProtoFuncSubstr): (JSC::stringProtoFuncSubstring): (JSC::stringProtoFuncToLowerCase): (JSC::stringProtoFuncToUpperCase): (JSC::stringProtoFuncLocaleCompare): (JSC::stringProtoFuncBig): (JSC::stringProtoFuncSmall): (JSC::stringProtoFuncBlink): (JSC::stringProtoFuncBold): (JSC::stringProtoFuncFixed): (JSC::stringProtoFuncItalics): (JSC::stringProtoFuncStrike): (JSC::stringProtoFuncSub): (JSC::stringProtoFuncSup): (JSC::stringProtoFuncFontcolor): (JSC::stringProtoFuncFontsize): (JSC::stringProtoFuncAnchor): (JSC::stringProtoFuncLink):
  • runtime/Structure.cpp: (JSC::Structure::Structure): (JSC::Structure::changePrototypeTransition):
  • runtime/Structure.h: (JSC::Structure::create): (JSC::Structure::setPrototypeWithoutTransition): (JSC::Structure::storedPrototype):

JavaScriptGlue:

2009-05-01 Geoffrey Garen <[email protected]>

Rubber Stamped by Sam Weinig.


Renamed JSValuePtr => JSValue.

  • JSObject.cpp: (nativeCallFunction):
  • JSUtils.cpp: (KJSValueToJSObject): (JSObjectKJSValue): (KJSValueToCFTypeInternal): (KJSValueToCFType):
  • JSUtils.h:
  • JSValueWrapper.cpp: (JSValueWrapper::JSValueWrapper): (JSValueWrapper::GetValue): (JSValueWrapper::JSObjectCopyProperty): (JSValueWrapper::JSObjectSetProperty): (JSValueWrapper::JSObjectCallFunction):
  • JSValueWrapper.h:
  • UserObjectImp.cpp: (UserObjectImp::callAsFunction): (UserObjectImp::userObjectGetter): (UserObjectImp::getOwnPropertySlot): (UserObjectImp::put): (UserObjectImp::toPrimitive):
  • UserObjectImp.h: (UserObjectImp::createStructure):

WebCore:

2009-05-01 Geoffrey Garen <[email protected]>

Rubber Stamped by Sam Weinig.


Renamed JSValuePtr => JSValue.

  • bindings/js/JSAttrCustom.cpp: (WebCore::JSAttr::setValue):
  • bindings/js/JSCDATASectionCustom.cpp: (WebCore::toJSNewlyCreated):
  • bindings/js/JSCSSRuleCustom.cpp: (WebCore::toJS):
  • bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::JSCSSStyleDeclaration::nameGetter): (WebCore::JSCSSStyleDeclaration::customPut):
  • bindings/js/JSCSSValueCustom.cpp: (WebCore::toJS):
  • bindings/js/JSCanvasRenderingContext2DCustom.cpp: (WebCore::toJS): (WebCore::toHTMLCanvasStyle): (WebCore::JSCanvasRenderingContext2D::strokeStyle): (WebCore::JSCanvasRenderingContext2D::setStrokeStyle): (WebCore::JSCanvasRenderingContext2D::fillStyle): (WebCore::JSCanvasRenderingContext2D::setFillStyle): (WebCore::JSCanvasRenderingContext2D::setFillColor): (WebCore::JSCanvasRenderingContext2D::setStrokeColor): (WebCore::JSCanvasRenderingContext2D::strokeRect): (WebCore::JSCanvasRenderingContext2D::drawImage): (WebCore::JSCanvasRenderingContext2D::drawImageFromRect): (WebCore::JSCanvasRenderingContext2D::setShadow): (WebCore::JSCanvasRenderingContext2D::createPattern): (WebCore::JSCanvasRenderingContext2D::putImageData): (WebCore::JSCanvasRenderingContext2D::fillText): (WebCore::JSCanvasRenderingContext2D::strokeText):
  • bindings/js/JSClipboardCustom.cpp: (WebCore::JSClipboard::types): (WebCore::JSClipboard::clearData): (WebCore::JSClipboard::getData): (WebCore::JSClipboard::setData): (WebCore::JSClipboard::setDragImage):
  • bindings/js/JSConsoleCustom.cpp: (WebCore::JSConsole::profiles):
  • bindings/js/JSCoordinatesCustom.cpp: (WebCore::JSCoordinates::altitude): (WebCore::JSCoordinates::altitudeAccuracy): (WebCore::JSCoordinates::heading): (WebCore::JSCoordinates::speed):
  • bindings/js/JSCustomPositionCallback.cpp: (WebCore::JSCustomPositionCallback::handleEvent):
  • bindings/js/JSCustomPositionErrorCallback.cpp: (WebCore::JSCustomPositionErrorCallback::handleEvent):
  • bindings/js/JSCustomSQLStatementCallback.cpp: (WebCore::JSCustomSQLStatementCallback::handleEvent):
  • bindings/js/JSCustomSQLStatementErrorCallback.cpp: (WebCore::JSCustomSQLStatementErrorCallback::handleEvent):
  • bindings/js/JSCustomSQLTransactionCallback.cpp: (WebCore::JSCustomSQLTransactionCallback::handleEvent):
  • bindings/js/JSCustomSQLTransactionErrorCallback.cpp: (WebCore::JSCustomSQLTransactionErrorCallback::handleEvent):
  • bindings/js/JSCustomVoidCallback.cpp: (WebCore::JSCustomVoidCallback::handleEvent): (WebCore::toVoidCallback):
  • bindings/js/JSCustomVoidCallback.h:
  • bindings/js/JSCustomXPathNSResolver.cpp: (WebCore::JSCustomXPathNSResolver::create): (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
  • bindings/js/JSCustomXPathNSResolver.h:
  • bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::hasItem): (WebCore::JSDOMApplicationCache::add): (WebCore::JSDOMApplicationCache::remove): (WebCore::JSDOMApplicationCache::addEventListener): (WebCore::JSDOMApplicationCache::removeEventListener):
  • bindings/js/JSDOMBinding.cpp: (WebCore::jsStringOrNull): (WebCore::jsOwnedStringOrNull): (WebCore::jsStringOrUndefined): (WebCore::jsStringOrFalse): (WebCore::valueToStringWithNullCheck): (WebCore::valueToStringWithUndefinedOrNullCheck): (WebCore::reportException): (WebCore::reportCurrentException): (WebCore::setDOMException): (WebCore::objectToStringFunctionGetter):
  • bindings/js/JSDOMBinding.h: (WebCore::getDOMObjectWrapper): (WebCore::getDOMNodeWrapper): (WebCore::toJS):
  • bindings/js/JSDOMGlobalObject.cpp: (WebCore::JSDOMGlobalObject::findJSEventListener): (WebCore::JSDOMGlobalObject::findOrCreateJSEventListener): (WebCore::JSDOMGlobalObject::createJSAttributeEventListener):
  • bindings/js/JSDOMGlobalObject.h:
  • bindings/js/JSDOMStringListCustom.cpp: (WebCore::JSDOMStringList::getByIndex): (WebCore::JSDOMStringList::item):
  • bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::childFrameGetter): (WebCore::JSDOMWindowBase::indexGetter): (WebCore::JSDOMWindowBase::namedItemGetter): (WebCore::JSDOMWindowBase::getOwnPropertySlot): (WebCore::JSDOMWindowBase::put): (WebCore::JSDOMWindowBase::setReturnValueSlot): (WebCore::toJS): (WebCore::toJSDOMWindow):
  • bindings/js/JSDOMWindowBase.h:
  • bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::lookupGetter): (WebCore::JSDOMWindow::lookupSetter): (WebCore::JSDOMWindow::history): (WebCore::JSDOMWindow::location): (WebCore::JSDOMWindow::setLocation): (WebCore::JSDOMWindow::crypto): (WebCore::JSDOMWindow::event): (WebCore::JSDOMWindow::image): (WebCore::JSDOMWindow::option): (WebCore::JSDOMWindow::audio): (WebCore::JSDOMWindow::webKitPoint): (WebCore::JSDOMWindow::webKitCSSMatrix): (WebCore::JSDOMWindow::xmlHttpRequest): (WebCore::JSDOMWindow::xsltProcessor): (WebCore::JSDOMWindow::messageChannel): (WebCore::JSDOMWindow::worker): (WebCore::createWindow): (WebCore::JSDOMWindow::open): (WebCore::JSDOMWindow::showModalDialog): (WebCore::JSDOMWindow::postMessage): (WebCore::JSDOMWindow::setTimeout): (WebCore::JSDOMWindow::setInterval): (WebCore::JSDOMWindow::atob): (WebCore::JSDOMWindow::btoa): (WebCore::JSDOMWindow::addEventListener): (WebCore::JSDOMWindow::removeEventListener): (WebCore::toDOMWindow):
  • bindings/js/JSDOMWindowCustom.h: (WebCore::nonCachingStaticFunctionGetter): (WebCore::JSDOMWindow::customPut):
  • bindings/js/JSDOMWindowShell.cpp: (WebCore::JSDOMWindowShell::put): (WebCore::JSDOMWindowShell::putWithAttributes): (WebCore::JSDOMWindowShell::lookupGetter): (WebCore::JSDOMWindowShell::lookupSetter): (WebCore::toJS):
  • bindings/js/JSDOMWindowShell.h: (WebCore::JSDOMWindowShell::createStructure):
  • bindings/js/JSDatabaseCustom.cpp: (WebCore::JSDatabase::changeVersion): (WebCore::JSDatabase::transaction):
  • bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::location): (WebCore::JSDocument::setLocation): (WebCore::toJS):
  • bindings/js/JSElementCustom.cpp: (WebCore::JSElement::setAttribute): (WebCore::JSElement::setAttributeNode): (WebCore::JSElement::setAttributeNS): (WebCore::JSElement::setAttributeNodeNS): (WebCore::toJSNewlyCreated):
  • bindings/js/JSEventCustom.cpp: (WebCore::JSEvent::clipboardData): (WebCore::toJS):
  • bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::handleEvent):
  • bindings/js/JSEventTarget.cpp: (WebCore::toJS): (WebCore::toEventTarget):
  • bindings/js/JSEventTarget.h:
  • bindings/js/JSEventTargetBase.h:
  • bindings/js/JSGeolocationCustom.cpp: (WebCore::createPositionOptions): (WebCore::JSGeolocation::getCurrentPosition): (WebCore::JSGeolocation::watchPosition):
  • bindings/js/JSHTMLAllCollection.h: (WebCore::JSHTMLAllCollection::createStructure):
  • bindings/js/JSHTMLAppletElementCustom.cpp: (WebCore::JSHTMLAppletElement::customPut): (WebCore::JSHTMLAppletElement::nameGetter):
  • bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::getNamedItems): (WebCore::callHTMLCollection): (WebCore::JSHTMLCollection::nameGetter): (WebCore::JSHTMLCollection::item): (WebCore::JSHTMLCollection::namedItem): (WebCore::toJS):
  • bindings/js/JSHTMLDocumentCustom.cpp: (WebCore::JSHTMLDocument::nameGetter): (WebCore::JSHTMLDocument::all): (WebCore::JSHTMLDocument::setAll): (WebCore::JSHTMLDocument::open): (WebCore::JSHTMLDocument::write): (WebCore::JSHTMLDocument::writeln):
  • bindings/js/JSHTMLEmbedElementCustom.cpp: (WebCore::JSHTMLEmbedElement::customPut): (WebCore::JSHTMLEmbedElement::nameGetter):
  • bindings/js/JSHTMLFormElementCustom.cpp: (WebCore::JSHTMLFormElement::nameGetter): (WebCore::JSHTMLFormElement::submit):
  • bindings/js/JSHTMLFrameElementCustom.cpp: (WebCore::JSHTMLFrameElement::setSrc): (WebCore::JSHTMLFrameElement::setLocation):
  • bindings/js/JSHTMLFrameSetElementCustom.cpp: (WebCore::JSHTMLFrameSetElement::nameGetter):
  • bindings/js/JSHTMLIFrameElementCustom.cpp: (WebCore::JSHTMLIFrameElement::setSrc):
  • bindings/js/JSHTMLInputElementCustom.cpp: (WebCore::JSHTMLInputElement::selectionStart): (WebCore::JSHTMLInputElement::setSelectionStart): (WebCore::JSHTMLInputElement::selectionEnd): (WebCore::JSHTMLInputElement::setSelectionEnd): (WebCore::JSHTMLInputElement::setSelectionRange):
  • bindings/js/JSHTMLObjectElementCustom.cpp: (WebCore::JSHTMLObjectElement::customPut): (WebCore::JSHTMLObjectElement::nameGetter):
  • bindings/js/JSHTMLOptionsCollectionCustom.cpp: (WebCore::JSHTMLOptionsCollection::length): (WebCore::JSHTMLOptionsCollection::setLength): (WebCore::JSHTMLOptionsCollection::indexSetter): (WebCore::JSHTMLOptionsCollection::add): (WebCore::JSHTMLOptionsCollection::remove):
  • bindings/js/JSHTMLSelectElementCustom.cpp: (WebCore::JSHTMLSelectElement::remove): (WebCore::selectIndexSetter): (WebCore::JSHTMLSelectElement::indexSetter):
  • bindings/js/JSHTMLSelectElementCustom.h:
  • bindings/js/JSHistoryCustom.cpp: (WebCore::nonCachingStaticBackFunctionGetter): (WebCore::nonCachingStaticForwardFunctionGetter): (WebCore::nonCachingStaticGoFunctionGetter): (WebCore::JSHistory::customPut):
  • bindings/js/JSImageDataCustom.cpp: (WebCore::toJS):
  • bindings/js/JSInspectedObjectWrapper.cpp: (WebCore::JSInspectedObjectWrapper::wrap): (WebCore::JSInspectedObjectWrapper::prepareIncomingValue):
  • bindings/js/JSInspectedObjectWrapper.h: (WebCore::JSInspectedObjectWrapper::wrapOutgoingValue):
  • bindings/js/JSInspectorCallbackWrapper.cpp: (WebCore::JSInspectorCallbackWrapper::wrap): (WebCore::JSInspectorCallbackWrapper::prepareIncomingValue):
  • bindings/js/JSInspectorCallbackWrapper.h: (WebCore::JSInspectorCallbackWrapper::wrapOutgoingValue):
  • bindings/js/JSInspectorControllerCustom.cpp: (WebCore::JSInspectorController::highlightDOMNode): (WebCore::JSInspectorController::addResourceSourceToFrame): (WebCore::JSInspectorController::addSourceToFrame): (WebCore::JSInspectorController::getResourceDocumentNode): (WebCore::JSInspectorController::search): (WebCore::JSInspectorController::databaseTableNames): (WebCore::JSInspectorController::inspectedWindow): (WebCore::JSInspectorController::setting): (WebCore::JSInspectorController::setSetting): (WebCore::JSInspectorController::wrapCallback): (WebCore::JSInspectorController::currentCallFrame): (WebCore::JSInspectorController::profiles):
  • bindings/js/JSJavaScriptCallFrameCustom.cpp: (WebCore::JSJavaScriptCallFrame::evaluate): (WebCore::JSJavaScriptCallFrame::thisObject): (WebCore::JSJavaScriptCallFrame::type): (WebCore::JSJavaScriptCallFrame::scopeChain):
  • bindings/js/JSLazyEventListener.cpp: (WebCore::JSLazyEventListener::parseCode):
  • bindings/js/JSLocationCustom.cpp: (WebCore::nonCachingStaticReplaceFunctionGetter): (WebCore::nonCachingStaticReloadFunctionGetter): (WebCore::nonCachingStaticAssignFunctionGetter): (WebCore::JSLocation::customPut): (WebCore::JSLocation::setHref): (WebCore::JSLocation::setProtocol): (WebCore::JSLocation::setHost): (WebCore::JSLocation::setHostname): (WebCore::JSLocation::setPort): (WebCore::JSLocation::setPathname): (WebCore::JSLocation::setSearch): (WebCore::JSLocation::setHash): (WebCore::JSLocation::replace): (WebCore::JSLocation::reload): (WebCore::JSLocation::assign): (WebCore::JSLocation::toString): (WebCore::JSLocationPrototype::customPut):
  • bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::startConversation): (WebCore::JSMessagePort::addEventListener): (WebCore::JSMessagePort::removeEventListener):
  • bindings/js/JSMimeTypeArrayCustom.cpp: (WebCore::JSMimeTypeArray::nameGetter):
  • bindings/js/JSNamedNodeMapCustom.cpp: (WebCore::JSNamedNodeMap::nameGetter):
  • bindings/js/JSNamedNodesCollection.cpp: (WebCore::JSNamedNodesCollection::lengthGetter): (WebCore::JSNamedNodesCollection::indexGetter):
  • bindings/js/JSNamedNodesCollection.h: (WebCore::JSNamedNodesCollection::createStructure):
  • bindings/js/JSNavigatorCustom.cpp: (WebCore::needsYouTubeQuirk): (WebCore::JSNavigator::appVersion):
  • bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::insertBefore): (WebCore::JSNode::replaceChild): (WebCore::JSNode::removeChild): (WebCore::JSNode::appendChild): (WebCore::JSNode::addEventListener): (WebCore::JSNode::removeEventListener): (WebCore::createWrapper): (WebCore::toJSNewlyCreated): (WebCore::toJS):
  • bindings/js/JSNodeFilterCondition.cpp: (WebCore::JSNodeFilterCondition::JSNodeFilterCondition): (WebCore::JSNodeFilterCondition::acceptNode):
  • bindings/js/JSNodeFilterCondition.h: (WebCore::JSNodeFilterCondition::create):
  • bindings/js/JSNodeFilterCustom.cpp: (WebCore::JSNodeFilter::acceptNode): (WebCore::toNodeFilter):
  • bindings/js/JSNodeIteratorCustom.cpp: (WebCore::JSNodeIterator::nextNode): (WebCore::JSNodeIterator::previousNode):
  • bindings/js/JSNodeListCustom.cpp: (WebCore::callNodeList): (WebCore::JSNodeList::nameGetter):
  • bindings/js/JSPluginArrayCustom.cpp: (WebCore::JSPluginArray::nameGetter):
  • bindings/js/JSPluginCustom.cpp: (WebCore::JSPlugin::nameGetter):
  • bindings/js/JSPluginElementFunctions.cpp: (WebCore::runtimeObjectGetter): (WebCore::runtimeObjectPropertyGetter): (WebCore::runtimeObjectCustomPut): (WebCore::callPlugin):
  • bindings/js/JSPluginElementFunctions.h:
  • bindings/js/JSQuarantinedObjectWrapper.cpp: (WebCore::JSQuarantinedObjectWrapper::asWrapper): (WebCore::JSQuarantinedObjectWrapper::cachedValueGetter): (WebCore::JSQuarantinedObjectWrapper::transferExceptionToExecState): (WebCore::JSQuarantinedObjectWrapper::getOwnPropertySlot): (WebCore::JSQuarantinedObjectWrapper::put): (WebCore::JSQuarantinedObjectWrapper::construct): (WebCore::JSQuarantinedObjectWrapper::hasInstance): (WebCore::JSQuarantinedObjectWrapper::call):
  • bindings/js/JSQuarantinedObjectWrapper.h: (WebCore::JSQuarantinedObjectWrapper::createStructure):
  • bindings/js/JSRGBColor.cpp: (WebCore::getJSRGBColor): (jsRGBColorRed): (jsRGBColorGreen): (jsRGBColorBlue):
  • bindings/js/JSRGBColor.h: (WebCore::JSRGBColor::createStructure):
  • bindings/js/JSSQLResultSetRowListCustom.cpp: (WebCore::JSSQLResultSetRowList::item):
  • bindings/js/JSSQLTransactionCustom.cpp: (WebCore::JSSQLTransaction::executeSql):
  • bindings/js/JSSVGElementInstanceCustom.cpp: (WebCore::JSSVGElementInstance::addEventListener): (WebCore::JSSVGElementInstance::removeEventListener): (WebCore::toJS):
  • bindings/js/JSSVGLengthCustom.cpp: (WebCore::JSSVGLength::value): (WebCore::JSSVGLength::convertToSpecifiedUnits):
  • bindings/js/JSSVGMatrixCustom.cpp: (WebCore::JSSVGMatrix::inverse): (WebCore::JSSVGMatrix::rotateFromVector):
  • bindings/js/JSSVGPathSegCustom.cpp: (WebCore::toJS):
  • bindings/js/JSSVGPathSegListCustom.cpp: (WebCore::JSSVGPathSegList::clear): (WebCore::JSSVGPathSegList::initialize): (WebCore::JSSVGPathSegList::getItem): (WebCore::JSSVGPathSegList::insertItemBefore): (WebCore::JSSVGPathSegList::replaceItem): (WebCore::JSSVGPathSegList::removeItem): (WebCore::JSSVGPathSegList::appendItem):
  • bindings/js/JSSVGPointListCustom.cpp: (WebCore::finishGetter): (WebCore::finishSetter): (WebCore::finishSetterReadOnlyResult): (WebCore::JSSVGPointList::clear): (WebCore::JSSVGPointList::initialize): (WebCore::JSSVGPointList::getItem): (WebCore::JSSVGPointList::insertItemBefore): (WebCore::JSSVGPointList::replaceItem): (WebCore::JSSVGPointList::removeItem): (WebCore::JSSVGPointList::appendItem):
  • bindings/js/JSSVGTransformListCustom.cpp: (WebCore::finishGetter): (WebCore::finishSetter): (WebCore::finishSetterReadOnlyResult): (WebCore::JSSVGTransformList::clear): (WebCore::JSSVGTransformList::initialize): (WebCore::JSSVGTransformList::getItem): (WebCore::JSSVGTransformList::insertItemBefore): (WebCore::JSSVGTransformList::replaceItem): (WebCore::JSSVGTransformList::removeItem): (WebCore::JSSVGTransformList::appendItem):
  • bindings/js/JSStorageCustom.cpp: (WebCore::JSStorage::nameGetter): (WebCore::JSStorage::deleteProperty): (WebCore::JSStorage::customPut):
  • bindings/js/JSStyleSheetCustom.cpp: (WebCore::toJS):
  • bindings/js/JSStyleSheetListCustom.cpp: (WebCore::JSStyleSheetList::nameGetter):
  • bindings/js/JSTextCustom.cpp: (WebCore::toJSNewlyCreated):
  • bindings/js/JSTreeWalkerCustom.cpp: (WebCore::JSTreeWalker::parentNode): (WebCore::JSTreeWalker::firstChild): (WebCore::JSTreeWalker::lastChild): (WebCore::JSTreeWalker::nextSibling): (WebCore::JSTreeWalker::previousSibling): (WebCore::JSTreeWalker::previousNode): (WebCore::JSTreeWalker::nextNode):
  • bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::self): (WebCore::JSWorkerContext::setSelf): (WebCore::JSWorkerContext::xmlHttpRequest): (WebCore::JSWorkerContext::importScripts): (WebCore::JSWorkerContext::addEventListener): (WebCore::JSWorkerContext::removeEventListener): (WebCore::JSWorkerContext::setTimeout): (WebCore::JSWorkerContext::setInterval):
  • bindings/js/JSWorkerCustom.cpp: (WebCore::JSWorker::addEventListener): (WebCore::JSWorker::removeEventListener):
  • bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::open): (WebCore::JSXMLHttpRequest::setRequestHeader): (WebCore::JSXMLHttpRequest::send): (WebCore::JSXMLHttpRequest::getResponseHeader): (WebCore::JSXMLHttpRequest::overrideMimeType): (WebCore::JSXMLHttpRequest::addEventListener): (WebCore::JSXMLHttpRequest::removeEventListener): (WebCore::JSXMLHttpRequest::responseText):
  • bindings/js/JSXMLHttpRequestUploadCustom.cpp: (WebCore::JSXMLHttpRequestUpload::addEventListener): (WebCore::JSXMLHttpRequestUpload::removeEventListener):
  • bindings/js/JSXSLTProcessorCustom.cpp: (WebCore::JSXSLTProcessor::importStylesheet): (WebCore::JSXSLTProcessor::transformToFragment): (WebCore::JSXSLTProcessor::transformToDocument): (WebCore::JSXSLTProcessor::setParameter): (WebCore::JSXSLTProcessor::getParameter): (WebCore::JSXSLTProcessor::removeParameter):
  • bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::create): (WebCore::ScheduledAction::ScheduledAction): (WebCore::ScheduledAction::executeFunctionInContext):
  • bindings/js/ScheduledAction.h:
  • bindings/js/ScriptCallStack.cpp: (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::initialize):
  • bindings/js/ScriptCallStack.h:
  • bindings/js/ScriptController.cpp: (WebCore::ScriptController::jsObjectForPluginElement):
  • bindings/js/ScriptFunctionCall.cpp: (WebCore::ScriptFunctionCall::appendArgument): (WebCore::ScriptFunctionCall::call): (WebCore::ScriptFunctionCall::construct):
  • bindings/js/ScriptFunctionCall.h:
  • bindings/js/ScriptObject.cpp: (WebCore::ScriptGlobalObject::get):
  • bindings/js/ScriptValue.h: (WebCore::ScriptValue::ScriptValue): (WebCore::ScriptValue::jsValue):
  • bindings/objc/WebScriptObject.mm: (-[WebScriptObject callWebScriptMethod:withArguments:]): (-[WebScriptObject evaluateWebScript:]): (-[WebScriptObject valueForKey:]): (-[WebScriptObject webScriptValueAtIndex:]): (+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]):
  • bindings/objc/WebScriptObjectPrivate.h:
  • bridge/NP_jsobject.cpp: (_NPN_InvokeDefault): (_NPN_Invoke): (_NPN_Evaluate): (_NPN_GetProperty): (_NPN_HasMethod): (_NPN_Construct):
  • bridge/c/c_instance.cpp: (JSC::Bindings::CInstance::invokeMethod): (JSC::Bindings::CInstance::invokeDefaultMethod): (JSC::Bindings::CInstance::invokeConstruct): (JSC::Bindings::CInstance::defaultValue): (JSC::Bindings::CInstance::stringValue): (JSC::Bindings::CInstance::numberValue): (JSC::Bindings::CInstance::booleanValue): (JSC::Bindings::CInstance::valueOf):
  • bridge/c/c_instance.h:
  • bridge/c/c_runtime.cpp: (JSC::Bindings::CField::valueFromInstance): (JSC::Bindings::CField::setValueToInstance):
  • bridge/c/c_runtime.h:
  • bridge/c/c_utility.cpp: (JSC::Bindings::convertValueToNPVariant): (JSC::Bindings::convertNPVariantToValue):
  • bridge/c/c_utility.h:
  • bridge/jni/jni_instance.cpp: (JavaInstance::stringValue): (JavaInstance::numberValue): (JavaInstance::booleanValue): (JavaInstance::invokeMethod): (JavaInstance::defaultValue): (JavaInstance::valueOf):
  • bridge/jni/jni_instance.h:
  • bridge/jni/jni_jsobject.h:
  • bridge/jni/jni_jsobject.mm: (JavaJSObject::call): (JavaJSObject::eval): (JavaJSObject::getMember): (JavaJSObject::getSlot): (JavaJSObject::convertValueToJObject): (JavaJSObject::convertJObjectToValue):
  • bridge/jni/jni_objc.mm: (JSC::Bindings::dispatchJNICall):
  • bridge/jni/jni_runtime.cpp: (JavaArray::convertJObjectToArray): (JavaField::dispatchValueFromInstance): (JavaField::valueFromInstance): (JavaField::dispatchSetValueToInstance): (JavaField::setValueToInstance): (JavaArray::setValueAt): (JavaArray::valueAt):
  • bridge/jni/jni_runtime.h:
  • bridge/jni/jni_utility.cpp: (JSC::Bindings::convertArrayInstanceToJavaArray): (JSC::Bindings::convertValueToJValue):
  • bridge/jni/jni_utility.h:
  • bridge/objc/WebScriptObject.h:
  • bridge/objc/objc_class.h:
  • bridge/objc/objc_class.mm: (JSC::Bindings::ObjcClass::fallbackObject):
  • bridge/objc/objc_instance.h:
  • bridge/objc/objc_instance.mm: (ObjcInstance::invokeMethod): (ObjcInstance::invokeDefaultMethod): (ObjcInstance::setValueOfUndefinedField): (ObjcInstance::getValueOfUndefinedField): (ObjcInstance::defaultValue): (ObjcInstance::stringValue): (ObjcInstance::numberValue): (ObjcInstance::booleanValue): (ObjcInstance::valueOf):
  • bridge/objc/objc_runtime.h: (JSC::Bindings::ObjcFallbackObjectImp::createStructure):
  • bridge/objc/objc_runtime.mm: (JSC::Bindings::ObjcField::valueFromInstance): (JSC::Bindings::convertValueToObjcObject): (JSC::Bindings::ObjcField::setValueToInstance): (JSC::Bindings::ObjcArray::setValueAt): (JSC::Bindings::ObjcArray::valueAt): (JSC::Bindings::ObjcFallbackObjectImp::put): (JSC::Bindings::callObjCFallbackObject): (JSC::Bindings::ObjcFallbackObjectImp::defaultValue):
  • bridge/objc/objc_utility.h:
  • bridge/objc/objc_utility.mm: (JSC::Bindings::convertValueToObjcValue): (JSC::Bindings::convertNSStringToString): (JSC::Bindings::convertObjcValueToValue):
  • bridge/runtime.h: (JSC::Bindings::Class::fallbackObject): (JSC::Bindings::Instance::setValueOfUndefinedField): (JSC::Bindings::Instance::invokeDefaultMethod): (JSC::Bindings::Instance::invokeConstruct): (JSC::Bindings::Instance::put):
  • bridge/runtime_array.cpp: (JSC::RuntimeArray::lengthGetter): (JSC::RuntimeArray::indexGetter): (JSC::RuntimeArray::put):
  • bridge/runtime_array.h: (JSC::RuntimeArray::createStructure):
  • bridge/runtime_method.cpp: (JSC::RuntimeMethod::lengthGetter): (JSC::callRuntimeMethod):
  • bridge/runtime_method.h: (JSC::RuntimeMethod::createStructure):
  • bridge/runtime_object.cpp: (JSC::RuntimeObjectImp::fallbackObjectGetter): (JSC::RuntimeObjectImp::fieldGetter): (JSC::RuntimeObjectImp::methodGetter): (JSC::RuntimeObjectImp::put): (JSC::RuntimeObjectImp::defaultValue): (JSC::callRuntimeObject): (JSC::callRuntimeConstructor):
  • bridge/runtime_object.h: (JSC::RuntimeObjectImp::createStructure):
  • inspector/JavaScriptCallFrame.cpp: (WebCore::JavaScriptCallFrame::evaluate):
  • inspector/JavaScriptCallFrame.h:
  • inspector/JavaScriptProfile.cpp: (WebCore::toJS):
  • inspector/JavaScriptProfile.h:
  • inspector/JavaScriptProfileNode.cpp: (WebCore::toJS):
  • inspector/JavaScriptProfileNode.h:

WebKit/mac:

2009-05-01 Geoffrey Garen <[email protected]>

Rubber Stamped by Sam Weinig.


Renamed JSValuePtr => JSValue.

  • Plugins/Hosted/NetscapePluginInstanceProxy.h:
  • Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::evaluate): (WebKit::NetscapePluginInstanceProxy::invoke): (WebKit::NetscapePluginInstanceProxy::invokeDefault): (WebKit::NetscapePluginInstanceProxy::construct): (WebKit::NetscapePluginInstanceProxy::getProperty): (WebKit::NetscapePluginInstanceProxy::setProperty): (WebKit::NetscapePluginInstanceProxy::hasMethod): (WebKit::NetscapePluginInstanceProxy::addValueToArray): (WebKit::NetscapePluginInstanceProxy::marshalValue): (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray): (WebKit::NetscapePluginInstanceProxy::demarshalValue): (WebKit::NetscapePluginInstanceProxy::demarshalValues):
  • Plugins/Hosted/ProxyInstance.h:
  • Plugins/Hosted/ProxyInstance.mm: (WebKit::ProxyField::valueFromInstance): (WebKit::ProxyField::setValueToInstance): (WebKit::ProxyInstance::invoke): (WebKit::ProxyInstance::invokeMethod): (WebKit::ProxyInstance::invokeDefaultMethod): (WebKit::ProxyInstance::invokeConstruct): (WebKit::ProxyInstance::defaultValue): (WebKit::ProxyInstance::stringValue): (WebKit::ProxyInstance::numberValue): (WebKit::ProxyInstance::booleanValue): (WebKit::ProxyInstance::valueOf): (WebKit::ProxyInstance::fieldValue): (WebKit::ProxyInstance::setFieldValue):
  • WebView/WebFrame.mm: (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
  • WebView/WebScriptDebugDelegate.mm: (-[WebScriptCallFrame _convertValueToObjcValue:]): (-[WebScriptCallFrame exception]): (-[WebScriptCallFrame evaluateWebScript:]):
  • WebView/WebView.mm: (aeDescFromJSValue): (-[WebView aeDescByEvaluatingJavaScriptFromString:]):

WebKit/qt:

2009-05-01 Geoffrey Garen <[email protected]>

Rubber Stamped by Sam Weinig.


Renamed JSValuePtr => JSValue.

  • Api/qwebelement.cpp: (setupScriptContext): (setupScriptObject): (QWebElement::evaluateScript): (QWebElement::functions): (QWebElement::scriptableProperty): (QWebElement::setScriptableProperty): (QWebElement::scriptableProperties):

WebKit/win:

2009-05-01 Geoffrey Garen <[email protected]>

Rubber Stamped by Sam Weinig.


Renamed JSValuePtr => JSValue.

  • WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString):

WebKit/wx:

2009-05-01 Geoffrey Garen <[email protected]>

Rubber Stamped by Sam Weinig.


Renamed JSValuePtr => JSValue.

  • WebFrame.cpp: (wxWebFrame::RunScript):
File:
1 edited

Legend:

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

    r43121 r43122  
    9191}
    9292
    93 NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValuePtr& exceptionValue)
     93NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
    9494{
    9595    int dst = (vPC + 1)->u.operand;
     
    107107        PropertySlot slot(o);
    108108        if (o->getPropertySlot(callFrame, ident, slot)) {
    109             JSValuePtr result = slot.getValue(callFrame, ident);
     109            JSValue result = slot.getValue(callFrame, ident);
    110110            exceptionValue = callFrame->globalData().exception;
    111111            if (exceptionValue)
    112112                return false;
    113             callFrame[dst] = JSValuePtr(result);
     113            callFrame[dst] = JSValue(result);
    114114            return true;
    115115        }
     
    119119}
    120120
    121 NEVER_INLINE bool Interpreter::resolveSkip(CallFrame* callFrame, Instruction* vPC, JSValuePtr& exceptionValue)
     121NEVER_INLINE bool Interpreter::resolveSkip(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
    122122{
    123123    CodeBlock* codeBlock = callFrame->codeBlock();
     
    140140        PropertySlot slot(o);
    141141        if (o->getPropertySlot(callFrame, ident, slot)) {
    142             JSValuePtr result = slot.getValue(callFrame, ident);
     142            JSValue result = slot.getValue(callFrame, ident);
    143143            exceptionValue = callFrame->globalData().exception;
    144144            if (exceptionValue)
    145145                return false;
    146             callFrame[dst] = JSValuePtr(result);
     146            callFrame[dst] = JSValue(result);
    147147            return true;
    148148        }
     
    152152}
    153153
    154 NEVER_INLINE bool Interpreter::resolveGlobal(CallFrame* callFrame, Instruction* vPC, JSValuePtr& exceptionValue)
     154NEVER_INLINE bool Interpreter::resolveGlobal(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
    155155{
    156156    int dst = (vPC + 1)->u.operand;
     
    162162
    163163    if (structure == globalObject->structure()) {
    164         callFrame[dst] = JSValuePtr(globalObject->getDirectOffset(offset));
     164        callFrame[dst] = JSValue(globalObject->getDirectOffset(offset));
    165165        return true;
    166166    }
     
    170170    PropertySlot slot(globalObject);
    171171    if (globalObject->getPropertySlot(callFrame, ident, slot)) {
    172         JSValuePtr result = slot.getValue(callFrame, ident);
     172        JSValue result = slot.getValue(callFrame, ident);
    173173        if (slot.isCacheable() && !globalObject->structure()->isDictionary()) {
    174174            if (vPC[4].u.structure)
     
    177177            vPC[4] = globalObject->structure();
    178178            vPC[5] = slot.cachedOffset();
    179             callFrame[dst] = JSValuePtr(result);
     179            callFrame[dst] = JSValue(result);
    180180            return true;
    181181        }
     
    184184        if (exceptionValue)
    185185            return false;
    186         callFrame[dst] = JSValuePtr(result);
     186        callFrame[dst] = JSValue(result);
    187187        return true;
    188188    }
     
    196196    int dst = (vPC + 1)->u.operand;
    197197    int property = (vPC + 2)->u.operand;
    198     callFrame[dst] = JSValuePtr(JSC::resolveBase(callFrame, callFrame->codeBlock()->identifier(property), callFrame->scopeChain()));
     198    callFrame[dst] = JSValue(JSC::resolveBase(callFrame, callFrame->codeBlock()->identifier(property), callFrame->scopeChain()));
    199199}
    200200
    201 NEVER_INLINE bool Interpreter::resolveBaseAndProperty(CallFrame* callFrame, Instruction* vPC, JSValuePtr& exceptionValue)
     201NEVER_INLINE bool Interpreter::resolveBaseAndProperty(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
    202202{
    203203    int baseDst = (vPC + 1)->u.operand;
     
    220220        PropertySlot slot(base);
    221221        if (base->getPropertySlot(callFrame, ident, slot)) {
    222             JSValuePtr result = slot.getValue(callFrame, ident);
     222            JSValue result = slot.getValue(callFrame, ident);
    223223            exceptionValue = callFrame->globalData().exception;
    224224            if (exceptionValue)
    225225                return false;
    226             callFrame[propDst] = JSValuePtr(result);
    227             callFrame[baseDst] = JSValuePtr(base);
     226            callFrame[propDst] = JSValue(result);
     227            callFrame[baseDst] = JSValue(base);
    228228            return true;
    229229        }
     
    235235}
    236236
    237 NEVER_INLINE bool Interpreter::resolveBaseAndFunc(CallFrame* callFrame, Instruction* vPC, JSValuePtr& exceptionValue)
     237NEVER_INLINE bool Interpreter::resolveBaseAndFunc(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
    238238{
    239239    int baseDst = (vPC + 1)->u.operand;
     
    264264            // We also handle wrapper substitution for the global object at the same time.
    265265            JSObject* thisObj = base->toThisObject(callFrame);
    266             JSValuePtr result = slot.getValue(callFrame, ident);
     266            JSValue result = slot.getValue(callFrame, ident);
    267267            exceptionValue = callFrame->globalData().exception;
    268268            if (exceptionValue)
    269269                return false;
    270270
    271             callFrame[baseDst] = JSValuePtr(thisObj);
    272             callFrame[funcDst] = JSValuePtr(result);
     271            callFrame[baseDst] = JSValue(thisObj);
     272            callFrame[funcDst] = JSValue(result);
    273273            return true;
    274274        }
     
    317317}
    318318
    319 static NEVER_INLINE bool isNotObject(CallFrame* callFrame, bool forInstanceOf, CodeBlock* codeBlock, const Instruction* vPC, JSValuePtr value, JSValuePtr& exceptionData)
     319static NEVER_INLINE bool isNotObject(CallFrame* callFrame, bool forInstanceOf, CodeBlock* codeBlock, const Instruction* vPC, JSValue value, JSValue& exceptionData)
    320320{
    321321    if (value.isObject())
     
    325325}
    326326
    327 NEVER_INLINE JSValuePtr Interpreter::callEval(CallFrame* callFrame, RegisterFile* registerFile, Register* argv, int argc, int registerOffset, JSValuePtr& exceptionValue)
     327NEVER_INLINE JSValue Interpreter::callEval(CallFrame* callFrame, RegisterFile* registerFile, Register* argv, int argc, int registerOffset, JSValue& exceptionValue)
    328328{
    329329    if (argc < 2)
    330330        return jsUndefined();
    331331
    332     JSValuePtr program = argv[1].jsValue();
     332    JSValue program = argv[1].jsValue();
    333333
    334334    if (!program.isString())
     
    341341    RefPtr<EvalNode> evalNode = codeBlock->evalCodeCache().get(callFrame, programSource, scopeChain, exceptionValue);
    342342
    343     JSValuePtr result = jsUndefined();
     343    JSValue result = jsUndefined();
    344344    if (evalNode)
    345345        result = callFrame->globalData().interpreter->execute(evalNode.get(), callFrame, callFrame->thisValue().toThisObject(callFrame), callFrame->registers() - registerFile->start() + registerOffset, scopeChain, &exceptionValue);
     
    452452}
    453453
    454 NEVER_INLINE bool Interpreter::unwindCallFrame(CallFrame*& callFrame, JSValuePtr exceptionValue, unsigned& bytecodeOffset, CodeBlock*& codeBlock)
     454NEVER_INLINE bool Interpreter::unwindCallFrame(CallFrame*& callFrame, JSValue exceptionValue, unsigned& bytecodeOffset, CodeBlock*& codeBlock)
    455455{
    456456    CodeBlock* oldCodeBlock = codeBlock;
     
    495495}
    496496
    497 NEVER_INLINE HandlerInfo* Interpreter::throwException(CallFrame*& callFrame, JSValuePtr& exceptionValue, unsigned bytecodeOffset, bool explicitThrow)
     497NEVER_INLINE HandlerInfo* Interpreter::throwException(CallFrame*& callFrame, JSValue& exceptionValue, unsigned bytecodeOffset, bool explicitThrow)
    498498{
    499499    // Set up the exception object
     
    580580}
    581581
    582 JSValuePtr Interpreter::execute(ProgramNode* programNode, CallFrame* callFrame, ScopeChainNode* scopeChain, JSObject* thisObj, JSValuePtr* exception)
     582JSValue Interpreter::execute(ProgramNode* programNode, CallFrame* callFrame, ScopeChainNode* scopeChain, JSObject* thisObj, JSValue* exception)
    583583{
    584584    ASSERT(!scopeChain->globalData->exception);
     
    607607
    608608    CallFrame* newCallFrame = CallFrame::create(oldEnd + codeBlock->m_numParameters + RegisterFile::CallFrameHeaderSize);
    609     newCallFrame[codeBlock->thisRegister()] = JSValuePtr(thisObj);
     609    newCallFrame[codeBlock->thisRegister()] = JSValue(thisObj);
    610610    newCallFrame->init(codeBlock, 0, scopeChain, CallFrame::noCaller(), 0, 0, 0);
    611611
     
    617617        (*profiler)->willExecute(newCallFrame, programNode->sourceURL(), programNode->lineNo());
    618618
    619     JSValuePtr result;
     619    JSValue result;
    620620    {
    621621        SamplingTool::CallRecord callRecord(m_sampler);
     
    643643}
    644644
    645 JSValuePtr Interpreter::execute(FunctionBodyNode* functionBodyNode, CallFrame* callFrame, JSFunction* function, JSObject* thisObj, const ArgList& args, ScopeChainNode* scopeChain, JSValuePtr* exception)
     645JSValue Interpreter::execute(FunctionBodyNode* functionBodyNode, CallFrame* callFrame, JSFunction* function, JSObject* thisObj, const ArgList& args, ScopeChainNode* scopeChain, JSValue* exception)
    646646{
    647647    ASSERT(!scopeChain->globalData->exception);
     
    666666    CallFrame* newCallFrame = CallFrame::create(oldEnd);
    667667    size_t dst = 0;
    668     newCallFrame[0] = JSValuePtr(thisObj);
     668    newCallFrame[0] = JSValue(thisObj);
    669669    ArgList::const_iterator end = args.end();
    670670    for (ArgList::const_iterator it = args.begin(); it != end; ++it)
     
    685685        (*profiler)->willExecute(callFrame, function);
    686686
    687     JSValuePtr result;
     687    JSValue result;
    688688    {
    689689        SamplingTool::CallRecord callRecord(m_sampler);
     
    707707}
    708708
    709 CallFrameClosure Interpreter::prepareForRepeatCall(FunctionBodyNode* functionBodyNode, CallFrame* callFrame, JSFunction* function, int argCount, ScopeChainNode* scopeChain, JSValuePtr* exception)
     709CallFrameClosure Interpreter::prepareForRepeatCall(FunctionBodyNode* functionBodyNode, CallFrame* callFrame, JSFunction* function, int argCount, ScopeChainNode* scopeChain, JSValue* exception)
    710710{
    711711    ASSERT(!scopeChain->globalData->exception);
     
    749749}
    750750
    751 JSValuePtr Interpreter::execute(CallFrameClosure& closure, JSValuePtr* exception)
     751JSValue Interpreter::execute(CallFrameClosure& closure, JSValue* exception)
    752752{
    753753    closure.resetCallFrame();
     
    756756        (*profiler)->willExecute(closure.oldCallFrame, closure.function);
    757757   
    758     JSValuePtr result;
     758    JSValue result;
    759759    {
    760760        SamplingTool::CallRecord callRecord(m_sampler);
     
    779779}
    780780
    781 JSValuePtr Interpreter::execute(EvalNode* evalNode, CallFrame* callFrame, JSObject* thisObj, ScopeChainNode* scopeChain, JSValuePtr* exception)
     781JSValue Interpreter::execute(EvalNode* evalNode, CallFrame* callFrame, JSObject* thisObj, ScopeChainNode* scopeChain, JSValue* exception)
    782782{
    783783    return execute(evalNode, callFrame, thisObj, m_registerFile.size() + evalNode->bytecode(scopeChain).m_numParameters + RegisterFile::CallFrameHeaderSize, scopeChain, exception);
    784784}
    785785
    786 JSValuePtr Interpreter::execute(EvalNode* evalNode, CallFrame* callFrame, JSObject* thisObj, int globalRegisterOffset, ScopeChainNode* scopeChain, JSValuePtr* exception)
     786JSValue Interpreter::execute(EvalNode* evalNode, CallFrame* callFrame, JSObject* thisObj, int globalRegisterOffset, ScopeChainNode* scopeChain, JSValue* exception)
    787787{
    788788    ASSERT(!scopeChain->globalData->exception);
     
    841841
    842842    // a 0 codeBlock indicates a built-in caller
    843     newCallFrame[codeBlock->thisRegister()] = JSValuePtr(thisObj);
     843    newCallFrame[codeBlock->thisRegister()] = JSValue(thisObj);
    844844    newCallFrame->init(codeBlock, 0, scopeChain, callFrame->addHostCallFrameFlag(), 0, 0, 0);
    845845
     
    851851        (*profiler)->willExecute(newCallFrame, evalNode->sourceURL(), evalNode->lineNo());
    852852
    853     JSValuePtr result;
     853    JSValue result;
    854854    {
    855855        SamplingTool::CallRecord callRecord(m_sampler);
     
    906906    CodeBlock* codeBlock = callFrame->codeBlock();
    907907    Identifier& property = codeBlock->identifier((++vPC)->u.operand);
    908     JSValuePtr value = callFrame[(++vPC)->u.operand].jsValue();
     908    JSValue value = callFrame[(++vPC)->u.operand].jsValue();
    909909    JSObject* scope = new (callFrame) JSStaticScopeObject(callFrame, property, value, DontDelete);
    910     callFrame[dst] = JSValuePtr(scope);
     910    callFrame[dst] = JSValue(scope);
    911911
    912912    return callFrame->scopeChain()->push(scope);
    913913}
    914914
    915 NEVER_INLINE void Interpreter::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, Instruction* vPC, JSValuePtr baseValue, const PutPropertySlot& slot)
     915NEVER_INLINE void Interpreter::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, Instruction* vPC, JSValue baseValue, const PutPropertySlot& slot)
    916916{
    917917    // Recursive invocation may already have specialized this instruction.
     
    981981}
    982982
    983 NEVER_INLINE void Interpreter::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, Instruction* vPC, JSValuePtr baseValue, const Identifier& propertyName, const PropertySlot& slot)
     983NEVER_INLINE void Interpreter::tryCacheGetByID(CallFrame* callFrame, CodeBlock* codeBlock, Instruction* vPC, JSValue baseValue, const Identifier& propertyName, const PropertySlot& slot)
    984984{
    985985    // Recursive invocation may already have specialized this instruction.
     
    10801080}
    10811081
    1082 JSValuePtr Interpreter::privateExecute(ExecutionFlag flag, RegisterFile* registerFile, CallFrame* callFrame, JSValuePtr* exception)
     1082JSValue Interpreter::privateExecute(ExecutionFlag flag, RegisterFile* registerFile, CallFrame* callFrame, JSValue* exception)
    10831083{
    10841084    // One-time initialization of our address tables. We have to put this code
     
    11041104
    11051105    JSGlobalData* globalData = &callFrame->globalData();
    1106     JSValuePtr exceptionValue = noValue();
     1106    JSValue exceptionValue = noValue();
    11071107    HandlerInfo* handler = 0;
    11081108
     
    11651165        */
    11661166        int dst = (++vPC)->u.operand;
    1167         callFrame[dst] = JSValuePtr(constructEmptyObject(callFrame));
     1167        callFrame[dst] = JSValue(constructEmptyObject(callFrame));
    11681168
    11691169        ++vPC;
     
    11821182        int argCount = (++vPC)->u.operand;
    11831183        ArgList args(callFrame->registers() + firstArg, argCount);
    1184         callFrame[dst] = JSValuePtr(constructArray(callFrame, args));
     1184        callFrame[dst] = JSValue(constructArray(callFrame, args));
    11851185
    11861186        ++vPC;
     
    11961196        int dst = (++vPC)->u.operand;
    11971197        int regExp = (++vPC)->u.operand;
    1198         callFrame[dst] = JSValuePtr(new (globalData) RegExpObject(callFrame->scopeChain()->globalObject()->regExpStructure(), callFrame->codeBlock()->regexp(regExp)));
     1198        callFrame[dst] = JSValue(new (globalData) RegExpObject(callFrame->scopeChain()->globalObject()->regExpStructure(), callFrame->codeBlock()->regexp(regExp)));
    11991199
    12001200        ++vPC;
     
    12211221        */
    12221222        int dst = (++vPC)->u.operand;
    1223         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1224         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1223        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1224        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    12251225        if (JSFastMath::canDoFastBitwiseOperations(src1, src2))
    12261226            callFrame[dst] = JSFastMath::equal(src1, src2);
    12271227        else {
    1228             JSValuePtr result = jsBoolean(JSValuePtr::equalSlowCase(callFrame, src1, src2));
     1228            JSValue result = jsBoolean(JSValue::equalSlowCase(callFrame, src1, src2));
    12291229            CHECK_FOR_EXCEPTION();
    12301230            callFrame[dst] = result;
     
    12411241        */
    12421242        int dst = (++vPC)->u.operand;
    1243         JSValuePtr src = callFrame[(++vPC)->u.operand].jsValue();
     1243        JSValue src = callFrame[(++vPC)->u.operand].jsValue();
    12441244
    12451245        if (src.isUndefinedOrNull()) {
     
    12611261        */
    12621262        int dst = (++vPC)->u.operand;
    1263         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1264         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1263        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1264        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    12651265        if (JSFastMath::canDoFastBitwiseOperations(src1, src2))
    12661266            callFrame[dst] = JSFastMath::notEqual(src1, src2);
    12671267        else {
    1268             JSValuePtr result = jsBoolean(!JSValuePtr::equalSlowCase(callFrame, src1, src2));
     1268            JSValue result = jsBoolean(!JSValue::equalSlowCase(callFrame, src1, src2));
    12691269            CHECK_FOR_EXCEPTION();
    12701270            callFrame[dst] = result;
     
    12811281        */
    12821282        int dst = (++vPC)->u.operand;
    1283         JSValuePtr src = callFrame[(++vPC)->u.operand].jsValue();
     1283        JSValue src = callFrame[(++vPC)->u.operand].jsValue();
    12841284
    12851285        if (src.isUndefinedOrNull()) {
     
    13011301        */
    13021302        int dst = (++vPC)->u.operand;
    1303         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1304         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
    1305         callFrame[dst] = jsBoolean(JSValuePtr::strictEqual(src1, src2));
     1303        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1304        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
     1305        callFrame[dst] = jsBoolean(JSValue::strictEqual(src1, src2));
    13061306
    13071307        ++vPC;
     
    13161316        */
    13171317        int dst = (++vPC)->u.operand;
    1318         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1319         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
    1320         callFrame[dst] = jsBoolean(!JSValuePtr::strictEqual(src1, src2));
     1318        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1319        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
     1320        callFrame[dst] = jsBoolean(!JSValue::strictEqual(src1, src2));
    13211321
    13221322        ++vPC;
     
    13311331        */
    13321332        int dst = (++vPC)->u.operand;
    1333         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1334         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
    1335         JSValuePtr result = jsBoolean(jsLess(callFrame, src1, src2));
     1333        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1334        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
     1335        JSValue result = jsBoolean(jsLess(callFrame, src1, src2));
    13361336        CHECK_FOR_EXCEPTION();
    13371337        callFrame[dst] = result;
     
    13481348        */
    13491349        int dst = (++vPC)->u.operand;
    1350         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1351         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
    1352         JSValuePtr result = jsBoolean(jsLessEq(callFrame, src1, src2));
     1350        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1351        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
     1352        JSValue result = jsBoolean(jsLessEq(callFrame, src1, src2));
    13531353        CHECK_FOR_EXCEPTION();
    13541354        callFrame[dst] = result;
     
    13641364        */
    13651365        int srcDst = (++vPC)->u.operand;
    1366         JSValuePtr v = callFrame[srcDst].jsValue();
     1366        JSValue v = callFrame[srcDst].jsValue();
    13671367        if (JSFastMath::canDoFastAdditiveOperations(v))
    1368             callFrame[srcDst] = JSValuePtr(JSFastMath::incImmediateNumber(v));
     1368            callFrame[srcDst] = JSValue(JSFastMath::incImmediateNumber(v));
    13691369        else {
    1370             JSValuePtr result = jsNumber(callFrame, v.toNumber(callFrame) + 1);
     1370            JSValue result = jsNumber(callFrame, v.toNumber(callFrame) + 1);
    13711371            CHECK_FOR_EXCEPTION();
    13721372            callFrame[srcDst] = result;
     
    13831383        */
    13841384        int srcDst = (++vPC)->u.operand;
    1385         JSValuePtr v = callFrame[srcDst].jsValue();
     1385        JSValue v = callFrame[srcDst].jsValue();
    13861386        if (JSFastMath::canDoFastAdditiveOperations(v))
    1387             callFrame[srcDst] = JSValuePtr(JSFastMath::decImmediateNumber(v));
     1387            callFrame[srcDst] = JSValue(JSFastMath::decImmediateNumber(v));
    13881388        else {
    1389             JSValuePtr result = jsNumber(callFrame, v.toNumber(callFrame) - 1);
     1389            JSValue result = jsNumber(callFrame, v.toNumber(callFrame) - 1);
    13901390            CHECK_FOR_EXCEPTION();
    13911391            callFrame[srcDst] = result;
     
    14041404        int dst = (++vPC)->u.operand;
    14051405        int srcDst = (++vPC)->u.operand;
    1406         JSValuePtr v = callFrame[srcDst].jsValue();
     1406        JSValue v = callFrame[srcDst].jsValue();
    14071407        if (JSFastMath::canDoFastAdditiveOperations(v)) {
    14081408            callFrame[dst] = v;
    1409             callFrame[srcDst] = JSValuePtr(JSFastMath::incImmediateNumber(v));
     1409            callFrame[srcDst] = JSValue(JSFastMath::incImmediateNumber(v));
    14101410        } else {
    1411             JSValuePtr number = callFrame[srcDst].jsValue().toJSNumber(callFrame);
     1411            JSValue number = callFrame[srcDst].jsValue().toJSNumber(callFrame);
    14121412            CHECK_FOR_EXCEPTION();
    14131413            callFrame[dst] = number;
    1414             callFrame[srcDst] = JSValuePtr(jsNumber(callFrame, number.uncheckedGetNumber() + 1));
     1414            callFrame[srcDst] = JSValue(jsNumber(callFrame, number.uncheckedGetNumber() + 1));
    14151415        }
    14161416
     
    14271427        int dst = (++vPC)->u.operand;
    14281428        int srcDst = (++vPC)->u.operand;
    1429         JSValuePtr v = callFrame[srcDst].jsValue();
     1429        JSValue v = callFrame[srcDst].jsValue();
    14301430        if (JSFastMath::canDoFastAdditiveOperations(v)) {
    14311431            callFrame[dst] = v;
    1432             callFrame[srcDst] = JSValuePtr(JSFastMath::decImmediateNumber(v));
     1432            callFrame[srcDst] = JSValue(JSFastMath::decImmediateNumber(v));
    14331433        } else {
    1434             JSValuePtr number = callFrame[srcDst].jsValue().toJSNumber(callFrame);
     1434            JSValue number = callFrame[srcDst].jsValue().toJSNumber(callFrame);
    14351435            CHECK_FOR_EXCEPTION();
    14361436            callFrame[dst] = number;
    1437             callFrame[srcDst] = JSValuePtr(jsNumber(callFrame, number.uncheckedGetNumber() - 1));
     1437            callFrame[srcDst] = JSValue(jsNumber(callFrame, number.uncheckedGetNumber() - 1));
    14381438        }
    14391439
     
    14501450        int src = (++vPC)->u.operand;
    14511451
    1452         JSValuePtr srcVal = callFrame[src].jsValue();
     1452        JSValue srcVal = callFrame[src].jsValue();
    14531453
    14541454        if (LIKELY(srcVal.isNumber()))
    14551455            callFrame[dst] = callFrame[src];
    14561456        else {
    1457             JSValuePtr result = srcVal.toJSNumber(callFrame);
     1457            JSValue result = srcVal.toJSNumber(callFrame);
    14581458            CHECK_FOR_EXCEPTION();
    14591459            callFrame[dst] = result;
     
    14701470        */
    14711471        int dst = (++vPC)->u.operand;
    1472         JSValuePtr src = callFrame[(++vPC)->u.operand].jsValue();
     1472        JSValue src = callFrame[(++vPC)->u.operand].jsValue();
    14731473        ++vPC;
    14741474        double v;
    14751475        if (src.getNumber(v))
    1476             callFrame[dst] = JSValuePtr(jsNumber(callFrame, -v));
     1476            callFrame[dst] = JSValue(jsNumber(callFrame, -v));
    14771477        else {
    1478             JSValuePtr result = jsNumber(callFrame, -src.toNumber(callFrame));
     1478            JSValue result = jsNumber(callFrame, -src.toNumber(callFrame));
    14791479            CHECK_FOR_EXCEPTION();
    14801480            callFrame[dst] = result;
     
    14911491        */
    14921492        int dst = (++vPC)->u.operand;
    1493         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1494         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1493        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1494        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    14951495        if (JSFastMath::canDoFastAdditiveOperations(src1, src2))
    1496             callFrame[dst] = JSValuePtr(JSFastMath::addImmediateNumbers(src1, src2));
     1496            callFrame[dst] = JSValue(JSFastMath::addImmediateNumbers(src1, src2));
    14971497        else {
    1498             JSValuePtr result = jsAdd(callFrame, src1, src2);
     1498            JSValue result = jsAdd(callFrame, src1, src2);
    14991499            CHECK_FOR_EXCEPTION();
    15001500            callFrame[dst] = result;
     
    15101510        */
    15111511        int dst = (++vPC)->u.operand;
    1512         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1513         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1512        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1513        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    15141514        double left;
    15151515        double right;
    1516         if (JSValuePtr::areBothInt32Fast(src1, src2)) {
     1516        if (JSValue::areBothInt32Fast(src1, src2)) {
    15171517            int32_t left = src1.getInt32Fast();
    15181518            int32_t right = src2.getInt32Fast();
    15191519            if ((left | right) >> 15 == 0)
    1520                 callFrame[dst] = JSValuePtr(jsNumber(callFrame, left * right));
     1520                callFrame[dst] = JSValue(jsNumber(callFrame, left * right));
    15211521            else
    1522                 callFrame[dst] = JSValuePtr(jsNumber(callFrame, static_cast<double>(left) * static_cast<double>(right)));
     1522                callFrame[dst] = JSValue(jsNumber(callFrame, static_cast<double>(left) * static_cast<double>(right)));
    15231523        } else if (src1.getNumber(left) && src2.getNumber(right))
    1524             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left * right));
     1524            callFrame[dst] = JSValue(jsNumber(callFrame, left * right));
    15251525        else {
    1526             JSValuePtr result = jsNumber(callFrame, src1.toNumber(callFrame) * src2.toNumber(callFrame));
     1526            JSValue result = jsNumber(callFrame, src1.toNumber(callFrame) * src2.toNumber(callFrame));
    15271527            CHECK_FOR_EXCEPTION();
    15281528            callFrame[dst] = result;
     
    15401540        */
    15411541        int dst = (++vPC)->u.operand;
    1542         JSValuePtr dividend = callFrame[(++vPC)->u.operand].jsValue();
    1543         JSValuePtr divisor = callFrame[(++vPC)->u.operand].jsValue();
     1542        JSValue dividend = callFrame[(++vPC)->u.operand].jsValue();
     1543        JSValue divisor = callFrame[(++vPC)->u.operand].jsValue();
    15441544        double left;
    15451545        double right;
    15461546        if (dividend.getNumber(left) && divisor.getNumber(right))
    1547             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left / right));
     1547            callFrame[dst] = JSValue(jsNumber(callFrame, left / right));
    15481548        else {
    1549             JSValuePtr result = jsNumber(callFrame, dividend.toNumber(callFrame) / divisor.toNumber(callFrame));
     1549            JSValue result = jsNumber(callFrame, dividend.toNumber(callFrame) / divisor.toNumber(callFrame));
    15501550            CHECK_FOR_EXCEPTION();
    15511551            callFrame[dst] = result;
     
    15651565        int divisor = (++vPC)->u.operand;
    15661566
    1567         JSValuePtr dividendValue = callFrame[dividend].jsValue();
    1568         JSValuePtr divisorValue = callFrame[divisor].jsValue();
    1569 
    1570         if (JSValuePtr::areBothInt32Fast(dividendValue, divisorValue) && divisorValue != jsNumber(callFrame, 0)) {
     1567        JSValue dividendValue = callFrame[dividend].jsValue();
     1568        JSValue divisorValue = callFrame[divisor].jsValue();
     1569
     1570        if (JSValue::areBothInt32Fast(dividendValue, divisorValue) && divisorValue != jsNumber(callFrame, 0)) {
    15711571            // We expect the result of the modulus of a number that was representable as an int32 to also be representable
    15721572            // as an int32.
    1573             JSValuePtr result = JSValuePtr::makeInt32Fast(dividendValue.getInt32Fast() % divisorValue.getInt32Fast());
     1573            JSValue result = JSValue::makeInt32Fast(dividendValue.getInt32Fast() % divisorValue.getInt32Fast());
    15741574            ASSERT(result);
    15751575            callFrame[dst] = result;
     
    15791579
    15801580        double d = dividendValue.toNumber(callFrame);
    1581         JSValuePtr result = jsNumber(callFrame, fmod(d, divisorValue.toNumber(callFrame)));
     1581        JSValue result = jsNumber(callFrame, fmod(d, divisorValue.toNumber(callFrame)));
    15821582        CHECK_FOR_EXCEPTION();
    15831583        callFrame[dst] = result;
     
    15931593        */
    15941594        int dst = (++vPC)->u.operand;
    1595         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1596         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1595        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1596        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    15971597        double left;
    15981598        double right;
    15991599        if (JSFastMath::canDoFastAdditiveOperations(src1, src2))
    1600             callFrame[dst] = JSValuePtr(JSFastMath::subImmediateNumbers(src1, src2));
     1600            callFrame[dst] = JSValue(JSFastMath::subImmediateNumbers(src1, src2));
    16011601        else if (src1.getNumber(left) && src2.getNumber(right))
    1602             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left - right));
     1602            callFrame[dst] = JSValue(jsNumber(callFrame, left - right));
    16031603        else {
    1604             JSValuePtr result = jsNumber(callFrame, src1.toNumber(callFrame) - src2.toNumber(callFrame));
     1604            JSValue result = jsNumber(callFrame, src1.toNumber(callFrame) - src2.toNumber(callFrame));
    16051605            CHECK_FOR_EXCEPTION();
    16061606            callFrame[dst] = result;
     
    16171617        */
    16181618        int dst = (++vPC)->u.operand;
    1619         JSValuePtr val = callFrame[(++vPC)->u.operand].jsValue();
    1620         JSValuePtr shift = callFrame[(++vPC)->u.operand].jsValue();
     1619        JSValue val = callFrame[(++vPC)->u.operand].jsValue();
     1620        JSValue shift = callFrame[(++vPC)->u.operand].jsValue();
    16211621        int32_t left;
    16221622        uint32_t right;
    1623         if (JSValuePtr::areBothInt32Fast(val, shift))
    1624             callFrame[dst] = JSValuePtr(jsNumber(callFrame, val.getInt32Fast() << (shift.getInt32Fast() & 0x1f)));
     1623        if (JSValue::areBothInt32Fast(val, shift))
     1624            callFrame[dst] = JSValue(jsNumber(callFrame, val.getInt32Fast() << (shift.getInt32Fast() & 0x1f)));
    16251625        else if (val.numberToInt32(left) && shift.numberToUInt32(right))
    1626             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left << (right & 0x1f)));
     1626            callFrame[dst] = JSValue(jsNumber(callFrame, left << (right & 0x1f)));
    16271627        else {
    1628             JSValuePtr result = jsNumber(callFrame, (val.toInt32(callFrame)) << (shift.toUInt32(callFrame) & 0x1f));
     1628            JSValue result = jsNumber(callFrame, (val.toInt32(callFrame)) << (shift.toUInt32(callFrame) & 0x1f));
    16291629            CHECK_FOR_EXCEPTION();
    16301630            callFrame[dst] = result;
     
    16421642        */
    16431643        int dst = (++vPC)->u.operand;
    1644         JSValuePtr val = callFrame[(++vPC)->u.operand].jsValue();
    1645         JSValuePtr shift = callFrame[(++vPC)->u.operand].jsValue();
     1644        JSValue val = callFrame[(++vPC)->u.operand].jsValue();
     1645        JSValue shift = callFrame[(++vPC)->u.operand].jsValue();
    16461646        int32_t left;
    16471647        uint32_t right;
    16481648        if (JSFastMath::canDoFastRshift(val, shift))
    1649             callFrame[dst] = JSValuePtr(JSFastMath::rightShiftImmediateNumbers(val, shift));
     1649            callFrame[dst] = JSValue(JSFastMath::rightShiftImmediateNumbers(val, shift));
    16501650        else if (val.numberToInt32(left) && shift.numberToUInt32(right))
    1651             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left >> (right & 0x1f)));
     1651            callFrame[dst] = JSValue(jsNumber(callFrame, left >> (right & 0x1f)));
    16521652        else {
    1653             JSValuePtr result = jsNumber(callFrame, (val.toInt32(callFrame)) >> (shift.toUInt32(callFrame) & 0x1f));
     1653            JSValue result = jsNumber(callFrame, (val.toInt32(callFrame)) >> (shift.toUInt32(callFrame) & 0x1f));
    16541654            CHECK_FOR_EXCEPTION();
    16551655            callFrame[dst] = result;
     
    16671667        */
    16681668        int dst = (++vPC)->u.operand;
    1669         JSValuePtr val = callFrame[(++vPC)->u.operand].jsValue();
    1670         JSValuePtr shift = callFrame[(++vPC)->u.operand].jsValue();
     1669        JSValue val = callFrame[(++vPC)->u.operand].jsValue();
     1670        JSValue shift = callFrame[(++vPC)->u.operand].jsValue();
    16711671        if (JSFastMath::canDoFastUrshift(val, shift))
    1672             callFrame[dst] = JSValuePtr(JSFastMath::rightShiftImmediateNumbers(val, shift));
     1672            callFrame[dst] = JSValue(JSFastMath::rightShiftImmediateNumbers(val, shift));
    16731673        else {
    1674             JSValuePtr result = jsNumber(callFrame, (val.toUInt32(callFrame)) >> (shift.toUInt32(callFrame) & 0x1f));
     1674            JSValue result = jsNumber(callFrame, (val.toUInt32(callFrame)) >> (shift.toUInt32(callFrame) & 0x1f));
    16751675            CHECK_FOR_EXCEPTION();
    16761676            callFrame[dst] = result;
     
    16881688        */
    16891689        int dst = (++vPC)->u.operand;
    1690         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1691         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1690        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1691        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    16921692        int32_t left;
    16931693        int32_t right;
    16941694        if (JSFastMath::canDoFastBitwiseOperations(src1, src2))
    1695             callFrame[dst] = JSValuePtr(JSFastMath::andImmediateNumbers(src1, src2));
     1695            callFrame[dst] = JSValue(JSFastMath::andImmediateNumbers(src1, src2));
    16961696        else if (src1.numberToInt32(left) && src2.numberToInt32(right))
    1697             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left & right));
     1697            callFrame[dst] = JSValue(jsNumber(callFrame, left & right));
    16981698        else {
    1699             JSValuePtr result = jsNumber(callFrame, src1.toInt32(callFrame) & src2.toInt32(callFrame));
     1699            JSValue result = jsNumber(callFrame, src1.toInt32(callFrame) & src2.toInt32(callFrame));
    17001700            CHECK_FOR_EXCEPTION();
    17011701            callFrame[dst] = result;
     
    17131713        */
    17141714        int dst = (++vPC)->u.operand;
    1715         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1716         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1715        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1716        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    17171717        int32_t left;
    17181718        int32_t right;
    17191719        if (JSFastMath::canDoFastBitwiseOperations(src1, src2))
    1720             callFrame[dst] = JSValuePtr(JSFastMath::xorImmediateNumbers(src1, src2));
     1720            callFrame[dst] = JSValue(JSFastMath::xorImmediateNumbers(src1, src2));
    17211721        else if (src1.numberToInt32(left) && src2.numberToInt32(right))
    1722             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left ^ right));
     1722            callFrame[dst] = JSValue(jsNumber(callFrame, left ^ right));
    17231723        else {
    1724             JSValuePtr result = jsNumber(callFrame, src1.toInt32(callFrame) ^ src2.toInt32(callFrame));
     1724            JSValue result = jsNumber(callFrame, src1.toInt32(callFrame) ^ src2.toInt32(callFrame));
    17251725            CHECK_FOR_EXCEPTION();
    17261726            callFrame[dst] = result;
     
    17381738        */
    17391739        int dst = (++vPC)->u.operand;
    1740         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    1741         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     1740        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     1741        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    17421742        int32_t left;
    17431743        int32_t right;
    17441744        if (JSFastMath::canDoFastBitwiseOperations(src1, src2))
    1745             callFrame[dst] = JSValuePtr(JSFastMath::orImmediateNumbers(src1, src2));
     1745            callFrame[dst] = JSValue(JSFastMath::orImmediateNumbers(src1, src2));
    17461746        else if (src1.numberToInt32(left) && src2.numberToInt32(right))
    1747             callFrame[dst] = JSValuePtr(jsNumber(callFrame, left | right));
     1747            callFrame[dst] = JSValue(jsNumber(callFrame, left | right));
    17481748        else {
    1749             JSValuePtr result = jsNumber(callFrame, src1.toInt32(callFrame) | src2.toInt32(callFrame));
     1749            JSValue result = jsNumber(callFrame, src1.toInt32(callFrame) | src2.toInt32(callFrame));
    17501750            CHECK_FOR_EXCEPTION();
    17511751            callFrame[dst] = result;
     
    17621762        */
    17631763        int dst = (++vPC)->u.operand;
    1764         JSValuePtr src = callFrame[(++vPC)->u.operand].jsValue();
     1764        JSValue src = callFrame[(++vPC)->u.operand].jsValue();
    17651765        int32_t value;
    17661766        if (src.numberToInt32(value))
    1767             callFrame[dst] = JSValuePtr(jsNumber(callFrame, ~value));
     1767            callFrame[dst] = JSValue(jsNumber(callFrame, ~value));
    17681768        else {
    1769             JSValuePtr result = jsNumber(callFrame, ~src.toInt32(callFrame));
     1769            JSValue result = jsNumber(callFrame, ~src.toInt32(callFrame));
    17701770            CHECK_FOR_EXCEPTION();
    17711771            callFrame[dst] = result;
     
    17821782        int dst = (++vPC)->u.operand;
    17831783        int src = (++vPC)->u.operand;
    1784         JSValuePtr result = jsBoolean(!callFrame[src].jsValue().toBoolean(callFrame));
     1784        JSValue result = jsBoolean(!callFrame[src].jsValue().toBoolean(callFrame));
    17851785        CHECK_FOR_EXCEPTION();
    17861786        callFrame[dst] = result;
     
    18071807        int baseProto = vPC[4].u.operand;
    18081808
    1809         JSValuePtr baseVal = callFrame[base].jsValue();
     1809        JSValue baseVal = callFrame[base].jsValue();
    18101810
    18111811        if (isNotObject(callFrame, true, callFrame->codeBlock(), vPC, baseVal, exceptionValue))
     
    18311831        int dst = (++vPC)->u.operand;
    18321832        int src = (++vPC)->u.operand;
    1833         callFrame[dst] = JSValuePtr(jsTypeStringForValue(callFrame, callFrame[src].jsValue()));
     1833        callFrame[dst] = JSValue(jsTypeStringForValue(callFrame, callFrame[src].jsValue()));
    18341834
    18351835        ++vPC;
     
    18451845        int dst = (++vPC)->u.operand;
    18461846        int src = (++vPC)->u.operand;
    1847         JSValuePtr v = callFrame[src].jsValue();
     1847        JSValue v = callFrame[src].jsValue();
    18481848        callFrame[dst] = jsBoolean(v.isCell() ? v.asCell()->structure()->typeInfo().masqueradesAsUndefined() : v.isUndefined());
    18491849
     
    19341934        int base = (++vPC)->u.operand;
    19351935
    1936         JSValuePtr baseVal = callFrame[base].jsValue();
     1936        JSValue baseVal = callFrame[base].jsValue();
    19371937        if (isNotObject(callFrame, false, callFrame->codeBlock(), vPC, baseVal, exceptionValue))
    19381938            goto vm_throw;
     
    19401940        JSObject* baseObj = asObject(baseVal);
    19411941
    1942         JSValuePtr propName = callFrame[property].jsValue();
     1942        JSValue propName = callFrame[property].jsValue();
    19431943
    19441944        uint32_t i;
     
    20202020        int value = (++vPC)->u.operand;
    20212021       
    2022         scope->registerAt(index) = JSValuePtr(callFrame[value].jsValue());
     2022        scope->registerAt(index) = JSValue(callFrame[value].jsValue());
    20232023        ++vPC;
    20242024        NEXT_INSTRUCTION();
     
    20682068        ASSERT((*iter)->isVariableObject());
    20692069        JSVariableObject* scope = static_cast<JSVariableObject*>(*iter);
    2070         scope->registerAt(index) = JSValuePtr(callFrame[value].jsValue());
     2070        scope->registerAt(index) = JSValue(callFrame[value].jsValue());
    20712071        ++vPC;
    20722072        NEXT_INSTRUCTION();
     
    21362136        CodeBlock* codeBlock = callFrame->codeBlock();
    21372137        Identifier& ident = codeBlock->identifier(property);
    2138         JSValuePtr baseValue = callFrame[base].jsValue();
     2138        JSValue baseValue = callFrame[base].jsValue();
    21392139        PropertySlot slot(baseValue);
    2140         JSValuePtr result = baseValue.get(callFrame, ident, slot);
     2140        JSValue result = baseValue.get(callFrame, ident, slot);
    21412141        CHECK_FOR_EXCEPTION();
    21422142
     
    21552155        */
    21562156        int base = vPC[2].u.operand;
    2157         JSValuePtr baseValue = callFrame[base].jsValue();
     2157        JSValue baseValue = callFrame[base].jsValue();
    21582158
    21592159        if (LIKELY(baseValue.isCell())) {
     
    21682168
    21692169                ASSERT(baseObject->get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == baseObject->getDirectOffset(offset));
    2170                 callFrame[dst] = JSValuePtr(baseObject->getDirectOffset(offset));
     2170                callFrame[dst] = JSValue(baseObject->getDirectOffset(offset));
    21712171
    21722172                vPC += 8;
     
    21862186        */
    21872187        int base = vPC[2].u.operand;
    2188         JSValuePtr baseValue = callFrame[base].jsValue();
     2188        JSValue baseValue = callFrame[base].jsValue();
    21892189
    21902190        if (LIKELY(baseValue.isCell())) {
     
    22022202
    22032203                    ASSERT(protoObject->get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == protoObject->getDirectOffset(offset));
    2204                     callFrame[dst] = JSValuePtr(protoObject->getDirectOffset(offset));
     2204                    callFrame[dst] = JSValue(protoObject->getDirectOffset(offset));
    22052205
    22062206                    vPC += 8;
     
    22352235        */
    22362236        int base = vPC[2].u.operand;
    2237         JSValuePtr baseValue = callFrame[base].jsValue();
     2237        JSValue baseValue = callFrame[base].jsValue();
    22382238
    22392239        if (LIKELY(baseValue.isCell())) {
     
    22572257
    22582258                        ASSERT(baseObject->get(callFrame, callFrame->codeBlock()->identifier(vPC[3].u.operand)) == baseObject->getDirectOffset(offset));
    2259                         callFrame[dst] = JSValuePtr(baseObject->getDirectOffset(offset));
     2259                        callFrame[dst] = JSValue(baseObject->getDirectOffset(offset));
    22602260
    22612261                        vPC += 8;
     
    22832283
    22842284        Identifier& ident = callFrame->codeBlock()->identifier(property);
    2285         JSValuePtr baseValue = callFrame[base].jsValue();
     2285        JSValue baseValue = callFrame[base].jsValue();
    22862286        PropertySlot slot(baseValue);
    2287         JSValuePtr result = baseValue.get(callFrame, ident, slot);
     2287        JSValue result = baseValue.get(callFrame, ident, slot);
    22882288        CHECK_FOR_EXCEPTION();
    22892289
     
    23012301
    23022302        int base = vPC[2].u.operand;
    2303         JSValuePtr baseValue = callFrame[base].jsValue();
     2303        JSValue baseValue = callFrame[base].jsValue();
    23042304        if (LIKELY(isJSArray(globalData, baseValue))) {
    23052305            int dst = vPC[1].u.operand;
    2306             callFrame[dst] = JSValuePtr(jsNumber(callFrame, asArray(baseValue)->length()));
     2306            callFrame[dst] = JSValue(jsNumber(callFrame, asArray(baseValue)->length()));
    23072307            vPC += 8;
    23082308            NEXT_INSTRUCTION();
     
    23212321
    23222322        int base = vPC[2].u.operand;
    2323         JSValuePtr baseValue = callFrame[base].jsValue();
     2323        JSValue baseValue = callFrame[base].jsValue();
    23242324        if (LIKELY(isJSString(globalData, baseValue))) {
    23252325            int dst = vPC[1].u.operand;
    2326             callFrame[dst] = JSValuePtr(jsNumber(callFrame, asString(baseValue)->value().size()));
     2326            callFrame[dst] = JSValue(jsNumber(callFrame, asString(baseValue)->value().size()));
    23272327            vPC += 8;
    23282328            NEXT_INSTRUCTION();
     
    23472347
    23482348        CodeBlock* codeBlock = callFrame->codeBlock();
    2349         JSValuePtr baseValue = callFrame[base].jsValue();
     2349        JSValue baseValue = callFrame[base].jsValue();
    23502350        Identifier& ident = codeBlock->identifier(property);
    23512351        PutPropertySlot slot;
     
    23702370         */
    23712371        int base = vPC[1].u.operand;
    2372         JSValuePtr baseValue = callFrame[base].jsValue();
     2372        JSValue baseValue = callFrame[base].jsValue();
    23732373       
    23742374        if (LIKELY(baseValue.isCell())) {
     
    23832383                RefPtr<Structure>* it = vPC[6].u.structureChain->head();
    23842384
    2385                 JSValuePtr proto = baseObject->structure()->prototypeForLookup(callFrame);
     2385                JSValue proto = baseObject->structure()->prototypeForLookup(callFrame);
    23862386                while (!proto.isNull()) {
    23872387                    if (UNLIKELY(asObject(proto)->structure() != (*it).get())) {
     
    24202420        */
    24212421        int base = vPC[1].u.operand;
    2422         JSValuePtr baseValue = callFrame[base].jsValue();
     2422        JSValue baseValue = callFrame[base].jsValue();
    24232423
    24242424        if (LIKELY(baseValue.isCell())) {
     
    24562456        int value = vPC[3].u.operand;
    24572457
    2458         JSValuePtr baseValue = callFrame[base].jsValue();
     2458        JSValue baseValue = callFrame[base].jsValue();
    24592459        Identifier& ident = callFrame->codeBlock()->identifier(property);
    24602460        PutPropertySlot slot;
     
    24792479        JSObject* baseObj = callFrame[base].jsValue().toObject(callFrame);
    24802480        Identifier& ident = callFrame->codeBlock()->identifier(property);
    2481         JSValuePtr result = jsBoolean(baseObj->deleteProperty(callFrame, ident));
     2481        JSValue result = jsBoolean(baseObj->deleteProperty(callFrame, ident));
    24822482        CHECK_FOR_EXCEPTION();
    24832483        callFrame[dst] = result;
     
    24972497        int property = (++vPC)->u.operand;
    24982498       
    2499         JSValuePtr baseValue = callFrame[base].jsValue();
    2500         JSValuePtr subscript = callFrame[property].jsValue();
    2501 
    2502         JSValuePtr result;
     2499        JSValue baseValue = callFrame[base].jsValue();
     2500        JSValue subscript = callFrame[property].jsValue();
     2501
     2502        JSValue result;
    25032503
    25042504        if (LIKELY(subscript.isUInt32Fast())) {
     
    25412541        int value = (++vPC)->u.operand;
    25422542
    2543         JSValuePtr baseValue = callFrame[base].jsValue();
    2544         JSValuePtr subscript = callFrame[property].jsValue();
     2543        JSValue baseValue = callFrame[base].jsValue();
     2544        JSValue subscript = callFrame[property].jsValue();
    25452545
    25462546        if (LIKELY(subscript.isUInt32Fast())) {
     
    25552555                JSByteArray* jsByteArray = asByteArray(baseValue);
    25562556                double dValue = 0;
    2557                 JSValuePtr jsValue = callFrame[value].jsValue();
     2557                JSValue jsValue = callFrame[value].jsValue();
    25582558                if (jsValue.isInt32Fast())
    25592559                    jsByteArray->setIndex(i, jsValue.getInt32Fast());
     
    25902590        JSObject* baseObj = callFrame[base].jsValue().toObject(callFrame); // may throw
    25912591
    2592         JSValuePtr subscript = callFrame[property].jsValue();
    2593         JSValuePtr result;
     2592        JSValue subscript = callFrame[property].jsValue();
     2593        JSValue result;
    25942594        uint32_t i;
    25952595        if (subscript.getUInt32(i))
     
    27192719        int src = (++vPC)->u.operand;
    27202720        int target = (++vPC)->u.operand;
    2721         JSValuePtr srcValue = callFrame[src].jsValue();
     2721        JSValue srcValue = callFrame[src].jsValue();
    27222722
    27232723        if (srcValue.isUndefinedOrNull() || (srcValue.isCell() && srcValue.asCell()->structure()->typeInfo().masqueradesAsUndefined())) {
     
    27372737        int src = (++vPC)->u.operand;
    27382738        int target = (++vPC)->u.operand;
    2739         JSValuePtr srcValue = callFrame[src].jsValue();
     2739        JSValue srcValue = callFrame[src].jsValue();
    27402740
    27412741        if (!srcValue.isUndefinedOrNull() || (srcValue.isCell() && !srcValue.asCell()->structure()->typeInfo().masqueradesAsUndefined())) {
     
    27542754         */
    27552755        int src = (++vPC)->u.operand;
    2756         JSValuePtr ptr = JSValuePtr((++vPC)->u.jsCell);
     2756        JSValue ptr = JSValue((++vPC)->u.jsCell);
    27572757        int target = (++vPC)->u.operand;
    2758         JSValuePtr srcValue = callFrame[src].jsValue();
     2758        JSValue srcValue = callFrame[src].jsValue();
    27592759        if (srcValue != ptr) {
    27602760            vPC += target;
     
    27762776           the JS timeout is reached.
    27772777         */
    2778         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    2779         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     2778        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     2779        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    27802780        int target = (++vPC)->u.operand;
    27812781       
     
    28032803           the JS timeout is reached.
    28042804        */
    2805         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    2806         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     2805        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     2806        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    28072807        int target = (++vPC)->u.operand;
    28082808       
     
    28272827           result of the comparison is false.
    28282828        */
    2829         JSValuePtr src1 = callFrame[(++vPC)->u.operand].jsValue();
    2830         JSValuePtr src2 = callFrame[(++vPC)->u.operand].jsValue();
     2829        JSValue src1 = callFrame[(++vPC)->u.operand].jsValue();
     2830        JSValue src2 = callFrame[(++vPC)->u.operand].jsValue();
    28312831        int target = (++vPC)->u.operand;
    28322832
     
    28532853        int tableIndex = (++vPC)->u.operand;
    28542854        int defaultOffset = (++vPC)->u.operand;
    2855         JSValuePtr scrutinee = callFrame[(++vPC)->u.operand].jsValue();
     2855        JSValue scrutinee = callFrame[(++vPC)->u.operand].jsValue();
    28562856        if (scrutinee.isInt32Fast())
    28572857            vPC += callFrame->codeBlock()->immediateSwitchJumpTable(tableIndex).offsetForValue(scrutinee.getInt32Fast(), defaultOffset);
     
    28772877        int tableIndex = (++vPC)->u.operand;
    28782878        int defaultOffset = (++vPC)->u.operand;
    2879         JSValuePtr scrutinee = callFrame[(++vPC)->u.operand].jsValue();
     2879        JSValue scrutinee = callFrame[(++vPC)->u.operand].jsValue();
    28802880        if (!scrutinee.isString())
    28812881            vPC += defaultOffset;
     
    29002900        int tableIndex = (++vPC)->u.operand;
    29012901        int defaultOffset = (++vPC)->u.operand;
    2902         JSValuePtr scrutinee = callFrame[(++vPC)->u.operand].jsValue();
     2902        JSValue scrutinee = callFrame[(++vPC)->u.operand].jsValue();
    29032903        if (!scrutinee.isString())
    29042904            vPC += defaultOffset;
     
    29562956        int registerOffset = vPC[4].u.operand;
    29572957
    2958         JSValuePtr funcVal = callFrame[func].jsValue();
     2958        JSValue funcVal = callFrame[func].jsValue();
    29592959
    29602960        Register* newCallFrame = callFrame->registers() + registerOffset;
    29612961        Register* argv = newCallFrame - RegisterFile::CallFrameHeaderSize - argCount;
    2962         JSValuePtr thisValue = argv[0].jsValue();
     2962        JSValue thisValue = argv[0].jsValue();
    29632963        JSGlobalObject* globalObject = callFrame->scopeChain()->globalObject();
    29642964
    29652965        if (thisValue == globalObject && funcVal == globalObject->evalFunction()) {
    2966             JSValuePtr result = callEval(callFrame, registerFile, argv, argCount, registerOffset, exceptionValue);
     2966            JSValue result = callEval(callFrame, registerFile, argv, argCount, registerOffset, exceptionValue);
    29672967            if (exceptionValue)
    29682968                goto vm_throw;
     
    29932993        int registerOffset = vPC[4].u.operand;
    29942994
    2995         JSValuePtr v = callFrame[func].jsValue();
     2995        JSValue v = callFrame[func].jsValue();
    29962996
    29972997        CallData callData;
     
    30313031
    30323032            // FIXME: All host methods should be calling toThisObject, but this is not presently the case.
    3033             JSValuePtr thisValue = thisRegister->jsValue();
     3033            JSValue thisValue = thisRegister->jsValue();
    30343034            if (thisValue == jsNull())
    30353035                thisValue = callFrame->globalThisValue();
    30363036
    3037             JSValuePtr returnValue;
     3037            JSValue returnValue;
    30383038            {
    30393039                SamplingTool::HostCallRecord callRecord(m_sampler);
     
    30423042            CHECK_FOR_EXCEPTION();
    30433043
    3044             callFrame[dst] = JSValuePtr(returnValue);
     3044            callFrame[dst] = JSValue(returnValue);
    30453045
    30463046            vPC += 5;
     
    30573057        int argsOffset = (++vPC)->u.operand;
    30583058       
    3059         JSValuePtr arguments = callFrame[argsOffset].jsValue();
     3059        JSValue arguments = callFrame[argsOffset].jsValue();
    30603060        uint32_t argCount = 0;
    30613061        if (!arguments.isUndefinedOrNull()) {
     
    31273127        int registerOffset = vPC[4].u.operand;
    31283128       
    3129         JSValuePtr v = callFrame[func].jsValue();
     3129        JSValue v = callFrame[func].jsValue();
    31303130        int argCount = callFrame[argCountReg].i();
    31313131        registerOffset += argCount;
     
    31663166           
    31673167            // FIXME: All host methods should be calling toThisObject, but this is not presently the case.
    3168             JSValuePtr thisValue = thisRegister->jsValue();
     3168            JSValue thisValue = thisRegister->jsValue();
    31693169            if (thisValue == jsNull())
    31703170                thisValue = callFrame->globalThisValue();
    31713171           
    3172             JSValuePtr returnValue;
     3172            JSValue returnValue;
    31733173            {
    31743174                SamplingTool::HostCallRecord callRecord(m_sampler);
     
    31773177            CHECK_FOR_EXCEPTION();
    31783178           
    3179             callFrame[dst] = JSValuePtr(returnValue);
     3179            callFrame[dst] = JSValue(returnValue);
    31803180           
    31813181            vPC += 5;
     
    32443244            callFrame->scopeChain()->deref();
    32453245
    3246         JSValuePtr returnValue = callFrame[result].jsValue();
     3246        JSValue returnValue = callFrame[result].jsValue();
    32473247
    32483248        vPC = callFrame->returnPC();
     
    32533253            return returnValue;
    32543254
    3255         callFrame[dst] = JSValuePtr(returnValue);
     3255        callFrame[dst] = JSValue(returnValue);
    32563256
    32573257        NEXT_INSTRUCTION();
     
    33233323
    33243324        int thisRegister = (++vPC)->u.operand;
    3325         JSValuePtr thisVal = callFrame[thisRegister].jsValue();
     3325        JSValue thisVal = callFrame[thisRegister].jsValue();
    33263326        if (thisVal.needsThisConversion())
    3327             callFrame[thisRegister] = JSValuePtr(thisVal.toThisObject(callFrame));
     3327            callFrame[thisRegister] = JSValue(thisVal.toThisObject(callFrame));
    33283328
    33293329        ++vPC;
     
    33703370        int thisRegister = vPC[6].u.operand;
    33713371
    3372         JSValuePtr v = callFrame[func].jsValue();
     3372        JSValue v = callFrame[func].jsValue();
    33733373
    33743374        ConstructData constructData;
     
    33813381
    33823382            Structure* structure;
    3383             JSValuePtr prototype = callFrame[proto].jsValue();
     3383            JSValue prototype = callFrame[proto].jsValue();
    33843384            if (prototype.isObject())
    33853385                structure = asObject(prototype)->inheritorID();
     
    33883388            JSObject* newObject = new (globalData) JSObject(structure);
    33893389
    3390             callFrame[thisRegister] = JSValuePtr(newObject); // "this" value
     3390            callFrame[thisRegister] = JSValue(newObject); // "this" value
    33913391
    33923392            CallFrame* previousCallFrame = callFrame;
     
    34163416            newCallFrame->init(0, vPC + 7, scopeChain, callFrame, dst, argCount, 0);
    34173417
    3418             JSValuePtr returnValue;
     3418            JSValue returnValue;
    34193419            {
    34203420                SamplingTool::HostCallRecord callRecord(m_sampler);
     
    34223422            }
    34233423            CHECK_FOR_EXCEPTION();
    3424             callFrame[dst] = JSValuePtr(returnValue);
     3424            callFrame[dst] = JSValue(returnValue);
    34253425
    34263426            vPC += 7;
     
    34603460        */
    34613461        int scope = (++vPC)->u.operand;
    3462         JSValuePtr v = callFrame[scope].jsValue();
     3462        JSValue v = callFrame[scope].jsValue();
    34633463        JSObject* o = v.toObject(callFrame);
    34643464        CHECK_FOR_EXCEPTION();
    34653465
    3466         callFrame[scope] = JSValuePtr(o);
     3466        callFrame[scope] = JSValue(o);
    34673467        callFrame->setScopeChain(callFrame->scopeChain()->push(o));
    34683468
     
    35093509
    35103510        JSPropertyNameIterator* it = callFrame[iter].propertyNameIterator();
    3511         if (JSValuePtr temp = it->next(callFrame)) {
     3511        if (JSValue temp = it->next(callFrame)) {
    35123512            CHECK_FOR_TIMEOUT();
    3513             callFrame[dst] = JSValuePtr(temp);
     3513            callFrame[dst] = JSValue(temp);
    35143514            vPC += target;
    35153515            NEXT_INSTRUCTION();
     
    36033603        int dst = (++vPC)->u.operand;
    36043604        int src = (++vPC)->u.operand;
    3605         callFrame[dst] = JSValuePtr(callFrame->codeBlock()->unexpectedConstant(src));
     3605        callFrame[dst] = JSValue(callFrame->codeBlock()->unexpectedConstant(src));
    36063606
    36073607        ++vPC;
     
    36213621
    36223622        CodeBlock* codeBlock = callFrame->codeBlock();
    3623         callFrame[dst] = JSValuePtr(Error::create(callFrame, (ErrorType)type, codeBlock->unexpectedConstant(message).toString(callFrame), codeBlock->lineNumberForBytecodeOffset(callFrame, vPC - codeBlock->instructions().begin()), codeBlock->ownerNode()->sourceID(), codeBlock->ownerNode()->sourceURL()));
     3623        callFrame[dst] = JSValue(Error::create(callFrame, (ErrorType)type, codeBlock->unexpectedConstant(message).toString(callFrame), codeBlock->lineNumberForBytecodeOffset(callFrame, vPC - codeBlock->instructions().begin()), codeBlock->ownerNode()->sourceID(), codeBlock->ownerNode()->sourceURL()));
    36243624
    36253625        ++vPC;
     
    37823782}
    37833783
    3784 JSValuePtr Interpreter::retrieveArguments(CallFrame* callFrame, JSFunction* function) const
     3784JSValue Interpreter::retrieveArguments(CallFrame* callFrame, JSFunction* function) const
    37853785{
    37863786    CallFrame* functionCallFrame = findFunctionCallFrame(callFrame, function);
     
    38063806}
    38073807
    3808 JSValuePtr Interpreter::retrieveCaller(CallFrame* callFrame, InternalFunction* function) const
     3808JSValue Interpreter::retrieveCaller(CallFrame* callFrame, InternalFunction* function) const
    38093809{
    38103810    CallFrame* functionCallFrame = findFunctionCallFrame(callFrame, function);
     
    38163816        return jsNull();
    38173817
    3818     JSValuePtr caller = callerFrame->callee();
     3818    JSValue caller = callerFrame->callee();
    38193819    if (!caller)
    38203820        return jsNull();
     
    38233823}
    38243824
    3825 void Interpreter::retrieveLastCaller(CallFrame* callFrame, int& lineNumber, intptr_t& sourceID, UString& sourceURL, JSValuePtr& function) const
     3825void Interpreter::retrieveLastCaller(CallFrame* callFrame, int& lineNumber, intptr_t& sourceID, UString& sourceURL, JSValue& function) const
    38263826{
    38273827    function = noValue();
Note: See TracChangeset for help on using the changeset viewer.