Lines Matching refs:shared_code
60 static void GetICCounts(Code* shared_code,
66 Object* raw_info = shared_code->type_feedback_info();
163 Code* shared_code = shared->code();
175 if (shared_code->kind() != Code::FUNCTION) continue;
179 shared_code->allow_osr_at_loop_nesting_level() == 0) {
183 shared_code->set_allow_osr_at_loop_nesting_level(i);
193 int ticks = shared_code->profiler_ticks();
196 if (shared_code->CodeSize() > allowance) {
197 if (ticks < 255) shared_code->set_profiler_ticks(ticks + 1);
199 int nesting = shared_code->allow_osr_at_loop_nesting_level();
202 shared_code->set_allow_osr_at_loop_nesting_level(new_nesting);
223 int ticks = shared_code->profiler_ticks();
225 shared_code->set_profiler_ticks(0);
228 shared_code->set_profiler_ticks(ticks + 1);
235 int ticks = shared_code->profiler_ticks();
239 GetICCounts(shared_code, &typeinfo, &total, &percentage);
247 shared_code->set_profiler_ticks(ticks + 1);
256 shared_code->instruction_size() < kMaxSizeEarlyOpt) {
261 shared_code->set_profiler_ticks(ticks + 1);