Lines Matching refs:shared_code
60 static void GetICCounts(Code* shared_code, int* ic_with_type_info_count, in GetICCounts() argument
66 Object* raw_info = shared_code->type_feedback_info(); in GetICCounts()
174 Code* shared_code = shared->code(); in OptimizeNow() local
186 if (shared_code->kind() != Code::FUNCTION) continue; in OptimizeNow()
198 int ticks = shared_code->profiler_ticks(); in OptimizeNow()
201 if (shared_code->CodeSize() > allowance) { in OptimizeNow()
202 if (ticks < 255) shared_code->set_profiler_ticks(ticks + 1); in OptimizeNow()
223 int ticks = shared_code->profiler_ticks(); in OptimizeNow()
225 shared_code->set_profiler_ticks(0); in OptimizeNow()
228 shared_code->set_profiler_ticks(ticks + 1); in OptimizeNow()
235 int ticks = shared_code->profiler_ticks(); in OptimizeNow()
239 GetICCounts(shared_code, &typeinfo, &generic, &total, &type_percentage, in OptimizeNow()
249 shared_code->set_profiler_ticks(ticks + 1); in OptimizeNow()
258 shared_code->instruction_size() < kMaxSizeEarlyOpt) { in OptimizeNow()
262 GetICCounts(shared_code, &typeinfo, &generic, &total, &type_percentage, in OptimizeNow()
268 shared_code->set_profiler_ticks(ticks + 1); in OptimizeNow()
271 shared_code->set_profiler_ticks(ticks + 1); in OptimizeNow()