/external/v8/src/ |
D | 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 …]
|
D | 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 …]
|
D | runtime-profiler.cc | 48 explicit PendingListNode(JSFunction* function); 53 Handle<JSFunction> function() { return Handle<JSFunction>::cast(function_); } in function() 89 PendingListNode::PendingListNode(JSFunction* function) : next_(NULL) { in PendingListNode() 151 void RuntimeProfiler::Optimize(JSFunction* function, bool eager, int delay) { in Optimize() 168 void RuntimeProfiler::AttemptOnStackReplacement(JSFunction* function) { in AttemptOnStackReplacement() 220 int RuntimeProfiler::LookupSample(JSFunction* function) { in LookupSample() 234 void RuntimeProfiler::AddSample(JSFunction* function, int weight) { in AddSample() 249 Handle<JSFunction> function = current->function(); in OptimizeNow() 263 JSFunction* samples[kSamplerFrameCount]; in OptimizeNow() 270 JSFunction* function = JSFunction::cast(frame->function()); in OptimizeNow() [all …]
|
D | runtime-profiler.h | 38 class JSFunction; variable 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);
|
D | 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, in InstallFunction() 329 Handle<JSFunction> function = prototype.is_null() ? in InstallFunction() 388 Handle<Map> map = FACTORY->NewMap(JS_FUNCTION_TYPE, JSFunction::kSize); in CreateFunctionMap() 397 Handle<JSFunction> Genesis::CreateEmptyFunction() { in CreateEmptyFunction() 432 Handle<JSFunction> object_fun = in CreateEmptyFunction() [all …]
|
D | accessors.cc | 450 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); in FunctionGetPrototype() 454 function = FindInPrototypeChain<JSFunction>(object->GetPrototype(), in FunctionGetPrototype() 479 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); in FunctionSetPrototype() 521 JSFunction* function = FindInPrototypeChain<JSFunction>(object, &found_it); in FunctionGetLength() 528 Handle<JSFunction> handle(function); in FunctionGetLength() 551 JSFunction* holder = FindInPrototypeChain<JSFunction>(object, &found_it); in FunctionGetName() 571 Handle<JSFunction> inlined_function, in ConstructArgumentsObjectForInlinedFunction() 597 JSFunction* holder = FindInPrototypeChain<JSFunction>(object, &found_it); in FunctionGetArguments() 599 Handle<JSFunction> function(holder, isolate); in FunctionGetArguments() 602 List<JSFunction*> functions(2); in FunctionGetArguments() [all …]
|
D | factory.cc | 215 Handle<JSFunction> closure) { in NewFunctionContext() 342 Handle<JSObject> Factory::NewFunctionPrototype(Handle<JSFunction> function) { in NewFunctionPrototype() 411 Handle<JSFunction> Factory::BaseNewFunctionFromSharedFunctionInfo( in BaseNewFunctionFromSharedFunctionInfo() 421 JSFunction); in BaseNewFunctionFromSharedFunctionInfo() 425 Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo( in NewFunctionFromSharedFunctionInfo() 429 Handle<JSFunction> result = BaseNewFunctionFromSharedFunctionInfo( in NewFunctionFromSharedFunctionInfo() 443 literals->set(JSFunction::kLiteralGlobalContextIndex, in NewFunctionFromSharedFunctionInfo() 569 Handle<JSFunction> fun = Handle<JSFunction>::cast(fun_obj); in NewError() 591 Handle<JSFunction> fun = Handle<JSFunction>( in NewError() 592 JSFunction::cast(isolate()->js_builtins_object()-> in NewError() [all …]
|
D | execution.cc | 69 Handle<JSFunction> func, in Invoke() 119 JSFunction* function = *func; in Invoke() 148 Handle<Object> Execution::Call(Handle<JSFunction> func, in Call() 157 Handle<Object> Execution::New(Handle<JSFunction> func, int argc, in New() 164 Handle<Object> Execution::TryCall(Handle<JSFunction> func, in TryCall() 229 return Handle<JSFunction>( in GetFunctionDelegate() 248 return Handle<JSFunction>( in GetConstructorDelegate() 546 Handle<JSFunction> function = Handle<JSFunction>( in NewJSRegExp() 574 Handle<Object> result = TryCall(Handle<JSFunction>::cast(char_at), in CharAt() 586 Handle<JSFunction> Execution::InstantiateFunction( in InstantiateFunction() [all …]
|
D | contexts.cc | 61 JSFunction* closure = JSFunction::cast(current->closure()); in global_context() 246 void Context::AddOptimizedFunction(JSFunction* function) { in AddOptimizedFunction() 252 element = JSFunction::cast(element)->next_function_link(); in AddOptimizedFunction() 274 void Context::RemoveOptimizedFunction(JSFunction* function) { in RemoveOptimizedFunction() 277 JSFunction* prev = NULL; in RemoveOptimizedFunction() 279 JSFunction* element_function = JSFunction::cast(element); in RemoveOptimizedFunction()
|
D | stub-cache.h | 144 JSFunction* receiver); 215 JSFunction* function); 237 JSFunction* function); 717 JSFunction* function, 726 JSFunction* function, 729 static bool HasCustomCallGenerator(JSFunction* function); 738 JSFunction* function, 745 JSFunction* function, \ 755 JSFunction* function, 770 MUST_USE_RESULT MaybeObject* GetCode(JSFunction* function); [all …]
|
D | deoptimizer.h | 67 virtual void VisitFunction(JSFunction* function) = 0; 110 static Deoptimizer* New(JSFunction* function, 128 static void DeoptimizeFunction(JSFunction* function); 231 JSFunction* function, 252 unsigned ComputeFixedSize(JSFunction* function) const; 254 unsigned ComputeIncomingArgumentSize(JSFunction* function) const; 272 JSFunction* function_; 298 JSFunction* function); 312 JSFunction* GetFunction() const { return function_; } in GetFunction() 394 JSFunction* function_;
|
D | 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,
|
D | handles.h | 325 void SetExpectedNofProperties(Handle<JSFunction> func, int nof); 328 void SetPrototypeProperty(Handle<JSFunction> func, Handle<JSObject> value); 336 Handle<JSFunction> constructor, 339 Handle<Object> SetPrototype(Handle<JSFunction> function, 354 bool CompileLazy(Handle<JSFunction> function, ClearExceptionFlag flag); 356 bool CompileLazyInLoop(Handle<JSFunction> function, ClearExceptionFlag flag); 358 bool CompileOptimized(Handle<JSFunction> function,
|
D | frames.cc | 215 Object* script = JSFunction::cast(frame()->function())->shared()->script(); in IsValidFrame() 650 JSFunction* function = JSFunction::cast(this->function()); in unchecked_code() 659 JSFunction* function = JSFunction::cast(this->function()); in GetNumberOfIncomingArguments() 669 void JavaScriptFrame::GetFunctions(List<JSFunction*>* functions) { in GetFunctions() 671 functions->Add(JSFunction::cast(function())); in GetFunctions() 680 JSFunction::cast(function()), in Summarize() 738 JSFunction* function = in Summarize() 739 JSFunction::cast(data->LiteralArray()->get(function_id)); in Summarize() 789 JSFunction* opt_function = JSFunction::cast(function()); in GetDeoptimizationData() 809 void OptimizedFrame::GetFunctions(List<JSFunction*>* functions) { in GetFunctions() [all …]
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | JSFunction.cpp | 50 ASSERT_CLASS_FITS_IN_CELL(JSFunction); 52 const ClassInfo JSFunction::s_info = { "Function", &Base::s_info, 0, 0 }; 54 bool JSFunction::isHostFunctionNonInline() const in isHostFunctionNonInline() 59 JSFunction::JSFunction(VPtrStealingHackType) in JSFunction() function in JSC::JSFunction 64 JSFunction::JSFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int len… in JSFunction() function in JSC::JSFunction 74 JSFunction::JSFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, int len… in JSFunction() function in JSC::JSFunction 87 JSFunction::JSFunction(ExecState* exec, FunctionExecutable* executable, ScopeChainNode* scopeChainN… in JSFunction() function in JSC::JSFunction 97 JSFunction::~JSFunction() in ~JSFunction() 111 const UString& JSFunction::name(ExecState* exec) in name() 116 const UString JSFunction::displayName(ExecState* exec) in displayName() [all …]
|
D | 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&, NativeExecutabl… 50 JSFunction(ExecState*, FunctionExecutable*, ScopeChainNode*); 51 virtual ~JSFunction(); 90 explicit JSFunction(VPtrStealingHackType); 110 JSFunction* asFunction(JSValue); 112 inline JSFunction* asFunction(JSValue value) in asFunction() 114 ASSERT(asObject(value)->inherits(&JSFunction::s_info)); in asFunction() 115 return static_cast<JSFunction*>(asObject(value)); in asFunction()
|
D | ObjectPrototype.cpp | 47 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 48 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 49 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 50 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 51 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 52 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 55 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 56 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 57 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype() 58 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in ObjectPrototype()
|
D | FunctionPrototype.cpp | 46 …GlobalObject* globalObject, Structure* functionStructure, JSFunction** callFunction, JSFunction** … in addFunctionProperties() 48 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in addFunctionProperties() 49 …*applyFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNam… in addFunctionProperties() 51 …*callFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyName… in addFunctionProperties() 88 if (thisValue.inherits(&JSFunction::s_info)) { in functionProtoFuncToString() 89 JSFunction* function = asFunction(thisValue); in functionProtoFuncToString()
|
D | JSGlobalObject.cpp | 173 …m_functionStructure.set(exec->globalData(), this, JSFunction::createStructure(exec->globalData(), … in reset() 175 JSFunction* callFunction = 0; in reset() 176 JSFunction* applyFunction = 0; in reset() 280 …m_evalFunction.set(exec->globalData(), this, new (exec) JSFunction(exec, this, m_functionStructure… in reset() 282 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, this, m_functionStructure.get… in reset() 283 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, this, m_functionStructure.get… in reset() 284 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, this, m_functionStructure.get… in reset() 285 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, this, m_functionStructure.get… in reset() 286 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, this, m_functionStructure.get… in reset() 287 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, this, m_functionStructure.get… in reset() [all …]
|
D | NumberPrototype.cpp | 55 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in NumberPrototype() 56 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in NumberPrototype() 57 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in NumberPrototype() 58 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in NumberPrototype() 59 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in NumberPrototype() 60 …putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructu… in NumberPrototype()
|
/external/v8/src/mips/ |
D | stub-cache-mips.cc | 278 JSFunction* function, in GenerateLoadFunctionFromCell() 302 JSFunction* function, in CompileArrayPushCall() 312 JSFunction* function, in CompileArrayPopCall() 323 JSFunction* function, in CompileStringCharCodeAtCall() 334 JSFunction* function, in CompileStringCharAtCall() 345 JSFunction* function, in CompileStringFromCharCodeCall() 355 JSFunction* function, in CompileMathFloorCall() 365 JSFunction* function, in CompileMathAbsCall() 377 JSFunction* function, in CompileFastApiCall() 386 JSFunction* function, in CompileCallConstant() [all …]
|
/external/v8/test/cctest/ |
D | test-compiler.cc | 116 static Handle<JSFunction> Compile(const char* source) { in Compile() 137 Handle<JSFunction> fun = Compile(buffer.start()); in Inc() 156 Handle<JSFunction> fun = Compile("result = x + y;"); in Add() 177 Handle<JSFunction> fun = Compile("if (x < 0) result = -x; else result = x;"); in Abs() 197 Handle<JSFunction> fun = in Sum() 221 Handle<JSFunction> fun = Compile(source); in TEST() 254 Handle<JSFunction> fun = Compile(source); in TEST() 269 Handle<JSFunction> fun = Compile(source); in TEST() 293 Handle<JSFunction> fun0 = Compile(source); in TEST() 311 Execution::Call(Handle<JSFunction>::cast(fun1), global, 1, argv, in TEST() [all …]
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
D | Interpreter.h | 46 class JSFunction; variable 102 JSValue retrieveArguments(CallFrame*, JSFunction*) const; 103 JSValue retrieveCaller(CallFrame*, JSFunction*) const; 106 …void getArgumentsData(CallFrame*, JSFunction*&, ptrdiff_t& firstParameterIndex, Register*& argv, i… 120 …CallFrameClosure prepareForRepeatCall(FunctionExecutable*, CallFrame*, JSFunction*, int argCount, … 145 static CallFrame* findFunctionCallFrame(CallFrame*, JSFunction*);
|
/external/webkit/Source/JavaScriptCore/profiler/ |
D | Profiler.cpp | 51 static CallIdentifier createCallIdentifierFromFunctionImp(ExecState*, JSFunction*); 166 if (asObject(functionValue)->inherits(&JSFunction::s_info)) { in createCallIdentifier() 167 JSFunction* function = asFunction(functionValue); in createCallIdentifier() 171 if (asObject(functionValue)->inherits(&JSFunction::s_info)) in createCallIdentifier() 172 …return CallIdentifier(static_cast<JSFunction*>(asObject(functionValue))->name(exec), defaultSource… in createCallIdentifier() 178 CallIdentifier createCallIdentifierFromFunctionImp(ExecState* exec, JSFunction* function) in createCallIdentifierFromFunctionImp()
|
/external/webkit/Source/JavaScriptCore/ |
D | jsc.cpp | 153 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 154 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 155 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 156 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 157 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 158 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 159 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 160 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 161 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() 164 …putDirectFunction(globalExec(), new (globalExec()) JSFunction(globalExec(), this, functionStructur… in GlobalObject() [all …]
|