Lines Matching defs:deoptimizer
9 #include "src/deoptimizer.h"
149 Deoptimizer* deoptimizer = Deoptimizer::Grab(isolate);
150 DCHECK(deoptimizer->compiled_code()->kind() == Code::OPTIMIZED_FUNCTION);
151 DCHECK(deoptimizer->compiled_code()->is_turbofanned());
157 Handle<JSFunction> function = deoptimizer->function();
158 DeoptimizeKind type = deoptimizer->deopt_kind();
162 isolate->set_context(deoptimizer->function()->native_context());
165 deoptimizer->MaterializeHeapObjects();
166 delete deoptimizer;
175 Deoptimizer::DeoptimizeFunction(*function);