/external/v8/src/ |
D | compilation-cache.h | 76 void Remove(Handle<SharedFunctionInfo> function_info); 98 Handle<SharedFunctionInfo> Lookup(Handle<String> source, 102 void Put(Handle<String> source, Handle<SharedFunctionInfo> function_info); 106 Handle<String> source, Handle<SharedFunctionInfo> function_info); 110 Handle<String> source, Handle<SharedFunctionInfo> function_info); 112 bool HasOrigin(Handle<SharedFunctionInfo> function_info, 142 Handle<SharedFunctionInfo> Lookup(Handle<String> source, 149 Handle<SharedFunctionInfo> function_info, 156 Handle<SharedFunctionInfo> function_info, 163 Handle<SharedFunctionInfo> function_info, [all …]
|
D | compilation-cache.cc | 120 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove() 143 Handle<SharedFunctionInfo> function_info, in HasOrigin() 168 Handle<SharedFunctionInfo> CompilationCacheScript::Lookup(Handle<String> source, in Lookup() 182 Handle<SharedFunctionInfo> function_info = in Lookup() 183 Handle<SharedFunctionInfo>::cast(probe); in Lookup() 212 Handle<SharedFunctionInfo> shared(SharedFunctionInfo::cast(result), in Lookup() 222 return Handle<SharedFunctionInfo>::null(); in Lookup() 229 Handle<SharedFunctionInfo> function_info) { in TryTablePut() 237 Handle<SharedFunctionInfo> function_info) { in TablePut() 245 Handle<SharedFunctionInfo> function_info) { in Put() [all …]
|
D | compiler.h | 45 explicit CompilationInfo(Handle<SharedFunctionInfo> shared_info); 66 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() 242 Handle<SharedFunctionInfo> shared_info_; 288 static Handle<SharedFunctionInfo> Compile(Handle<String> source, 298 static Handle<SharedFunctionInfo> CompileEval(Handle<String> source, 310 static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node, 314 static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info, 325 Handle<SharedFunctionInfo> shared);
|
D | compiler.cc | 68 CompilationInfo::CompilationInfo(Handle<SharedFunctionInfo> shared_info) in CompilationInfo() 92 shared_info_(Handle<SharedFunctionInfo>(closure->shared())), in CompilationInfo() 274 Handle<SharedFunctionInfo> shared = info->shared_info(); in MakeCrankshaftCode() 357 static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) { in MakeFunctionInfo() 397 return Handle<SharedFunctionInfo>::null(); in MakeFunctionInfo() 413 return Handle<SharedFunctionInfo>::null(); in MakeFunctionInfo() 418 Handle<SharedFunctionInfo> result = in MakeFunctionInfo() 471 Handle<SharedFunctionInfo> Compiler::Compile(Handle<String> source, in Compile() 490 Handle<SharedFunctionInfo> result; in Compile() 545 Handle<SharedFunctionInfo> Compiler::CompileEval(Handle<String> source, in CompileEval() [all …]
|
D | objects-inl.h | 615 TYPE_CHECKER(SharedFunctionInfo, SHARED_FUNCTION_INFO_TYPE) in TYPE_CHECKER() 2147 CAST_ACCESSOR(SharedFunctionInfo) in CAST_ACCESSOR() 3417 ACCESSORS(JSFunction, shared, SharedFunctionInfo, kSharedFunctionInfoOffset) in ACCESSORS() 3503 ACCESSORS(DebugInfo, shared, SharedFunctionInfo, kSharedFunctionInfoIndex) in ACCESSORS() 3514 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) in ACCESSORS() 3515 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) in ACCESSORS() 3516 ACCESSORS(SharedFunctionInfo, initial_map, Object, kInitialMapOffset) in ACCESSORS() 3517 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, in ACCESSORS() 3519 ACCESSORS(SharedFunctionInfo, function_data, Object, kFunctionDataOffset) in ACCESSORS() 3520 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) in ACCESSORS() [all …]
|
D | bootstrapper.h | 55 bool Lookup(Vector<const char> name, Handle<SharedFunctionInfo>* handle) { in Lookup() 59 *handle = Handle<SharedFunctionInfo>( in Lookup() 60 SharedFunctionInfo::cast(cache_->get(i + 1))); in Lookup() 67 void Add(Vector<const char> name, Handle<SharedFunctionInfo> shared) { in Add()
|
D | liveedit.cc | 708 void SetSharedFunctionInfo(Handle<SharedFunctionInfo> info) { in SetSharedFunctionInfo() 763 Handle<SharedFunctionInfo> info) { in SetProperties() 771 Handle<SharedFunctionInfo> GetInfo() { in GetInfo() 775 return Handle<SharedFunctionInfo>::cast(raw_result); in GetInfo() 827 void FunctionInfo(Handle<SharedFunctionInfo> shared, Scope* scope) { in FunctionInfo() 913 Handle<SharedFunctionInfo> info( in WrapSharedFunctionInfos() 914 SharedFunctionInfo::cast(array->GetElementNoExceptionThrown(i))); in WrapSharedFunctionInfos() 1019 static bool IsInlined(JSFunction* function, SharedFunctionInfo* candidate) { in IsInlined() 1044 SharedFunctionInfo* function_info) in DependentFunctionsDeoptimizingVisitor() 1061 SharedFunctionInfo* function_info_; [all …]
|
D | debug.cc | 750 Handle<SharedFunctionInfo> function_info; in CompileDebuggerScript() 922 Handle<SharedFunctionInfo> shared = in Break() 923 Handle<SharedFunctionInfo>(JSFunction::cast(frame->function())->shared()); in Break() 1127 bool Debug::HasDebugInfo(Handle<SharedFunctionInfo> shared) { in HasDebugInfo() 1134 Handle<DebugInfo> Debug::GetDebugInfo(Handle<SharedFunctionInfo> shared) { in GetDebugInfo() 1140 void Debug::SetBreakPoint(Handle<SharedFunctionInfo> shared, in SetBreakPoint() 1179 Handle<SharedFunctionInfo> shared(debug_info->shared()); in ClearBreakPoint() 1219 void Debug::FloodWithOneShot(Handle<SharedFunctionInfo> shared) { in FloodWithOneShot() 1242 Handle<SharedFunctionInfo> shared_info(JSFunction::cast(*bindee)->shared()); in FloodBoundFunctionWithOneShot() 1258 Handle<SharedFunctionInfo> shared = in FloodHandlerWithOneShot() [all …]
|
D | factory.h | 304 Handle<SharedFunctionInfo> function_info, 309 Handle<SharedFunctionInfo> function_info, 366 Handle<SharedFunctionInfo> shared, Handle<Object> prototype); 427 Handle<SharedFunctionInfo> NewSharedFunctionInfo( 432 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); 454 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
|
D | log.cc | 941 SharedFunctionInfo* shared, in CodeCreateEvent() 982 SharedFunctionInfo* shared, in CodeCreateEvent() 1330 EnumerateOptimizedFunctionsVisitor(Handle<SharedFunctionInfo>* sfis, in EnumerateOptimizedFunctionsVisitor() 1339 SharedFunctionInfo* sfi = SharedFunctionInfo::cast(function->shared()); in VisitFunction() 1344 sfis_[*count_] = Handle<SharedFunctionInfo>(sfi); in VisitFunction() 1354 Handle<SharedFunctionInfo>* sfis_; 1360 static int EnumerateCompiledFunctions(Handle<SharedFunctionInfo>* sfis, in EnumerateCompiledFunctions() 1370 SharedFunctionInfo* sfi = SharedFunctionInfo::cast(obj); in EnumerateCompiledFunctions() 1375 sfis[compiled_funcs_count] = Handle<SharedFunctionInfo>(sfi); in EnumerateCompiledFunctions() 1537 void Logger::LogExistingFunction(Handle<SharedFunctionInfo> shared, in LogExistingFunction() [all …]
|
D | mark-compact.cc | 770 void AddCandidate(SharedFunctionInfo* shared_info) { in AddCandidate() 796 SharedFunctionInfo* shared = candidate->shared(); in ProcessJSFunctionCandidates() 826 SharedFunctionInfo* candidate = shared_function_info_candidates_head_; in ProcessSharedFunctionInfoCandidates() 827 SharedFunctionInfo* next_candidate; in ProcessSharedFunctionInfoCandidates() 846 void RecordSharedFunctionInfoCodeSlot(SharedFunctionInfo* shared) { in RecordSharedFunctionInfoCodeSlot() 848 SharedFunctionInfo::kCodeOffset); in RecordSharedFunctionInfoCodeSlot() 867 static SharedFunctionInfo** GetNextCandidateField( in GetNextCandidateField() 868 SharedFunctionInfo* candidate) { in GetNextCandidateField() 870 return reinterpret_cast<SharedFunctionInfo**>( in GetNextCandidateField() 874 static SharedFunctionInfo* GetNextCandidate(SharedFunctionInfo* candidate) { in GetNextCandidate() [all …]
|
D | log.h | 225 SharedFunctionInfo* shared, 229 SharedFunctionInfo* shared, 284 void LogExistingFunction(Handle<SharedFunctionInfo> shared,
|
D | accessors.cc | 367 Handle<SharedFunctionInfo> eval_from_shared( in ScriptGetEvalFromScript() 368 SharedFunctionInfo::cast(Script::cast(script)->eval_from_shared())); in ScriptGetEvalFromScript() 403 Handle<Code> code(SharedFunctionInfo::cast( in ScriptGetEvalFromScriptPosition() 424 Handle<SharedFunctionInfo> shared(SharedFunctionInfo::cast( in ScriptGetEvalFromFunctionName()
|
D | debug.h | 236 void SetBreakPoint(Handle<SharedFunctionInfo> shared, 241 void FloodWithOneShot(Handle<SharedFunctionInfo> shared); 250 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 251 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared); 256 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); 273 Handle<SharedFunctionInfo> shared);
|
D | factory.cc | 516 Handle<SharedFunctionInfo> function_info, in BaseNewFunctionFromSharedFunctionInfo() 530 Handle<SharedFunctionInfo> function_info, in NewFunctionFromSharedFunctionInfo() 1040 Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( in NewSharedFunctionInfo() 1045 Handle<SharedFunctionInfo> shared = NewSharedFunctionInfo(name); in NewSharedFunctionInfo() 1079 Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(Handle<String> name) { in NewSharedFunctionInfo() 1082 SharedFunctionInfo); in NewSharedFunctionInfo() 1120 Handle<SharedFunctionInfo> function_share = NewSharedFunctionInfo(name); in NewFunctionHelper() 1141 Handle<SharedFunctionInfo> function_share = NewSharedFunctionInfo(name); in NewFunctionWithoutPrototypeHelper() 1176 Handle<DebugInfo> Factory::NewDebugInfo(Handle<SharedFunctionInfo> shared) { in NewDebugInfo()
|
D | cpu-profiler.h | 232 SharedFunctionInfo* shared, 236 SharedFunctionInfo* shared,
|
D | liveedit.h | 71 void RecordFunctionInfo(Handle<SharedFunctionInfo> info,
|
D | objects-visiting-inl.h | 68 SharedFunctionInfo::BodyDescriptor, in Initialize()
|
D | objects.cc | 1394 SharedFunctionInfo* shared = reinterpret_cast<SharedFunctionInfo*>(this); in IterateBody() 7389 bool SharedFunctionInfo::EnsureCompiled(Handle<SharedFunctionInfo> shared, in EnsureCompiled() 7409 bool SharedFunctionInfo::CompileLazy(Handle<SharedFunctionInfo> shared, in CompileLazy() 7442 SharedFunctionInfo* shared_info = shared(); in IsInlineable() 7562 String* SharedFunctionInfo::DebugName() { in DebugName() 7569 bool SharedFunctionInfo::HasSourceCode() { in HasSourceCode() 7575 Handle<Object> SharedFunctionInfo::GetSourceCode() { in GetSourceCode() 7582 int SharedFunctionInfo::SourceSize() { in SourceSize() 7587 int SharedFunctionInfo::CalculateInstanceSize() { in CalculateInstanceSize() 7598 int SharedFunctionInfo::CalculateInObjectProperties() { in CalculateInObjectProperties() [all …]
|
D | profile-generator.cc | 1673 SharedFunctionInfo* shared = func->shared(); in AddEntry() 1707 SharedFunctionInfo* shared = SharedFunctionInfo::cast(object); in AddEntry() 1911 SharedFunctionInfo* shared_info = js_fun->shared(); in ExtractReferences() 1991 SharedFunctionInfo* shared = SharedFunctionInfo::cast(obj); in ExtractReferences() 1994 SharedFunctionInfo::kNameOffset); in ExtractReferences() 1997 SharedFunctionInfo::kCodeOffset); in ExtractReferences() 2001 SharedFunctionInfo::kScopeInfoOffset); in ExtractReferences() 2004 SharedFunctionInfo::kInstanceClassNameOffset); in ExtractReferences() 2007 SharedFunctionInfo::kScriptOffset); in ExtractReferences() 2010 SharedFunctionInfo::kInitialMapOffset); in ExtractReferences()
|
/external/v8/test/cctest/ |
D | test-func-name-inference.cc | 45 using ::v8::internal::SharedFunctionInfo; 67 Handle<SharedFunctionInfo> shared_function; in CheckFunctionName() 70 Handle<SharedFunctionInfo>(SharedFunctionInfo::cast(*obj)); in CheckFunctionName() 73 Handle<SharedFunctionInfo>(JSFunction::cast(*obj)->shared()); in CheckFunctionName() 95 Handle<SharedFunctionInfo> shared_func_info( in CheckFunctionName() 96 SharedFunctionInfo::cast(shared_func_info_ptr)); in CheckFunctionName()
|
/external/v8/src/ia32/ |
D | builtins-ia32.cc | 135 SharedFunctionInfo::kConstructionCountOffset)); in Generate_JSConstructStubHelper() 597 __ test_b(FieldOperand(ebx, SharedFunctionInfo::kStrictModeByteOffset), in Generate_FunctionCall() 598 1 << SharedFunctionInfo::kStrictModeBitWithinByte); in Generate_FunctionCall() 602 __ test_b(FieldOperand(ebx, SharedFunctionInfo::kNativeByteOffset), in Generate_FunctionCall() 603 1 << SharedFunctionInfo::kNativeBitWithinByte); in Generate_FunctionCall() 716 FieldOperand(edx, SharedFunctionInfo::kFormalParameterCountOffset)); in Generate_FunctionCall() 790 __ test_b(FieldOperand(ecx, SharedFunctionInfo::kStrictModeByteOffset), in Generate_FunctionApply() 791 1 << SharedFunctionInfo::kStrictModeBitWithinByte); in Generate_FunctionApply() 797 __ test_b(FieldOperand(ecx, SharedFunctionInfo::kNativeByteOffset), in Generate_FunctionApply() 798 1 << SharedFunctionInfo::kNativeBitWithinByte); in Generate_FunctionApply() [all …]
|
/external/v8/src/x64/ |
D | builtins-x64.cc | 137 SharedFunctionInfo::kConstructionCountOffset)); in Generate_JSConstructStubHelper() 667 __ testb(FieldOperand(rbx, SharedFunctionInfo::kStrictModeByteOffset), in Generate_FunctionCall() 668 Immediate(1 << SharedFunctionInfo::kStrictModeBitWithinByte)); in Generate_FunctionCall() 673 __ testb(FieldOperand(rbx, SharedFunctionInfo::kNativeByteOffset), in Generate_FunctionCall() 674 Immediate(1 << SharedFunctionInfo::kNativeBitWithinByte)); in Generate_FunctionCall() 786 SharedFunctionInfo::kFormalParameterCountOffset)); in Generate_FunctionCall() 867 __ testb(FieldOperand(rdx, SharedFunctionInfo::kStrictModeByteOffset), in Generate_FunctionApply() 868 Immediate(1 << SharedFunctionInfo::kStrictModeBitWithinByte)); in Generate_FunctionApply() 872 __ testb(FieldOperand(rdx, SharedFunctionInfo::kNativeByteOffset), in Generate_FunctionApply() 873 Immediate(1 << SharedFunctionInfo::kNativeBitWithinByte)); in Generate_FunctionApply() [all …]
|
/external/v8/src/arm/ |
D | builtins-arm.cc | 757 FieldMemOperand(r3, SharedFunctionInfo::kConstructionCountOffset); in Generate_JSConstructStubHelper() 1313 __ ldr(r3, FieldMemOperand(r2, SharedFunctionInfo::kCompilerHintsOffset)); in Generate_FunctionCall() 1314 __ tst(r3, Operand(1 << (SharedFunctionInfo::kStrictModeFunction + in Generate_FunctionCall() 1319 __ tst(r3, Operand(1 << (SharedFunctionInfo::kNative + kSmiTagSize))); in Generate_FunctionCall() 1456 FieldMemOperand(r3, SharedFunctionInfo::kFormalParameterCountOffset)); in Generate_FunctionCall() 1529 __ ldr(r2, FieldMemOperand(r2, SharedFunctionInfo::kCompilerHintsOffset)); in Generate_FunctionApply() 1530 __ tst(r2, Operand(1 << (SharedFunctionInfo::kStrictModeFunction + in Generate_FunctionApply() 1535 __ tst(r2, Operand(1 << (SharedFunctionInfo::kNative + kSmiTagSize))); in Generate_FunctionApply() 1670 __ cmp(r2, Operand(SharedFunctionInfo::kDontAdaptArgumentsSentinel)); in Generate_ArgumentsAdaptorTrampoline()
|
/external/v8/src/mips/ |
D | builtins-mips.cc | 781 FieldMemOperand(a3, SharedFunctionInfo::kConstructionCountOffset); in Generate_JSConstructStubHelper() 1341 __ lw(a3, FieldMemOperand(a2, SharedFunctionInfo::kCompilerHintsOffset)); in Generate_FunctionCall() 1342 __ And(t3, a3, Operand(1 << (SharedFunctionInfo::kStrictModeFunction + in Generate_FunctionCall() 1347 __ And(t3, a3, Operand(1 << (SharedFunctionInfo::kNative + kSmiTagSize))); in Generate_FunctionCall() 1483 FieldMemOperand(a3, SharedFunctionInfo::kFormalParameterCountOffset)); in Generate_FunctionCall() 1555 __ lw(a2, FieldMemOperand(a2, SharedFunctionInfo::kCompilerHintsOffset)); in Generate_FunctionApply() 1556 __ And(t3, a2, Operand(1 << (SharedFunctionInfo::kStrictModeFunction + in Generate_FunctionApply() 1561 __ And(t3, a2, Operand(1 << (SharedFunctionInfo::kNative + kSmiTagSize))); in Generate_FunctionApply() 1697 a2, Operand(SharedFunctionInfo::kDontAdaptArgumentsSentinel)); in Generate_ArgumentsAdaptorTrampoline()
|