/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/ |
H A D | DFGAssemblyHelpers.cpp | 121 Jump checkJSInt32 = branch32(Equal, gpr, TrustedImm32(JSValue::Int32Tag)); 128 Jump checkJSInt32 = branch32(Equal, gpr, TrustedImm32(JSValue::Int32Tag)); 129 Jump checkJSDouble = branch32(Below, gpr, TrustedImm32(JSValue::LowestTag)); 137 Jump checkJSDouble = branch32(Below, gpr, TrustedImm32(JSValue::LowestTag)); 144 Jump checkCell = branch32(Equal, gpr, TrustedImm32(JSValue::CellTag));
|
H A D | DFGAbstractState.cpp | 212 JSValue childConst = value.value(); 342 JSValue left = forNode(node->child1()).value(); 343 JSValue right = forNode(node->child2()).value(); 350 constantWasSet = trySetConstant(node, JSValue(a & b)); 353 constantWasSet = trySetConstant(node, JSValue(a | b)); 356 constantWasSet = trySetConstant(node, JSValue(a ^ b)); 359 constantWasSet = trySetConstant(node, JSValue(a >> static_cast<uint32_t>(b))); 362 constantWasSet = trySetConstant(node, JSValue(a << static_cast<uint32_t>(b))); 365 constantWasSet = trySetConstant(node, JSValue(static_cast<uint32_t>(a) >> static_cast<uint32_t>(b))); 381 JSValue chil [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/ |
H A D | CopiedBlock.h | 117 JSValue emptyValue; 118 JSValue* limit = reinterpret_cast_ptr<JSValue*>(wildernessEnd()); 119 for (JSValue* currentValue = reinterpret_cast_ptr<JSValue*>(wilderness()); currentValue < limit; currentValue++)
|
H A D | WeakBlock.cpp | 100 const JSValue& jsValue = weakImpl->jsValue(); 108 if (!weakHandleOwner->isReachableFromOpaqueRoots(Handle<Unknown>::wrapSlot(&const_cast<JSValue&>(jsValue)), weakImpl->context(), visitor)) 111 heapRootVisitor.visit(&const_cast<JSValue&>(jsValue));
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/ |
H A D | ClassInfo.h | 51 typedef void (*PutFunctionPtr)(JSCell*, ExecState*, PropertyName propertyName, JSValue, PutPropertySlot&); 54 typedef void (*PutByIndexFunctionPtr)(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow); 72 typedef JSValue (*DefaultValueFunctionPtr)(const JSObject*, ExecState*, PreferredPrimitiveType); 87 typedef bool (*CustomHasInstanceFunctionPtr)(JSObject*, ExecState*, JSValue); 90 typedef void (*PutWithAttributesFunctionPtr)(JSObject*, ExecState*, PropertyName propertyName, JSValue, unsigned attributes);
|
H A D | Arguments.h | 87 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) 104 static void put(JSCell*, ExecState*, PropertyName, JSValue, PutPropertySlot&); 105 static void putByIndex(JSCell*, ExecState*, unsigned propertyName, JSValue, bool shouldThrow); 113 bool trySetArgument(VM&, size_t argument, JSValue); 114 JSValue tryGetArgument(size_t argument); 142 Arguments* asArguments(JSValue); 144 inline Arguments* asArguments(JSValue value) 180 inline bool Arguments::trySetArgument(VM& vm, size_t argument, JSValue value) 188 inline JSValue Arguments::tryGetArgument(size_t argument) 191 return JSValue(); [all...] |
H A D | JSActivation.cpp | 87 inline bool JSActivation::symbolTablePut(ExecState* exec, PropertyName propertyName, JSValue value, bool shouldThrow) 128 inline bool JSActivation::symbolTablePutWithAttributes(VM& vm, PropertyName propertyName, JSValue value, unsigned attributes) 160 if (JSValue value = thisObject->getDirect(exec->vm(), propertyName)) { 192 void JSActivation::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot) 208 void JSActivation::putDirectVirtual(JSObject* object, ExecState* exec, PropertyName propertyName, JSValue value, unsigned attributes) 236 JSValue JSActivation::argumentsGetter(ExecState*, JSValue slotBase, PropertyName) 244 if (JSValue arguments = callFrame->uncheckedR(argumentsRegister).jsValue()) 248 JSValue arguments = JSValue(Argument [all...] |
H A D | DateConstructor.cpp | 112 JSValue primitive = args.at(0).toPrimitive(exec); 157 return JSValue::encode(constructDate(exec, asInternalFunction(exec->callee())->globalObject(), args)); 171 return JSValue::encode(jsNontrivialString(exec, formatDateTime(ts, DateTimeFormatDateAndTime, false))); 182 return JSValue::encode(jsNumber(parseDate(exec, exec->argument(0).toString(exec)->value(exec)))); 187 return JSValue::encode(jsNumber(jsCurrentTime())); 209 return JSValue::encode(jsNaN()); 220 return JSValue::encode(jsNumber(timeClip(gregorianDateTimeToMS(exec, t, ms, true))));
|
H A D | JSBoundFunction.cpp | 54 return JSValue::encode(call(exec, targetFunction, callType, callData, boundFunction->boundThis(), args)); 74 return JSValue::encode(construct(exec, targetFunction, constructType, constructData, args)); 77 JSBoundFunction* JSBoundFunction::create(ExecState* exec, JSGlobalObject* globalObject, JSObject* targetFunction, JSValue boundThis, JSValue boundArgs, int length, const String& name) 94 bool JSBoundFunction::customHasInstance(JSObject* object, ExecState* exec, JSValue value) 99 JSBoundFunction::JSBoundFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, JSObject* targetFunction, JSValue boundThis, JSValue boundArgs)
|
H A D | JSArray.cpp | 202 void JSArray::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot) 319 memmove(newButterfly->arrayStorage()->m_vector + count, storage->m_vector, sizeof(JSValue) * usedVectorLength); 320 memmove(newButterfly->propertyStorage() - propertySize, butterfly->propertyStorage() - propertySize, sizeof(JSValue) * propertySize + sizeof(IndexingHeader) + ArrayStorage::sizeFor(0)); 322 memmove(newButterfly->propertyStorage() - propertySize, butterfly->propertyStorage() - propertySize, sizeof(JSValue) * propertySize + sizeof(IndexingHeader) + ArrayStorage::sizeFor(0)); 323 memmove(newButterfly->arrayStorage()->m_vector, storage->m_vector, sizeof(JSValue) * usedVectorLength); 453 JSValue JSArray::pop(ExecState* exec) 473 JSValue value = m_butterfly->contiguous()[length].get(); 493 return JSValue(JSValue::EncodeAsDouble, value); 513 JSValue elemen [all...] |
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/ |
H A D | JSPluginElementFunctions.cpp | 103 JSValue runtimeObjectPropertyGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName) 141 bool runtimeObjectCustomPut(ExecState* exec, PropertyName propertyName, JSValue value, JSHTMLElement* element, PutPropertySlot& slot) 170 JSValue result = call(exec, scriptObject, callType, callData, exec->hostThisValue(), argumentList); 171 return JSValue::encode(result);
|
H A D | ScriptFunctionCall.cpp | 71 void ScriptCallArgumentHandler::appendArgument(JSC::JSValue argument) 124 JSValue function = thisObject->get(m_exec, Identifier(m_exec, m_name)); 138 JSValue result; 181 JSValue result = JSC::construct(m_exec, constructor, constructType, constructData, m_arguments); 208 JSValue result = JSC::call(m_exec, m_function.jsValue(), callType, callData, m_function.jsValue(), m_arguments);
|
H A D | JSDOMWindowCustom.cpp | 74 JSValue nonCachingStaticFunctionGetter(ExecState* exec, JSValue, PropertyName propertyName) 79 static JSValue childFrameGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName) 84 static JSValue indexGetter(ExecState* exec, JSValue slotBase, unsigned index) 89 static JSValue namedItemGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName) 218 JSValue proto = thisObject->prototype(); 295 JSValue prot [all...] |
H A D | JSNodeCustom.cpp | 142 JSValue JSNode::insertBefore(ExecState* exec) 153 JSValue JSNode::replaceChild(ExecState* exec) 164 JSValue JSNode::removeChild(ExecState* exec) 175 JSValue JSNode::appendChild(ExecState* exec) 207 static ALWAYS_INLINE JSValue createWrapperInline(ExecState* exec, JSDOMGlobalObject* globalObject, Node* node) 264 JSValue createWrapper(ExecState* exec, JSDOMGlobalObject* globalObject, Node* node) 269 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Node* node)
|
H A D | JSGeolocationCustom.cpp | 73 static PassRefPtr<PositionOptions> createPositionOptions(ExecState* exec, JSValue value) 100 JSValue JSGeolocation::getCurrentPosition(ExecState* exec) 122 JSValue JSGeolocation::watchPosition(ExecState* exec)
|
H A D | JSWorkerContextCustom.cpp | 88 JSValue JSWorkerContext::importScripts(ExecState* exec) 106 JSValue JSWorkerContext::setTimeout(ExecState* exec) 117 JSValue JSWorkerContext::setInterval(ExecState* exec)
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/interpreter/ |
H A D | CallFrame.h | 43 JSValue calleeAsValue() const { return this[JSStack::Callee].jsValue(); } 70 void clearException() { vm().exception = JSValue(); } 76 JSValue exception() const { return vm().exception; } 206 JSValue argument(size_t argument) 212 void setArgument(size_t argument, JSValue value) 218 JSValue thisValue() { return this[thisArgumentOffset()].jsValue(); } 219 void setThisValue(JSValue value) { this[thisArgumentOffset()] = value; } 221 JSValue argumentAfterCapture(size_t argument); 227 JSValue hostThisValue() { return thisValue(); } 309 JSValue getArgumentUnsaf [all...] |
H A D | Interpreter.cpp | 150 JSValue eval(CallFrame* callFrame) 155 JSValue program = callFrame->argument(0); 162 return JSValue(); 175 if (JSValue parsedObject = preparser.tryLiteralParse()) 179 if (JSValue parsedObject = preparser.tryLiteralParse()) 187 JSValue exceptionValue; 195 JSValue thisValue = callerFrame->thisValue(); 201 CallFrame* loadVarargs(CallFrame* callFrame, JSStack* stack, JSValue thisValue, JSValue arguments, int firstFreeRegister) 340 JSValue [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/ |
H A D | GetByIdStatus.cpp | 103 result.m_specificValue = JSValue(specificValue); 174 result.m_specificValue = JSValue(specificValue); 204 result.m_specificValue = JSValue(specificValue); 208 } else if (result.m_specificValue != JSValue(specificValue)) 209 result.m_specificValue = JSValue(); 249 result.m_specificValue = JSValue(); 285 result.m_specificValue = JSValue(specificValue);
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/llint/ |
H A D | LowLevelInterpreter.cpp | 232 JSValue CLoop::execute(CallFrame* callFrame, OpcodeID bootstrapOpcodeId, 265 return JSValue(); 353 JSValue functionReturnValue; 426 JSValue result = vm->hostCallReturnValue; 431 t0.encodedJSValue = JSValue::encode(result); 455 return JSValue(t1.i, t0.i); // returning JSValue(tag, payload); 457 return JSValue::decode(t0.encodedJSValue);
|
/macosx-10.9.5/WebCore-7537.78.1/bindings/scripts/test/JS/ |
H A D | JSTestCustomNamedGetter.cpp | 171 JSValue jsTestCustomNamedGetterConstructor(ExecState* exec, JSValue slotBase, PropertyName) 177 JSValue JSTestCustomNamedGetter::getConstructor(ExecState* exec, JSGlobalObject* globalObject) 184 JSValue thisValue = exec->hostThisValue(); 194 return JSValue::encode(jsUndefined()); 196 return JSValue::encode(jsUndefined()); 231 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestCustomNamedGetter* impl) 235 if (JSValue result = getExistingWrapper<JSTestCustomNamedGetter>(exec, impl)) 260 TestCustomNamedGetter* toTestCustomNamedGetter(JSC::JSValue value)
|
H A D | JSTestMediaQueryListListener.cpp | 149 JSValue jsTestMediaQueryListListenerConstructor(ExecState* exec, JSValue slotBase, PropertyName) 155 JSValue JSTestMediaQueryListListener::getConstructor(ExecState* exec, JSGlobalObject* globalObject) 162 JSValue thisValue = exec->hostThisValue(); 172 return JSValue::encode(jsUndefined()); 174 return JSValue::encode(jsUndefined()); 209 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestMediaQueryListListener* impl) 213 if (JSValue result = getExistingWrapper<JSTestMediaQueryListListener>(exec, impl)) 238 TestMediaQueryListListener* toTestMediaQueryListListener(JSC::JSValue value)
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/ |
H A D | JSBase.cpp | 60 JSValue evaluationException; 61 JSValue returnValue = evaluate(globalObject->globalExec(), source, jsThisObject, &evaluationException); 87 JSValue syntaxException;
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/ |
H A D | JITCall32_64.cpp | 78 Jump notJSCell = branch32(NotEqual, regT1, TrustedImm32(JSValue::CellTag)); 153 slowCase.append(branch32(NotEqual, regT1, TrustedImm32(JSValue::EmptyValueTag))); 172 store32(regT0, Address(regT3, OBJECT_OFFSETOF(JSValue, u.asBits.payload) + (CallFrame::thisArgumentOffset() * static_cast<int>(sizeof(Register))))); 173 store32(regT1, Address(regT3, OBJECT_OFFSETOF(JSValue, u.asBits.tag) + (CallFrame::thisArgumentOffset() * static_cast<int>(sizeof(Register))))); 181 load32(BaseIndex(callFrameRegister, regT2, TimesEight, OBJECT_OFFSETOF(JSValue, u.asBits.payload) +(CallFrame::thisArgumentOffset() * static_cast<int>(sizeof(Register)))), regT0); 182 load32(BaseIndex(callFrameRegister, regT2, TimesEight, OBJECT_OFFSETOF(JSValue, u.asBits.tag) +(CallFrame::thisArgumentOffset() * static_cast<int>(sizeof(Register)))), regT1); 183 store32(regT0, BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(JSValue, u.asBits.payload) +(CallFrame::thisArgumentOffset() * static_cast<int>(sizeof(Register))))); 184 store32(regT1, BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(JSValue, u.asBits.tag) +(CallFrame::thisArgumentOffset() * static_cast<int>(sizeof(Register))))); 207 addSlowCase(branch32(Equal, regT1, TrustedImm32(JSValue::EmptyValueTag))); 249 Jump done = branch32(NotEqual, regT0, TrustedImm32(JSValue [all...] |
H A D | JITCode.h | 133 inline JSValue execute(JSStack* stack, CallFrame* callFrame, VM* vm) 135 JSValue result = JSValue::decode(ctiTrampoline(m_ref.code().executableAddress(), stack, callFrame, 0, 0, vm));
|