Home
last modified time | relevance | path

Searched refs:cachedCall (Results 1 – 2 of 2) sorted by relevance

/external/webkit/JavaScriptCore/runtime/
DArrayPrototype.cpp604 CachedCall cachedCall(exec, f, 3, exec->exceptionSlot()); in arrayProtoFuncFilter() local
609 cachedCall.setThis(applyThis); in arrayProtoFuncFilter()
610 cachedCall.setArgument(0, v); in arrayProtoFuncFilter()
611 cachedCall.setArgument(1, jsNumber(exec, k)); in arrayProtoFuncFilter()
612 cachedCall.setArgument(2, thisObj); in arrayProtoFuncFilter()
614 JSValue result = cachedCall.call(); in arrayProtoFuncFilter()
662 CachedCall cachedCall(exec, f, 3, exec->exceptionSlot()); in arrayProtoFuncMap() local
667 cachedCall.setThis(applyThis); in arrayProtoFuncMap()
668 cachedCall.setArgument(0, array->getIndex(k)); in arrayProtoFuncMap()
669 cachedCall.setArgument(1, jsNumber(exec, k)); in arrayProtoFuncMap()
[all …]
DStringPrototype.cpp240 CachedCall cachedCall(exec, func, argCount, exec->exceptionSlot()); in stringProtoFuncReplace() local
260 cachedCall.setArgument(i, jsUndefined()); in stringProtoFuncReplace()
262 cachedCall.setArgument(i, jsSubstring(exec, source, matchStart, matchLen)); in stringProtoFuncReplace()
265 cachedCall.setArgument(i++, jsNumber(exec, completeMatchStart)); in stringProtoFuncReplace()
266 cachedCall.setArgument(i++, sourceVal); in stringProtoFuncReplace()
268 cachedCall.setThis(exec->globalThisValue()); in stringProtoFuncReplace()
269 replacements.append(cachedCall.call().toString(cachedCall.newCallFrame())); in stringProtoFuncReplace()