Lines Matching refs:shared
57 static void GetICCounts(SharedFunctionInfo* shared, in GetICCounts() argument
61 Code* shared_code = shared->code(); in GetICCounts()
74 TypeFeedbackVector* vector = shared->feedback_vector(); in GetICCounts()
97 GetICCounts(function->shared(), &typeinfo, &generic, &total, in Optimize()
112 SharedFunctionInfo* shared = function->shared(); in AttemptOnStackReplacement() local
113 if (!FLAG_use_osr || function->shared()->IsBuiltin()) { in AttemptOnStackReplacement()
118 if (shared->optimization_disabled()) return; in AttemptOnStackReplacement()
123 if (shared->uses_arguments()) return; in AttemptOnStackReplacement()
135 BackEdgeTable::Patch(isolate_, shared->code()); in AttemptOnStackReplacement()
158 SharedFunctionInfo* shared = function->shared(); in OptimizeNow() local
159 Code* shared_code = shared->code(); in OptimizeNow()
164 SharedFunctionInfo* shared_function_info = functions[i]->shared(); in OptimizeNow()
200 if (shared->is_toplevel() && in OptimizeNow()
201 (frame_count > 1 || shared->SourceSize() > kMaxToplevelSourceSize)) { in OptimizeNow()
206 if (shared->optimization_disabled()) { in OptimizeNow()
207 if (shared->deopt_count() >= FLAG_max_opt_count) { in OptimizeNow()
213 shared->TryReenableOptimization(); in OptimizeNow()
226 GetICCounts(shared, &typeinfo, &generic, &total, &type_percentage, in OptimizeNow()
249 GetICCounts(shared, &typeinfo, &generic, &total, &type_percentage, in OptimizeNow()