/external/webkit/Source/WebKit/mac/ForwardingHeaders/runtime/ |
JSFunction.h | 1 #include <JavaScriptCore/JSFunction.h>
|
/external/webkit/Source/WebCore/ForwardingHeaders/runtime/ |
JSFunction.h | 3 #include <JavaScriptCore/JSFunction.h>
|
/external/v8/src/ |
contexts.h | 59 V(BOOLEAN_FUNCTION_INDEX, JSFunction, boolean_function) \ 60 V(NUMBER_FUNCTION_INDEX, JSFunction, number_function) \ 61 V(STRING_FUNCTION_INDEX, JSFunction, string_function) \ 63 V(OBJECT_FUNCTION_INDEX, JSFunction, object_function) \ 64 V(ARRAY_FUNCTION_INDEX, JSFunction, array_function) \ 65 V(DATE_FUNCTION_INDEX, JSFunction, date_function) \ 67 V(REGEXP_FUNCTION_INDEX, JSFunction, regexp_function) \ 69 V(CREATE_DATE_FUN_INDEX, JSFunction, create_date_fun) \ 70 V(TO_NUMBER_FUN_INDEX, JSFunction, to_number_fun) \ 71 V(TO_STRING_FUN_INDEX, JSFunction, to_string_fun) [all...] |
runtime-profiler.h | 38 class JSFunction; 55 void OptimizeSoon(JSFunction* function); 109 void Optimize(JSFunction* function, bool eager, int delay); 111 void AttemptOnStackReplacement(JSFunction* function); 117 int LookupSample(JSFunction* function); 119 void AddSample(JSFunction* function, int weight);
|
runtime-profiler.cc | 48 explicit PendingListNode(JSFunction* function); 53 Handle<JSFunction> function() { return Handle<JSFunction>::cast(function_); } 89 PendingListNode::PendingListNode(JSFunction* function) : next_(NULL) { 151 void RuntimeProfiler::Optimize(JSFunction* function, bool eager, int delay) { 168 void RuntimeProfiler::AttemptOnStackReplacement(JSFunction* function) { 220 int RuntimeProfiler::LookupSample(JSFunction* function) { 234 void RuntimeProfiler::AddSample(JSFunction* function, int weight) { 249 Handle<JSFunction> function = current->function(); 263 JSFunction* samples[kSamplerFrameCount] [all...] |
factory.h | 141 Handle<JSFunction> closure); 181 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); 216 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 220 Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor); 234 Handle<JSFunction> NewFunction(Handle<String> name, 237 Handle<JSFunction> NewFunctionWithoutPrototype( 241 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); 243 Handle<JSFunction> BaseNewFunctionFromSharedFunctionInfo( 248 Handle<JSFunction> NewFunctionFromSharedFunctionInfo( 297 Handle<JSFunction> NewFunction(Handle<String> name [all...] |
contexts.cc | 61 JSFunction* closure = JSFunction::cast(current->closure()); 246 void Context::AddOptimizedFunction(JSFunction* function) { 252 element = JSFunction::cast(element)->next_function_link(); 274 void Context::RemoveOptimizedFunction(JSFunction* function) { 277 JSFunction* prev = NULL; 279 JSFunction* element_function = JSFunction::cast(element);
|
accessors.cc | 450 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); 454 function = FindInPrototypeChain<JSFunction>(object->GetPrototype(), 479 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); 521 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); 528 Handle<JSFunction> handle(function); 551 JSFunction* holder = FindInPrototypeChain<JSFunction>(object, &found_it) [all...] |
execution.h | 54 static Handle<Object> Call(Handle<JSFunction> func, 67 static Handle<Object> New(Handle<JSFunction> func, 76 static Handle<Object> TryCall(Handle<JSFunction> func, 118 static Handle<JSFunction> InstantiateFunction( 126 Handle<JSFunction> fun,
|
bootstrapper.cc | 166 Handle<JSFunction> CreateEmptyFunction(); 168 Handle<JSFunction> CreateThrowTypeErrorFunction(Builtins::Name builtin); 170 void CreateStrictModeFunctionMaps(Handle<JSFunction> empty); 192 Handle<JSFunction> empty_function); 233 Handle<JSFunction> empty_function, 318 static Handle<JSFunction> InstallFunction(Handle<JSObject> target, 329 Handle<JSFunction> function = prototype.is_null() ? 388 Handle<Map> map = FACTORY->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); 397 Handle<JSFunction> Genesis::CreateEmptyFunction() { 432 Handle<JSFunction> object_fun [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
FunctionPrototype.h | 31 void addFunctionProperties(ExecState*, JSGlobalObject*, Structure* functionStructure, JSFunction** callFunction, JSFunction** applyFunction);
|
JSFunction.h | 41 class JSFunction : public JSObjectWithGlobalObject { 48 JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeFunction); 49 JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeExecutable*); 50 JSFunction(ExecState*, FunctionExecutable*, ScopeChainNode*); 51 virtual ~JSFunction(); 90 explicit JSFunction(VPtrStealingHackType); 110 JSFunction* asFunction(JSValue); 112 inline JSFunction* asFunction(JSValue value) 114 ASSERT(asObject(value)->inherits(&JSFunction::s_info)); 115 return static_cast<JSFunction*>(asObject(value)) [all...] |
JSFunction.cpp | 26 #include "JSFunction.h" 50 ASSERT_CLASS_FITS_IN_CELL(JSFunction); 52 const ClassInfo JSFunction::s_info = { "Function", &Base::s_info, 0, 0 }; 54 bool JSFunction::isHostFunctionNonInline() const 59 JSFunction::JSFunction(VPtrStealingHackType) 64 JSFunction::JSFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int length, const Identifier& name, NativeExecutable* thunk) 74 JSFunction::JSFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int length, const Identifier& (…) [all...] |
ObjectPrototype.cpp | 25 #include "JSFunction.h" 47 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, objectProtoFuncToString), DontEnum); 48 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toLocaleString, objectProtoFuncToLocaleString), DontEnum); 49 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, objectProtoFuncValueOf), DontEnum); 50 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().hasOwnProperty, objectProtoFuncHasOwnProperty), DontEnum); 51 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().propertyIsEnumerable, objectProtoFuncPropertyIsEnumerable), DontEnum); 52 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().isPrototypeOf, objectProtoFuncIsPrototypeOf), DontEnum); 55 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().__defineGetter__, objectProtoFuncDefineGetter), DontEnum); 56 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().__defineSetter__, objectProtoFuncDefineSetter), DontEnum); 57 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().__lookupGetter__, objectProtoFuncL (…) [all...] |
BooleanPrototype.cpp | 26 #include "JSFunction.h" 45 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, booleanProtoFuncToString), DontEnum); 46 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, booleanProtoFuncValueOf), DontEnum);
|
FunctionPrototype.cpp | 26 #include "JSFunction.h" 46 void FunctionPrototype::addFunctionProperties(ExecState* exec, JSGlobalObject* globalObject, Structure* functionStructure, JSFunction** callFunction, JSFunction** applyFunction) 48 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, functionProtoFuncToString), DontEnum); 49 *applyFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().apply, functionProtoFuncApply); 51 *callFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().call, functionProtoFuncCall); 88 if (thisValue.inherits(&JSFunction::s_info)) { 89 JSFunction* function = asFunction(thisValue);
|
Lookup.cpp | 24 #include "JSFunction.h" 79 JSFunction* function; 83 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, exec->globalData().getHostFunction(entry->function(), entry->generator())); 86 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, entry->function());
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
Interpreter.h | 46 class JSFunction; 102 JSValue retrieveArguments(CallFrame*, JSFunction*) const; 103 JSValue retrieveCaller(CallFrame*, JSFunction*) const; 106 void getArgumentsData(CallFrame*, JSFunction*&, ptrdiff_t& firstParameterIndex, Register*& argv, int& argc); 120 CallFrameClosure prepareForRepeatCall(FunctionExecutable*, CallFrame*, JSFunction*, int argCount, ScopeChainNode*); 145 static CallFrame* findFunctionCallFrame(CallFrame*, JSFunction*);
|
CallFrameClosure.h | 34 JSFunction* function;
|
/external/v8/src/mips/ |
deoptimizer-mips.cc | 51 void Deoptimizer::DeoptimizeFunction(JSFunction* function) {
|
stub-cache-mips.cc | 278 JSFunction* function, 302 JSFunction* function, 312 JSFunction* function, 323 JSFunction* function, 334 JSFunction* function, 345 JSFunction* function, 355 JSFunction* function, 365 JSFunction* function, 377 JSFunction* function, 386 JSFunction* function [all...] |
/external/webkit/Source/JavaScriptCore/debugger/ |
DebuggerCallFrame.cpp | 32 #include "JSFunction.h" 48 if (!function || !function->inherits(&JSFunction::s_info)) 59 if (!function || !function->inherits(&JSFunction::s_info))
|
/external/v8/test/cctest/ |
test-compiler.cc | 116 static Handle<JSFunction> Compile(const char* source) { 137 Handle<JSFunction> fun = Compile(buffer.start()); 156 Handle<JSFunction> fun = Compile("result = x + y;"); 177 Handle<JSFunction> fun = Compile("if (x < 0) result = -x; else result = x;"); 197 Handle<JSFunction> fun = 221 Handle<JSFunction> fun = Compile(source); 254 Handle<JSFunction> fun = Compile(source); 269 Handle<JSFunction> fun = Compile(source); 293 Handle<JSFunction> fun0 = Compile(source); 311 Execution::Call(Handle<JSFunction>::cast(fun1), global, 1, argv [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSLazyEventListener.cpp | 27 #include <runtime/JSFunction.h> 100 JSObject* jsFunction = constructFunction(exec, exec->lexicalGlobalObject(), args, Identifier(exec, stringToUString(m_functionName)), stringToUString(m_sourceURL), m_lineNumber); // FIXME: is globalExec ok? 106 JSFunction* listenerAsFunction = static_cast<JSFunction*>(jsFunction); 125 return jsFunction;
|
/external/v8/src/arm/ |
codegen-arm.h | 65 static void SetFunctionInfo(Handle<JSFunction> fun,
|