/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | CallFrameTreeElement.js | 26 WebInspector.CallFrameTreeElement = function(callFrame) 28 console.assert(callFrame instanceof WebInspector.CallFrame); 31 if (callFrame.nativeCode) 36 if (callFrame.functionName && callFrame.functionName.startsWith("on") && callFrame.functionName.length >= 5) 39 var title = callFrame.functionName || WebInspector.UIString("(anonymous function)"); 41 WebInspector.GeneralTreeElement.call(this, className, title, null, callFrame, false); 43 if (!callFrame.nativeCode && callFrame [all...] |
H A D | ScopeChainDetailsSidebarPanel.js | 56 this.callFrame = callFrameToInspect; 58 return !!this.callFrame; 61 get callFrame() 66 set callFrame(callFrame) 68 if (callFrame === this._callFrame) 71 this._callFrame = callFrame; 78 var callFrame = this.callFrame; 79 if (!callFrame) [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/runtime/ |
H A D | SetPrototype.cpp | 78 ALWAYS_INLINE static MapData* getMapData(CallFrame* callFrame, JSValue thisValue) argument 81 throwVMError(callFrame, createNotAnObjectError(callFrame, thisValue)); 86 throwTypeError(callFrame, ASCIILiteral("Set operation called on non-Set object")); 92 EncodedJSValue JSC_HOST_CALL setProtoFuncAdd(CallFrame* callFrame) argument 94 MapData* data = getMapData(callFrame, callFrame->thisValue()); 97 data->set(callFrame, callFrame->argument(0), callFrame 101 setProtoFuncClear(CallFrame* callFrame) argument 110 setProtoFuncDelete(CallFrame* callFrame) argument 118 setProtoFuncForEach(CallFrame* callFrame) argument 148 setProtoFuncHas(CallFrame* callFrame) argument 156 setProtoFuncSize(CallFrame* callFrame) argument 164 setProtoFuncValues(CallFrame* callFrame) argument 172 setProtoFuncEntries(CallFrame* callFrame) argument 180 setProtoFuncKeys(CallFrame* callFrame) argument [all...] |
H A D | WeakMapPrototype.cpp | 57 static WeakMapData* getWeakMapData(CallFrame* callFrame, JSValue value) argument 60 throwTypeError(callFrame, WTF::ASCIILiteral("Called WeakMap function on non-object")); 67 throwTypeError(callFrame, WTF::ASCIILiteral("Called WeakMap function on a non-WeakMap object")); 71 EncodedJSValue JSC_HOST_CALL protoFuncWeakMapClear(CallFrame* callFrame) argument 73 WeakMapData* map = getWeakMapData(callFrame, callFrame->thisValue()); 80 EncodedJSValue JSC_HOST_CALL protoFuncWeakMapDelete(CallFrame* callFrame) argument 82 WeakMapData* map = getWeakMapData(callFrame, callFrame->thisValue()); 85 JSValue key = callFrame 91 protoFuncWeakMapGet(CallFrame* callFrame) argument 102 protoFuncWeakMapHas(CallFrame* callFrame) argument 113 protoFuncWeakMapSet(CallFrame* callFrame) argument [all...] |
H A D | MapPrototype.cpp | 79 ALWAYS_INLINE static MapData* getMapData(CallFrame* callFrame, JSValue thisValue) argument 82 throwVMError(callFrame, createNotAnObjectError(callFrame, thisValue)); 87 throwTypeError(callFrame, ASCIILiteral("Map operation called on non-Map object")); 93 EncodedJSValue JSC_HOST_CALL mapProtoFuncClear(CallFrame* callFrame) argument 95 MapData* data = getMapData(callFrame, callFrame->thisValue()); 102 EncodedJSValue JSC_HOST_CALL mapProtoFuncDelete(CallFrame* callFrame) argument 104 MapData* data = getMapData(callFrame, callFrame 110 mapProtoFuncForEach(CallFrame* callFrame) argument 142 mapProtoFuncGet(CallFrame* callFrame) argument 153 mapProtoFuncHas(CallFrame* callFrame) argument 161 mapProtoFuncSet(CallFrame* callFrame) argument 170 mapProtoFuncSize(CallFrame* callFrame) argument 178 mapProtoFuncValues(CallFrame* callFrame) argument 186 mapProtoFuncEntries(CallFrame* callFrame) argument 194 mapProtoFuncKeys(CallFrame* callFrame) argument [all...] |
H A D | SetConstructor.cpp | 49 static EncodedJSValue JSC_HOST_CALL callSet(CallFrame* callFrame) argument 53 if (!callFrame->argument(0).isUndefinedOrNull()) 54 return JSValue::encode(throwTypeError(callFrame, ASCIILiteral("Set does not accept arguments when called as a function"))); 55 if (!callFrame->argument(1).isUndefined()) 56 return throwVMError(callFrame, createRangeError(callFrame, WTF::ASCIILiteral("Invalid comparator function"))); 58 JSGlobalObject* globalObject = asInternalFunction(callFrame->callee())->globalObject(); 60 return JSValue::encode(JSSet::create(callFrame, setStructure)); 63 static EncodedJSValue JSC_HOST_CALL constructSet(CallFrame* callFrame) argument 65 JSGlobalObject* globalObject = asInternalFunction(callFrame [all...] |
H A D | JSArrayIterator.cpp | 75 static EncodedJSValue createIteratorResult(CallFrame* callFrame, ArrayIterationKind kind, size_t index, JSValue result, bool done) argument 78 return JSValue::encode(callFrame->vm().iterationTerminator.get()); 91 JSGlobalObject* globalObject = callFrame->callee()->globalObject(); 92 return JSValue::encode(constructArray(callFrame, 0, globalObject, args)); 101 static inline EncodedJSValue JSC_HOST_CALL arrayIteratorNext(CallFrame* callFrame) argument 103 JSArrayIterator* iterator = jsDynamicCast<JSArrayIterator*>(callFrame->thisValue()); 106 return JSValue::encode(throwTypeError(callFrame, ASCIILiteral("Cannot call ArrayIterator.next() on a non-ArrayIterator object"))); 111 JSValue jsLength = JSValue(iteratedObject).get(callFrame, callFrame->propertyNames().length); 112 if (callFrame 155 arrayIteratorNextKey(CallFrame* callFrame) argument 160 arrayIteratorNextValue(CallFrame* callFrame) argument 165 arrayIteratorNextGeneric(CallFrame* callFrame) argument [all...] |
H A D | ArgumentsIteratorPrototype.cpp | 49 EncodedJSValue JSC_HOST_CALL argumentsIteratorPrototypeFuncIterator(CallFrame* callFrame) argument 51 return JSValue::encode(callFrame->thisValue()); 54 EncodedJSValue JSC_HOST_CALL argumentsIteratorPrototypeFuncNext(CallFrame* callFrame) argument 57 if (jsCast<JSArgumentsIterator*>(callFrame->thisValue())->next(callFrame, result)) 59 return JSValue::encode(callFrame->vm().iterationTerminator.get());
|
H A D | Operations.cpp | 43 NEVER_INLINE JSValue jsAddSlowCase(CallFrame* callFrame, JSValue v1, JSValue v2) argument 46 JSValue p1 = v1.toPrimitive(callFrame); 47 JSValue p2 = v2.toPrimitive(callFrame); 50 return jsString(callFrame, asString(p1), p2.toString(callFrame)); 53 return jsString(callFrame, p1.toString(callFrame), asString(p2)); 55 return jsNumber(p1.toNumber(callFrame) + p2.toNumber(callFrame)); 81 JSValue jsTypeStringForValue(CallFrame* callFrame, JSValu argument 86 jsIsObjectType(CallFrame* callFrame, JSValue v) argument [all...] |
H A D | MapIteratorPrototype.cpp | 52 EncodedJSValue JSC_HOST_CALL MapIteratorPrototypeFuncIterator(CallFrame* callFrame) argument 54 return JSValue::encode(callFrame->thisValue()); 57 EncodedJSValue JSC_HOST_CALL MapIteratorPrototypeFuncNext(CallFrame* callFrame) argument 59 JSMapIterator* iterator = jsDynamicCast<JSMapIterator*>(callFrame->thisValue()); 61 return JSValue::encode(throwTypeError(callFrame, ASCIILiteral("Cannot call MapIterator.next() on a non-MapIterator object"))); 64 if (iterator->next(callFrame, result)) 67 return JSValue::encode(callFrame->vm().iterationTerminator.get());
|
H A D | SetIteratorPrototype.cpp | 52 EncodedJSValue JSC_HOST_CALL SetIteratorPrototypeFuncIterator(CallFrame* callFrame) argument 54 return JSValue::encode(callFrame->thisValue()); 57 EncodedJSValue JSC_HOST_CALL SetIteratorPrototypeFuncNext(CallFrame* callFrame) argument 60 JSSetIterator* iterator = jsDynamicCast<JSSetIterator*>(callFrame->thisValue()); 62 return JSValue::encode(throwTypeError(callFrame, ASCIILiteral("Cannot call SetIterator.next() on a non-SetIterator object"))); 64 if (iterator->next(callFrame, result)) 67 return JSValue::encode(callFrame->vm().iterationTerminator.get());
|
H A D | Operations.h | 110 ALWAYS_INLINE bool jsLess(CallFrame* callFrame, JSValue v1, JSValue v2) argument 119 return codePointCompareLessThan(asString(v1)->value(callFrame), asString(v2)->value(callFrame)); 128 wasNotString1 = v1.getPrimitiveNumber(callFrame, n1, p1); 129 wasNotString2 = v2.getPrimitiveNumber(callFrame, n2, p2); 131 wasNotString2 = v2.getPrimitiveNumber(callFrame, n2, p2); 132 wasNotString1 = v1.getPrimitiveNumber(callFrame, n1, p1); 137 return codePointCompareLessThan(asString(p1)->value(callFrame), asString(p2)->value(callFrame)); 144 ALWAYS_INLINE bool jsLessEq(CallFrame* callFrame, JSValu argument 183 jsAdd(CallFrame* callFrame, JSValue v1, JSValue v2) argument 197 normalizePrototypeChainForChainAccess(CallFrame* callFrame, JSValue base, JSValue slotBase, const Identifier& propertyName, PropertyOffset& slotOffset) argument 238 normalizePrototypeChain(CallFrame* callFrame, JSCell* base) argument [all...] |
H A D | Arguments.h | 44 static Arguments* create(VM& vm, CallFrame* callFrame) argument 46 Arguments* arguments = new (NotNull, allocateCell<Arguments>(vm.heap)) Arguments(callFrame); 47 arguments->finishCreation(callFrame); 51 static Arguments* create(VM& vm, CallFrame* callFrame, InlineCallFrame* inlineCallFrame) argument 53 Arguments* arguments = new (NotNull, allocateCell<Arguments>(vm.heap)) Arguments(callFrame); 54 arguments->finishCreation(callFrame, inlineCallFrame); 191 inline Arguments::Arguments(CallFrame* callFrame) argument 192 : Base(callFrame->vm(), callFrame->lexicalGlobalObject()->argumentsStructure()) 196 inline Arguments::Arguments(CallFrame* callFrame, NoParametersTyp argument 274 finishCreation(CallFrame* callFrame) argument 306 finishCreation(CallFrame* callFrame, InlineCallFrame* inlineCallFrame) argument [all...] |
H A D | JSMapIterator.cpp | 56 JSValue JSMapIterator::createPair(CallFrame* callFrame, JSValue key, JSValue value) argument 61 JSGlobalObject* globalObject = callFrame->callee()->globalObject(); 62 return constructArray(callFrame, 0, globalObject, args);
|
H A D | JSSetIterator.cpp | 56 JSValue JSSetIterator::createPair(CallFrame* callFrame, JSValue key, JSValue value) argument 61 JSGlobalObject* globalObject = callFrame->callee()->globalObject(); 62 return constructArray(callFrame, 0, globalObject, args);
|
H A D | MapData.cpp | 55 MapData::Entry* MapData::find(CallFrame* callFrame, KeyType key) argument 58 auto iter = m_stringKeyedTable.find(asString(key.value)->value(callFrame).impl()); 76 bool MapData::contains(CallFrame* callFrame, KeyType key) argument 78 return find(callFrame, key); 81 template <typename Map, typename Key> MapData::Entry* MapData::add(CallFrame* callFrame, Map& map, Key key, KeyType keyValue) argument 87 if (!ensureSpaceForAppend(callFrame)) 94 entry->key.set(callFrame->vm(), this, keyValue.value); 98 void MapData::set(CallFrame* callFrame, KeyType key, JSValue value) argument 100 Entry* location = add(callFrame, key); 103 location->value.set(callFrame 106 add(CallFrame* callFrame, KeyType key) argument 115 get(CallFrame* callFrame, KeyType key) argument 122 remove(CallFrame* callFrame, KeyType key) argument [all...] |
H A D | ArrayIteratorPrototype.cpp | 51 EncodedJSValue JSC_HOST_CALL arrayIteratorPrototypeIterate(CallFrame* callFrame) argument 53 return JSValue::encode(callFrame->thisValue());
|
H A D | JSActivation.cpp | 119 CallFrame* callFrame = CallFrame::create(reinterpret_cast<Register*>(thisObject->m_registers)); local 120 if (mode == IncludeDontEnumProperties && !thisObject->isTornOff() && (callFrame->codeBlock()->usesArguments() || callFrame->codeBlock()->usesEval())) 166 CallFrame* callFrame = CallFrame::create(reinterpret_cast<Register*>(thisObject->m_registers)); local 167 if (!thisObject->isTornOff() && (callFrame->codeBlock()->usesArguments() || callFrame->codeBlock()->usesEval())) { 222 CallFrame* callFrame = CallFrame::create(reinterpret_cast<Register*>(activation->m_registers)); local 223 ASSERT(!activation->isTornOff() && (callFrame->codeBlock()->usesArguments() || callFrame->codeBlock()->usesEval())); 224 if (activation->isTornOff() || !(callFrame [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/bytecode/ |
H A D | InlineCallFrameSet.cpp | 42 for (InlineCallFrame* callFrame : m_frames) 43 callFrame->visitAggregate(visitor);
|
/macosx-10.10/JavaScriptCore-7600.1.17/interpreter/ |
H A D | Interpreter.cpp | 93 JSValue eval(CallFrame* callFrame) argument 95 if (!callFrame->argumentCount()) 98 JSValue program = callFrame->argument(0); 102 TopCallFrameSetter topCallFrame(callFrame->vm(), callFrame); 103 String programSource = asString(program)->value(callFrame); 104 if (callFrame->hadException()) 107 CallFrame* callerFrame = callFrame->callerFrame(); 117 LiteralParser<LChar> preparser(callFrame, programSource.characters8(), programSource.length(), NonStrictJSON); 121 LiteralParser<UChar> preparser(callFrame, programSourc 140 sizeFrameForVarargs(CallFrame* callFrame, JSStack* stack, JSValue arguments, int firstFreeRegister, uint32_t firstVarArgOffset) argument 220 loadVarargs(CallFrame* callFrame, CallFrame* newCallFrame, JSValue thisValue, JSValue arguments, uint32_t firstVarArgOffset) argument 325 dumpCallFrame(CallFrame* callFrame) argument 359 dumpRegisters(CallFrame* callFrame) argument 441 CallFrame* callFrame = visitor->callFrame(); local 529 toString(CallFrame* callFrame) argument 602 CallFrame* callFrame = vm.topCallFrame; local 651 UnwindFunctor(CallFrame*& callFrame, bool isTermination, CodeBlock*& codeBlock, HandlerInfo*& handler) argument 685 unwind(CallFrame*& callFrame, JSValue& exceptionValue) argument 790 execute(ProgramExecutable* program, CallFrame* callFrame, JSObject* thisObj) argument 946 executeCall(CallFrame* callFrame, JSObject* function, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args) argument 1012 executeConstruct(CallFrame* callFrame, JSObject* constructor, ConstructType constructType, const ConstructData& constructData, const ArgList& args) argument 1084 prepareForRepeatCall(FunctionExecutable* functionExecutable, CallFrame* callFrame, ProtoCallFrame* protoCallFrame, JSFunction* function, int argumentCountIncludingThis, JSScope* scope, JSValue* args) argument 1143 execute(EvalExecutable* eval, CallFrame* callFrame, JSValue thisValue, JSScope* scope) argument 1227 debug(CallFrame* callFrame, DebugHookID debugHookID) argument [all...] |
H A D | CachedCall.h | 41 CachedCall(CallFrame* callFrame, JSFunction* function, int argumentCount) argument 43 , m_interpreter(callFrame->interpreter()) 44 , m_entryScope(callFrame->vm(), function->scope()->globalObject()) 47 if (callFrame->vm().isSafeToRecurse()) { 49 m_closure = m_interpreter->prepareForRepeatCall(function->jsExecutable(), callFrame, &m_protoCallFrame, function, argumentCount + 1, function->scope(), m_arguments.data()); 51 throwStackOverflowError(callFrame); 52 m_valid = !callFrame->hadException();
|
H A D | StackVisitor.cpp | 50 readInlinedFrame(m_frame.callFrame(), callerCodeOrigin); 57 void StackVisitor::readFrame(CallFrame* callFrame) argument 59 ASSERT(!callFrame->isVMEntrySentinel()); 60 if (!callFrame) { 66 readNonInlinedFrame(callFrame); 71 CodeBlock* codeBlock = callFrame->codeBlock(); 73 readNonInlinedFrame(callFrame); 80 readNonInlinedFrame(callFrame); 84 unsigned index = callFrame->locationAsCodeOriginIndex(); 95 readNonInlinedFrame(callFrame, 103 readNonInlinedFrame(CallFrame* callFrame, CodeOrigin* codeOrigin) argument 127 readInlinedFrame(CallFrame* callFrame, CodeOrigin* codeOrigin) argument 377 CallFrame* callFrame = m_callFrame; local 458 debugPrintCallFrame(JSC::CallFrame* callFrame) argument [all...] |
H A D | Interpreter.h | 109 String friendlyFunctionName(CallFrame* callFrame) const 120 traceLine = getCalculatedDisplayName(callFrame, stackFrameCallee).impl(); 123 traceLine = getCalculatedDisplayName(callFrame, stackFrameCallee).impl(); 156 TopCallFrameSetter(VM& currentVM, CallFrame* callFrame) argument 160 ASSERT(!callFrame->isVMEntrySentinel()); 161 currentVM.topCallFrame = callFrame; 176 ALWAYS_INLINE NativeCallFrameTracer(VM* vm, CallFrame* callFrame) argument 179 ASSERT(callFrame); 180 ASSERT(!callFrame->isVMEntrySentinel()); 181 vm->topCallFrame = callFrame; 185 NativeCallFrameTracer(VM* vm, CallFrame* callFrame, VMEntrySentinelOKTag) argument [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/jit/ |
H A D | JITExceptions.cpp | 43 void genericUnwind(VM* vm, ExecState* callFrame, JSValue exceptionValue) argument 46 dataLog("In call frame ", RawPointer(callFrame), " for code block ", *callFrame->codeBlock(), "\n"); 51 HandlerInfo* handler = vm->interpreter->unwind(callFrame, exceptionValue); // This may update callFrame. 56 catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target]; 65 vm->callFrameForThrow = callFrame;
|
/macosx-10.10/JavaScriptCore-7600.1.17/debugger/ |
H A D | DebuggerCallFrame.cpp | 58 DebuggerCallFrame::DebuggerCallFrame(CallFrame* callFrame) argument 59 : m_callFrame(callFrame) 147 CallFrame* callFrame = m_callFrame; local 148 if (!callFrame) 151 JSLockHolder lock(callFrame); 153 if (!callFrame->codeBlock()) 156 VM& vm = callFrame->vm(); 157 EvalExecutable* eval = EvalExecutable::create(callFrame, makeSource(script), callFrame->codeBlock()->isStrictMode()); 164 JSValue thisValue = thisValueForCallFrame(callFrame); 184 positionForCallFrame(CallFrame* callFrame) argument 194 sourceIDForCallFrame(CallFrame* callFrame) argument 203 thisValueForCallFrame(CallFrame* callFrame) argument [all...] |