Home
last modified time | relevance | path

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

12

/external/webkit/JavaScriptCore/interpreter/
DInterpreter.cpp73 static ALWAYS_INLINE unsigned bytecodeOffsetForPC(CallFrame* callFrame, CodeBlock* codeBlock, void*… in bytecodeOffsetForPC() argument
76 return codeBlock->getBytecodeIndex(callFrame, ReturnAddressPtr(pc)); in bytecodeOffsetForPC()
78 UNUSED_PARAM(callFrame); in bytecodeOffsetForPC()
92 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->r(dst) = JSValue(result); in resolve()
[all …]
DCallFrame.h90 …static const HashTable* arrayTable(CallFrame* callFrame) { return callFrame->globalData().arrayTab… in arrayTable() argument
91 …static const HashTable* dateTable(CallFrame* callFrame) { return callFrame->globalData().dateTable… in dateTable() argument
92 …static const HashTable* jsonTable(CallFrame* callFrame) { return callFrame->globalData().jsonTable… in jsonTable() argument
93 …static const HashTable* mathTable(CallFrame* callFrame) { return callFrame->globalData().mathTable… in mathTable() argument
94 …static const HashTable* numberTable(CallFrame* callFrame) { return callFrame->globalData().numberT… in numberTable() argument
95 …static const HashTable* regExpTable(CallFrame* callFrame) { return callFrame->globalData().regExpT… in regExpTable() argument
96 …static const HashTable* regExpConstructorTable(CallFrame* callFrame) { return callFrame->globalDat… in regExpConstructorTable() argument
97 …static const HashTable* stringTable(CallFrame* callFrame) { return callFrame->globalData().stringT… in stringTable() argument
104 CallFrame* callerFrame() const { return this[RegisterFile::CallerFrame].callFrame(); } in callerFrame()
DCachedCall.h37 CachedCall(CallFrame* callFrame, JSFunction* function, int argCount, JSValue* exception) in CachedCall() argument
39 , m_interpreter(callFrame->interpreter()) in CachedCall()
41 …, m_globalObjectScope(callFrame, callFrame->globalData().dynamicGlobalObject ? callFrame->globalDa… in CachedCall()
43 …m_closure = m_interpreter->prepareForRepeatCall(function->body(), callFrame, function, argCount, f… in CachedCall()
DRegister.h72 CallFrame* callFrame() const;
92 CallFrame* callFrame; member
130 ALWAYS_INLINE Register::Register(CallFrame* callFrame) in Register() argument
132 u.callFrame = callFrame; in Register()
175 ALWAYS_INLINE CallFrame* Register::callFrame() const in callFrame() function
177 return u.callFrame; in callFrame()
/external/webkit/JavaScriptCore/jit/
DJITStubs.cpp80 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_ma…
139 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x90, JITStackFrame_callFrame_offset_ma…
270 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_ma…
332 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x38, JITStackFrame_callFrame_offset_ma…
390 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x58, JITStackFrame_callFrame_offset_ma…
570 COMPILE_ASSERT(offsetof(struct JITStackFrame, callFrame) == 0x38, JITStackFrame_callFrame_offset_ma…
649 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, callFrame) == 0x34); in JITThunks()
660 NEVER_INLINE void JITThunks::tryCachePutByID(CallFrame* callFrame, CodeBlock* codeBlock, ReturnAddr… in tryCachePutByID() argument
691 StructureChain* prototypeChain = structure->prototypeChain(callFrame); in tryCachePutByID()
697 …JIT::compilePutByIdTransition(callFrame->scopeChain()->globalData, codeBlock, stubInfo, structure-… in tryCachePutByID()
[all …]
DJIT.h286 …static void compileGetByIdProto(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlo… in compileGetByIdProto() argument
289 …mpileGetByIdProto(stubInfo, structure, prototypeStructure, cachedOffset, returnAddress, callFrame); in compileGetByIdProto()
297 …static void compileGetByIdProtoList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* cod… in compileGetByIdProtoList() argument
300 …nfo, prototypeStructureList, currentIndex, structure, prototypeStructure, cachedOffset, callFrame); in compileGetByIdProtoList()
302 …static void compileGetByIdChainList(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* cod… in compileGetByIdChainList() argument
305 …(stubInfo, prototypeStructureList, currentIndex, structure, chain, count, cachedOffset, callFrame); in compileGetByIdChainList()
308 …static void compileGetByIdChain(JSGlobalData* globalData, CallFrame* callFrame, CodeBlock* codeBlo… in compileGetByIdChain() argument
311 …vateCompileGetByIdChain(stubInfo, structure, chain, count, cachedOffset, returnAddress, callFrame); in compileGetByIdChain()
357 …re* prototypeStructure, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame);
359 …eList*, int, Structure*, Structure* prototypeStructure, size_t cachedOffset, CallFrame* callFrame);
[all …]
DJITCode.h77 …inline JSValue execute(RegisterFile* registerFile, CallFrame* callFrame, JSGlobalData* globalData,… in execute() argument
79 …e::decode(ctiTrampoline(m_ref.m_code.executableAddress(), registerFile, callFrame, exception, Prof… in execute()
DJITStubs.h87 CallFrame* callFrame; member
123 CallFrame* callFrame; member
151 CallFrame* callFrame; member
173 CallFrame* callFrame; member
DJITPropertyAccess.cpp720 …ure* prototypeStructure, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame) in privateCompileGetByIdProto() argument
726 JSObject* protoObject = asObject(structure->prototypeForLookup(callFrame)); in privateCompileGetByIdProto()
799 …ex, Structure* structure, Structure* prototypeStructure, size_t cachedOffset, CallFrame* callFrame) in privateCompileGetByIdProtoList() argument
805 JSObject* protoObject = asObject(structure->prototypeForLookup(callFrame)); in privateCompileGetByIdProtoList()
845 …ructure* structure, StructureChain* chain, size_t count, size_t cachedOffset, CallFrame* callFrame) in privateCompileGetByIdChainList() argument
860 protoObject = asObject(currStructure->prototypeForLookup(callFrame)); in privateCompileGetByIdChainList()
900 …in* chain, size_t count, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame) in privateCompileGetByIdChain() argument
915 protoObject = asObject(currStructure->prototypeForLookup(callFrame)); in privateCompileGetByIdChain()
1521 …ure* prototypeStructure, size_t cachedOffset, ReturnAddressPtr returnAddress, CallFrame* callFrame)
1525 JSObject* protoObject = asObject(structure->prototypeForLookup(callFrame));
[all …]
DJITInlineMethods.h144 poke(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof (void*)); in restoreArgumentReference()
151 poke(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof (void*)); in restoreArgumentReference()
/external/webkit/JavaScriptCore/runtime/
DOperations.cpp55 NEVER_INLINE JSValue jsAddSlowCase(CallFrame* callFrame, JSValue v1, JSValue v2) in jsAddSlowCase() argument
58 JSValue p1 = v1.toPrimitive(callFrame); in jsAddSlowCase()
59 JSValue p2 = v2.toPrimitive(callFrame); in jsAddSlowCase()
62 …RefPtr<UString::Rep> value = concatenate(p1.toString(callFrame).rep(), p2.toString(callFrame).rep(… in jsAddSlowCase()
64 return throwOutOfMemoryError(callFrame); in jsAddSlowCase()
65 return jsString(callFrame, value.release()); in jsAddSlowCase()
68 return jsNumber(callFrame, p1.toNumber(callFrame) + p2.toNumber(callFrame)); in jsAddSlowCase()
71 JSValue jsTypeStringForValue(CallFrame* callFrame, JSValue v) in jsTypeStringForValue() argument
74 return jsNontrivialString(callFrame, "undefined"); in jsTypeStringForValue()
76 return jsNontrivialString(callFrame, "boolean"); in jsTypeStringForValue()
[all …]
DOperations.h137 inline bool jsLess(CallFrame* callFrame, JSValue v1, JSValue v2) in jsLess() argument
147 JSGlobalData* globalData = &callFrame->globalData(); in jsLess()
153 bool wasNotString1 = v1.getPrimitiveNumber(callFrame, n1, p1); in jsLess()
154 bool wasNotString2 = v2.getPrimitiveNumber(callFrame, n2, p2); in jsLess()
162 inline bool jsLessEq(CallFrame* callFrame, JSValue v1, JSValue v2) in jsLessEq() argument
172 JSGlobalData* globalData = &callFrame->globalData(); in jsLessEq()
178 bool wasNotString1 = v1.getPrimitiveNumber(callFrame, n1, p1); in jsLessEq()
179 bool wasNotString2 = v2.getPrimitiveNumber(callFrame, n2, p2); in jsLessEq()
196 ALWAYS_INLINE JSValue jsAdd(CallFrame* callFrame, JSValue v1, JSValue v2) in jsAdd() argument
203 return jsNumber(callFrame, left + right); in jsAdd()
[all …]
DArguments.h113 …ALWAYS_INLINE void Arguments::getArgumentsData(CallFrame* callFrame, JSFunction*& function, ptrdif… in getArgumentsData() argument
115 function = callFrame->callee(); in getArgumentsData()
119 argc = callFrame->argumentCount(); in getArgumentsData()
122 …argv = callFrame->registers() - RegisterFile::CallFrameHeaderSize - numParameters + 1; // + 1 to s… in getArgumentsData()
124 …argv = callFrame->registers() - RegisterFile::CallFrameHeaderSize - numParameters - argc + 1; // +… in getArgumentsData()
130 inline Arguments::Arguments(CallFrame* callFrame) in Arguments() argument
131 : JSObject(callFrame->lexicalGlobalObject()->argumentsStructure()) in Arguments()
138 getArgumentsData(callFrame, callee, firstParameterIndex, argv, numArguments); in Arguments()
145 d->registers = callFrame->registers(); in Arguments()
167 inline Arguments::Arguments(CallFrame* callFrame, NoParametersType) in Arguments() argument
[all …]
DJSActivation.cpp42 JSActivation::JSActivation(CallFrame* callFrame, PassRefPtr<FunctionBodyNode> functionBody) in JSActivation() argument
43 …: Base(callFrame->globalData().activationStructure, new JSActivationData(functionBody, callFrame->… in JSActivation()
152 CallFrame* callFrame = CallFrame::create(activation->d()->registers); in argumentsGetter() local
153 Arguments* arguments = callFrame->optionalCalleeArguments(); in argumentsGetter()
155 arguments = new (callFrame) Arguments(callFrame); in argumentsGetter()
157 callFrame->setCalleeArguments(arguments); in argumentsGetter()
DJSGlobalObject.h401 DynamicGlobalObjectScope(CallFrame* callFrame, JSGlobalObject* dynamicGlobalObject) in DynamicGlobalObjectScope() argument
402 : m_dynamicGlobalObjectSlot(callFrame->globalData().dynamicGlobalObject) in DynamicGlobalObjectScope()
/external/webkit/WebCore/inspector/front-end/
DCallStackSidebarPane.js42 update: function(callFrame, sourceIDMap) argument
49 if (!callFrame) {
62 switch (callFrame.type) {
64 title = callFrame.functionName || WebInspector.UIString("(anonymous function)");
71 scriptOrResource = sourceIDMap[callFrame.sourceID];
74 if (callFrame.line > 0) {
76 subtitle += ":" + callFrame.line;
78 subtitle = WebInspector.UIString("line %d", callFrame.line);
82 placard.callFrame = callFrame;
89 callFrame = callFrame.caller;
[all …]
DScopeChainSidebarPane.js32 update: function(callFrame) argument
37 this.callFrame = callFrame;
39 if (!callFrame) {
47 if (!callFrame._expandedProperties) {
53 callFrame._expandedProperties = new inspectedWindow.Object;
57 var scopeChain = callFrame.scopeChain;
68 extraProperties = { "this": callFrame.thisObject };
112 …if (this.hasChildren && this.propertyIdentifier in this.treeOutline.section.pane.callFrame._expand…
118 this.treeOutline.section.pane.callFrame._expandedProperties[this.propertyIdentifier] = true;
123 delete this.treeOutline.section.pane.callFrame._expandedProperties[this.propertyIdentifier];
DScriptsPanel.js375 doEvalInCallFrame: function(callFrame, code, callback) argument
382 callback(panel._variablesInScope(callFrame));
386 callback(callFrame.evaluate(code));
394 _variablesInScope: function(callFrame) argument
397 var scopeChain = callFrame.scopeChain;
/external/webkit/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/WebCore/bindings/js/
DJSInspectorBackendCustom.cpp255 JavaScriptCallFrame* callFrame = impl()->currentCallFrame(); in currentCallFrame() local
256 if (!callFrame || !callFrame->isValid()) in currentCallFrame()
260 ExecState* globalExec = callFrame->scopeChain()->globalObject()->globalExec(); in currentCallFrame()
263 return JSInspectedObjectWrapper::wrap(globalExec, toJS(exec, callFrame)); in currentCallFrame()
/external/webkit/WebCore/page/
DConsole.cpp77 static bool getFirstArgumentAsString(ScriptState* scriptState, const ScriptCallFrame& callFrame, St… in getFirstArgumentAsString() argument
79 if (!callFrame.argumentCount()) in getFirstArgumentAsString()
82 const ScriptValue& value = callFrame.argumentAt(0); in getFirstArgumentAsString()
/external/webkit/JavaScriptCore/bytecode/
DCodeBlock.cpp1449 void CodeBlock::reparseForExceptionInfoIfNecessary(CallFrame* callFrame) in reparseForExceptionInfoIfNecessary() argument
1455 ScopeChainNode* scopeChain = callFrame->scopeChain(); in reparseForExceptionInfoIfNecessary()
1539 int CodeBlock::lineNumberForBytecodeOffset(CallFrame* callFrame, unsigned bytecodeOffset) in lineNumberForBytecodeOffset() argument
1544 reparseForExceptionInfoIfNecessary(callFrame); in lineNumberForBytecodeOffset()
1565 int CodeBlock::expressionRangeForBytecodeOffset(CallFrame* callFrame, unsigned bytecodeOffset, int&… in expressionRangeForBytecodeOffset() argument
1570 reparseForExceptionInfoIfNecessary(callFrame); in expressionRangeForBytecodeOffset()
1578 return lineNumberForBytecodeOffset(callFrame, bytecodeOffset); in expressionRangeForBytecodeOffset()
1596 return lineNumberForBytecodeOffset(callFrame, bytecodeOffset); in expressionRangeForBytecodeOffset()
1602 return lineNumberForBytecodeOffset(callFrame, bytecodeOffset); in expressionRangeForBytecodeOffset()
1605 bool CodeBlock::getByIdExceptionInfoForBytecodeOffset(CallFrame* callFrame, unsigned bytecodeOffset… in getByIdExceptionInfoForBytecodeOffset() argument
[all …]
DCodeBlock.h329 unsigned getBytecodeIndex(CallFrame* callFrame, ReturnAddressPtr returnAddress) in getBytecodeIndex() argument
331 reparseForExceptionInfoIfNecessary(callFrame); in getBytecodeIndex()
/external/webkit/WebCore/page/android/
DInspectorControllerAndroid.cpp109 void InspectorController::startGroup(MessageSource source, ScriptCallStack* callFrame) {} in startGroup() argument
/external/webkit/WebCore/inspector/
DInspectorController.h244 void startGroup(MessageSource source, ScriptCallStack* callFrame);

12