Home
last modified time | relevance | path

Searched refs:callFrame (Results 1 – 25 of 37) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/interpreter/
DInterpreter.cpp92 NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionVa… in resolve() argument
97 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolve()
102 CodeBlock* codeBlock = callFrame->codeBlock(); in resolve()
107 if (o->getPropertySlot(callFrame, ident, slot)) { in resolve()
108 JSValue result = slot.getValue(callFrame, ident); in resolve()
109 exceptionValue = callFrame->globalData().exception; in resolve()
112 callFrame->uncheckedR(dst) = JSValue(result); in resolve()
116 exceptionValue = createUndefinedVariableError(callFrame, ident); in resolve()
120 NEVER_INLINE bool Interpreter::resolveSkip(CallFrame* callFrame, Instruction* vPC, JSValue& excepti… in resolveSkip() argument
122 CodeBlock* codeBlock = callFrame->codeBlock(); in resolveSkip()
[all …]
DCallFrame.h78 …static const HashTable* arrayTable(CallFrame* callFrame) { return callFrame->globalData().arrayTab… in arrayTable() argument
79 …static const HashTable* dateTable(CallFrame* callFrame) { return callFrame->globalData().dateTable… in dateTable() argument
80 …static const HashTable* jsonTable(CallFrame* callFrame) { return callFrame->globalData().jsonTable… in jsonTable() argument
81 …static const HashTable* mathTable(CallFrame* callFrame) { return callFrame->globalData().mathTable… in mathTable() argument
82 …static const HashTable* numberTable(CallFrame* callFrame) { return callFrame->globalData().numberT… in numberTable() argument
83 …static const HashTable* objectConstructorTable(CallFrame* callFrame) { return callFrame->globalDat… in objectConstructorTable() argument
84 …static const HashTable* regExpTable(CallFrame* callFrame) { return callFrame->globalData().regExpT… in regExpTable() argument
85 …static const HashTable* regExpConstructorTable(CallFrame* callFrame) { return callFrame->globalDat… in regExpConstructorTable() argument
86 …static const HashTable* stringTable(CallFrame* callFrame) { return callFrame->globalData().stringT… in stringTable() argument
93 CallFrame* callerFrame() const { return this[RegisterFile::CallerFrame].callFrame(); } in callerFrame()
DCachedCall.h38 CachedCall(CallFrame* callFrame, JSFunction* function, int argCount) in CachedCall() argument
40 , m_interpreter(callFrame->interpreter()) in CachedCall()
41 , m_globalObjectScope(callFrame->globalData(), function->scope()->globalObject.get()) in CachedCall()
44 …m_closure = m_interpreter->prepareForRepeatCall(function->jsExecutable(), callFrame, function, arg… in CachedCall()
45 m_valid = !callFrame->hadException(); in CachedCall()
58 CallFrame* callFrame = m_closure.newCallFrame; in newCallFrame() local
59 callFrame->setScopeChain(exec->scopeChain()); in newCallFrame()
60 return callFrame; in newCallFrame()
DRegister.h66 CallFrame* callFrame() const;
84 CallFrame* callFrame; member
126 ALWAYS_INLINE Register& Register::operator=(CallFrame* callFrame)
128 u.callFrame = callFrame;
149 ALWAYS_INLINE CallFrame* Register::callFrame() const in callFrame() function
151 return u.callFrame; in callFrame()
/external/webkit/Source/JavaScriptCore/jit/
DJITStubs.cpp119 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_ma…
171 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x90, JITStackFrame_callFrame_offset_ma…
249 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_ma…
400 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_ma…
772 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, callFrame) == CALLFRAME_OFFSET); in JITThunks()
792 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, callFrame) == CALLFRAME_OFFSET); in JITThunks()
806 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddr… in tryCachePutByID() argument
843 normalizePrototypeChain(callFrame, baseCell); in tryCachePutByID()
845 StructureChain* prototypeChain = structure->prototypeChain(callFrame); in tryCachePutByID()
846 …stubInfo->initPutByIdTransition(callFrame->globalData(), codeBlock->ownerExecutable(), structure->… in tryCachePutByID()
[all …]
DJITCode.h75 … inline JSValue execute(RegisterFile* registerFile, CallFrame* callFrame, JSGlobalData* globalData) in execute() argument
77 …e::decode(ctiTrampoline(m_ref.m_code.executableAddress(), registerFile, callFrame, 0, Profiler::en… in execute()
DJITStubs.h99 CallFrame* callFrame; member
135 CallFrame* callFrame; member
163 CallFrame* callFrame; member
191 CallFrame* callFrame; member
223 CallFrame* callFrame; member
246 CallFrame* callFrame; member
DJIT.h186 …static void compileGetByIdProto(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlo… in compileGetByIdProto() argument
189 …roto(stubInfo, structure, prototypeStructure, ident, slot, cachedOffset, returnAddress, callFrame); in compileGetByIdProto()
197 …static void compileGetByIdProtoList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* cod… in compileGetByIdProtoList() argument
200 …eStructureList, currentIndex, structure, prototypeStructure, ident, slot, cachedOffset, callFrame); in compileGetByIdProtoList()
202 …static void compileGetByIdChainList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* cod… in compileGetByIdChainList() argument
205 …ototypeStructureList, currentIndex, structure, chain, count, ident, slot, cachedOffset, callFrame); in compileGetByIdChainList()
208 …static void compileGetByIdChain(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlo… in compileGetByIdChain() argument
211 …tByIdChain(stubInfo, structure, chain, count, ident, slot, cachedOffset, returnAddress, callFrame); in compileGetByIdChain()
267 …&, const PropertySlot&, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame);
269 …otypeStructure, const Identifier&, const PropertySlot&, size_t cachedOffset, CallFrame* callFrame);
[all …]
DJITPropertyAccess32_64.cpp749 …onst PropertySlot& slot, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame) in privateCompileGetByIdProto() argument
755 JSObject* protoObject = asObject(structure->prototypeForLookup(callFrame)); in privateCompileGetByIdProto()
874 …ture, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset, CallFrame* callFrame) in privateCompileGetByIdProtoList() argument
880 JSObject* protoObject = asObject(structure->prototypeForLookup(callFrame)); in privateCompileGetByIdProtoList()
933 …prototypeStructures->list[currentIndex].set(callFrame->globalData(), m_codeBlock->ownerExecutable(… in privateCompileGetByIdProtoList()
941 …ount, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset, CallFrame* callFrame) in privateCompileGetByIdChainList() argument
955 protoObject = asObject(currStructure->prototypeForLookup(callFrame)); in privateCompileGetByIdChainList()
1001 …prototypeStructures->list[currentIndex].set(callFrame->globalData(), m_codeBlock->ownerExecutable(… in privateCompileGetByIdChainList()
1009 …onst PropertySlot& slot, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame) in privateCompileGetByIdChain() argument
1023 protoObject = asObject(currStructure->prototypeForLookup(callFrame)); in privateCompileGetByIdChain()
DJITPropertyAccess.cpp722 …onst PropertySlot& slot, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame) in privateCompileGetByIdProto() argument
726 JSObject* protoObject = asObject(structure->prototypeForLookup(callFrame)); in privateCompileGetByIdProto()
844 …ture, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset, CallFrame* callFrame) in privateCompileGetByIdProtoList() argument
848 JSObject* protoObject = asObject(structure->prototypeForLookup(callFrame)); in privateCompileGetByIdProtoList()
911 …ount, const Identifier& ident, const PropertySlot& slot, size_t cachedOffset, CallFrame* callFrame) in privateCompileGetByIdChainList() argument
924 protoObject = asObject(currStructure->prototypeForLookup(callFrame)); in privateCompileGetByIdChainList()
971 …prototypeStructures->list[currentIndex].set(callFrame->globalData(), m_codeBlock->ownerExecutable(… in privateCompileGetByIdChainList()
979 …onst PropertySlot& slot, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame) in privateCompileGetByIdChain() argument
992 protoObject = asObject(currStructure->prototypeForLookup(callFrame)); in privateCompileGetByIdChain()
/external/webkit/Source/JavaScriptCore/runtime/
DOperations.cpp44 NEVER_INLINE JSValue jsAddSlowCase(CallFrame* callFrame, JSValue v1, JSValue v2) in jsAddSlowCase() argument
47 JSValue p1 = v1.toPrimitive(callFrame); in jsAddSlowCase()
48 JSValue p2 = v2.toPrimitive(callFrame); in jsAddSlowCase()
52 ? jsString(callFrame, asString(p1), asString(p2)) in jsAddSlowCase()
53 : jsString(callFrame, asString(p1), p2.toString(callFrame)); in jsAddSlowCase()
56 return jsString(callFrame, p1.toString(callFrame), asString(p2)); in jsAddSlowCase()
58 return jsNumber(p1.toNumber(callFrame) + p2.toNumber(callFrame)); in jsAddSlowCase()
61 JSValue jsTypeStringForValue(CallFrame* callFrame, JSValue v) in jsTypeStringForValue() argument
64 return jsNontrivialString(callFrame, "undefined"); in jsTypeStringForValue()
66 return jsNontrivialString(callFrame, "boolean"); in jsTypeStringForValue()
[all …]
DArguments.h129 …ALWAYS_INLINE void Arguments::getArgumentsData(CallFrame* callFrame, JSFunction*& function, ptrdif… in getArgumentsData() argument
131 function = asFunction(callFrame->callee()); in getArgumentsData()
134 argc = callFrame->argumentCountIncludingThis(); in getArgumentsData()
137 argv = callFrame->registers() - RegisterFile::CallFrameHeaderSize - numParameters; in getArgumentsData()
139 … argv = callFrame->registers() - RegisterFile::CallFrameHeaderSize - numParameters - argc; in getArgumentsData()
145 inline Arguments::Arguments(CallFrame* callFrame) in Arguments() argument
146 …: JSNonFinalObject(callFrame->globalData(), callFrame->lexicalGlobalObject()->argumentsStructure()) in Arguments()
155 getArgumentsData(callFrame, callee, firstParameterIndex, argv, numArguments); in Arguments()
161 d->registers = reinterpret_cast<WriteBarrier<Unknown>*>(callFrame->registers()); in Arguments()
173 … extraArguments[i].set(callFrame->globalData(), this, argv[d->numParameters + i].jsValue()); in Arguments()
[all …]
DOperations.h337 ALWAYS_INLINE bool jsLess(CallFrame* callFrame, JSValue v1, JSValue v2) in jsLess() argument
347 JSGlobalData* globalData = &callFrame->globalData(); in jsLess()
349 return asString(v1)->value(callFrame) < asString(v2)->value(callFrame); in jsLess()
353 bool wasNotString1 = v1.getPrimitiveNumber(callFrame, n1, p1); in jsLess()
354 bool wasNotString2 = v2.getPrimitiveNumber(callFrame, n2, p2); in jsLess()
359 return asString(p1)->value(callFrame) < asString(p2)->value(callFrame); in jsLess()
362 inline bool jsLessEq(CallFrame* callFrame, JSValue v1, JSValue v2) in jsLessEq() argument
372 JSGlobalData* globalData = &callFrame->globalData(); in jsLessEq()
374 return !(asString(v2)->value(callFrame) < asString(v1)->value(callFrame)); in jsLessEq()
378 bool wasNotString1 = v1.getPrimitiveNumber(callFrame, n1, p1); in jsLessEq()
[all …]
DJSActivation.cpp42 JSActivation::JSActivation(CallFrame* callFrame, FunctionExecutable* functionExecutable) in JSActivation() argument
43 …: Base(callFrame->globalData(), callFrame->globalData().activationStructure.get(), functionExecuta… in JSActivation()
214 CallFrame* callFrame = CallFrame::create(reinterpret_cast<Register*>(activation->m_registers)); in argumentsGetter() local
216 if (JSValue arguments = callFrame->uncheckedR(argumentsRegister).jsValue()) in argumentsGetter()
220 JSValue arguments = JSValue(new (callFrame) Arguments(callFrame)); in argumentsGetter()
221 callFrame->uncheckedR(argumentsRegister) = arguments; in argumentsGetter()
222 callFrame->uncheckedR(realArgumentsRegister) = arguments; in argumentsGetter()
224 ASSERT(callFrame->uncheckedR(realArgumentsRegister).jsValue().inherits(&Arguments::s_info)); in argumentsGetter()
225 return callFrame->uncheckedR(realArgumentsRegister).jsValue(); in argumentsGetter()
/external/webkit/Source/WebCore/inspector/
DInjectedScriptSource.js298 var callFrame = InjectedScriptHost.currentCallFrame();
299 if (!callFrame)
305 result.push(new InjectedScript.CallFrameProxy(depth++, callFrame));
306 callFrame = callFrame.caller;
307 } while (callFrame);
313 var callFrame = this._callFrameForId(callFrameId);
314 if (!callFrame)
316 …return this._evaluateAndWrap(callFrame.evaluate, callFrame, expression, objectGroup, true, injectC…
323 var callFrame = InjectedScriptHost.currentCallFrame();
324 while (--ordinal >= 0 && callFrame)
[all …]
/external/webkit/Source/WebCore/inspector/front-end/
DCallStackSidebarPane.js50 var callFrame = callFrames[i];
51 var title = callFrame.functionName || WebInspector.UIString("(anonymous function)");
54 if (!callFrame.isInternalScript)
55 subtitle = WebInspector.displayNameForURL(callFrame.url);
60 placard.callFrame = callFrame;
71 callFrame.sourceLine(didGetSourceLine.bind(this, placard));
82 placard.selected = (placard.callFrame === x);
117 this.selectedCallFrame = placard.callFrame
126 if (placard.callFrame === this._model.selectedCallFrame)
134 this._model.selectedCallFrame = placard.callFrame;
DDebuggerPresentationModel.js521 var callFrame = callFrames[i];
523 var script = WebInspector.debuggerModel.scriptForSourceID(callFrame.location.sourceID);
526 …this._presentationCallFrames.push(new WebInspector.PresenationCallFrame(callFrame, i, sourceFile));
541 set selectedCallFrame(callFrame) argument
543 this._selectedCallFrameIndex = callFrame.index;
544 callFrame.select();
545 …spatchEventToListeners(WebInspector.DebuggerPresentationModel.Events.CallFrameSelected, callFrame);
651 WebInspector.PresenationCallFrame = function(callFrame, index, sourceFile) argument
653 this._callFrame = callFrame;
656 this._script = WebInspector.debuggerModel.scriptForSourceID(callFrame.location.sourceID);
DScopeChainSidebarPane.js35 update: function(callFrame) argument
39 if (!callFrame) {
60 var scopeChain = callFrame.scopeChain;
/external/webkit/Source/WebCore/bindings/js/
DScriptCallStackFactory.cpp59 CallFrame* callFrame = exec; in createScriptCallStack() local
61 ASSERT(callFrame); in createScriptCallStack()
67 …exec->interpreter()->retrieveLastCaller(callFrame, signedLineNumber, sourceID, urlString, function… in createScriptCallStack()
81 callFrame = callFrame->callerFrame(); in createScriptCallStack()
DJSInjectedScriptHostCustom.cpp80 … JavaScriptCallFrame* callFrame = impl()->debuggerAgent()->scriptDebugServer().currentCallFrame(); in currentCallFrame() local
81 if (!callFrame || !callFrame->isValid()) in currentCallFrame()
85 return toJS(exec, callFrame); in currentCallFrame()
/external/webkit/Source/JavaScriptCore/debugger/
DDebuggerCallFrame.h40 DebuggerCallFrame(CallFrame* callFrame) in DebuggerCallFrame() argument
41 : m_callFrame(callFrame) in DebuggerCallFrame()
45 DebuggerCallFrame(CallFrame* callFrame, JSValue exception) in DebuggerCallFrame() argument
46 : m_callFrame(callFrame) in DebuggerCallFrame()
/external/webkit/Source/WebCore/bindings/v8/
DJavaScriptCallFrame.h44 …aScriptCallFrame> create(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Object> callFrame) in create() argument
46 return adoptRef(new JavaScriptCallFrame(debuggerContext, callFrame)); in create()
64 JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Object> callFrame);
DJavaScriptCallFrame.cpp40 …ame::JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Object> callFrame) in JavaScriptCallFrame() argument
42 , m_callFrame(callFrame) in JavaScriptCallFrame()
/external/webkit/Source/JavaScriptCore/dfg/
DDFGJITCompiler.cpp326 poke(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof(void*)); in compileFunction()
340 poke(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof(void*)); in compileFunction()
/external/webkit/Source/WebKit/chromium/src/js/
DTests.js456 var callFrame = WebInspector.currentPanel._presentationModel.selectedCallFrame;
457 this.assertEquals(expectations.functionsOnStack[0], callFrame.functionName);

12