Home | History | Annotate | Download | only in src

Lines Matching refs:reason

79 char const* OptimizationReasonToString(OptimizationReason reason) {
85 size_t const index = static_cast<size_t>(reason);
90 std::ostream& operator<<(std::ostream& os, OptimizationReason reason) {
91 return os << OptimizationReasonToString(reason);
135 static void TraceRecompile(JSFunction* function, const char* reason,
141 PrintF(" for %s recompilation, reason: %s", type, reason);
155 OptimizationReason reason) {
156 DCHECK_NE(reason, OptimizationReason::kDoNotOptimize);
157 TraceRecompile(function, OptimizationReasonToString(reason), "optimized");
162 OptimizationReason reason) {
163 DCHECK_NE(reason, OptimizationReason::kDoNotOptimize);
164 TraceRecompile(function, OptimizationReasonToString(reason), "baseline");
363 OptimizationReason reason = ShouldOptimizeIgnition(function, frame);
365 if (reason != OptimizationReason::kDoNotOptimize) {
366 Optimize(function, reason);