@@ -201,7 +201,7 @@ class CompilerTracer : public AllStatic {
201201 if (!FLAG_trace_opt) return ;
202202 CodeTracer::Scope scope (isolate->GetCodeTracer ());
203203 PrintTracePrefix (scope, " optimizing" , function, code_kind);
204- PrintF (scope.file (), " because --always-opt " );
204+ PrintF (scope.file (), " because --always-turbofan " );
205205 PrintTraceSuffix (scope);
206206 }
207207
@@ -211,7 +211,8 @@ class CompilerTracer : public AllStatic {
211211 CodeTracer::Scope scope (isolate->GetCodeTracer ());
212212 PrintF (scope.file (), " [marking " );
213213 function->ShortPrint (scope.file ());
214- PrintF (scope.file (), " for optimized recompilation because --always-opt" );
214+ PrintF (scope.file (),
215+ " for optimized recompilation because --always-turbofan" );
215216 PrintF (scope.file (), " ]\n " );
216217 }
217218
@@ -1060,7 +1061,7 @@ bool ShouldOptimize(CodeKind code_kind, Handle<SharedFunctionInfo> shared) {
10601061 DCHECK (CodeKindIsOptimizedJSFunction (code_kind));
10611062 switch (code_kind) {
10621063 case CodeKind::TURBOFAN:
1063- return FLAG_opt && shared->PassesFilter (FLAG_turbo_filter);
1064+ return FLAG_turbofan && shared->PassesFilter (FLAG_turbo_filter);
10641065 case CodeKind::MAGLEV:
10651066 return FLAG_maglev && shared->PassesFilter (FLAG_maglev_filter);
10661067 default :
@@ -2067,11 +2068,11 @@ bool Compiler::Compile(Isolate* isolate, Handle<JSFunction> function,
20672068 // immediately after a flush would be better.
20682069 JSFunction::InitializeFeedbackCell (function, is_compiled_scope, true );
20692070
2070- // Optimize now if --always-opt is enabled.
2071+ // Optimize now if --always-turbofan is enabled.
20712072#if V8_ENABLE_WEBASSEMBLY
2072- if (FLAG_always_opt && !function->shared ().HasAsmWasmData ()) {
2073+ if (FLAG_always_turbofan && !function->shared ().HasAsmWasmData ()) {
20732074#else
2074- if (FLAG_always_opt ) {
2075+ if (FLAG_always_turbofan ) {
20752076#endif // V8_ENABLE_WEBASSEMBLY
20762077 CompilerTracer::TraceOptimizeForAlwaysOpt (isolate, function,
20772078 CodeKindForTopTier ());
@@ -3484,7 +3485,7 @@ void Compiler::PostInstantiation(Handle<JSFunction> function) {
34843485 }
34853486 }
34863487
3487- if (FLAG_always_opt && shared->allows_lazy_compilation () &&
3488+ if (FLAG_always_turbofan && shared->allows_lazy_compilation () &&
34883489 !shared->optimization_disabled () &&
34893490 !function->HasAvailableOptimizedCode ()) {
34903491 CompilerTracer::TraceMarkForAlwaysOpt (isolate, function);
0 commit comments