Commit f927e319 authored by Mathias Bynens's avatar Mathias Bynens Committed by Commit Bot

[compiler] Fix “TurboFan” casing in logged output

Bug: v8:8834
Change-Id: Ie879ae77f0601682dcd17a61f3a18f49eb78fbee
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1535833
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60423}
parent 247c4fff
...@@ -92,7 +92,7 @@ namespace v8 { ...@@ -92,7 +92,7 @@ namespace v8 {
namespace internal { namespace internal {
namespace compiler { namespace compiler {
// Turbofan can only handle 2^16 control inputs. Since each control flow split // TurboFan can only handle 2^16 control inputs. Since each control flow split
// requires at least two bytes (jump and offset), we limit the bytecode size // requires at least two bytes (jump and offset), we limit the bytecode size
// to 128K bytes. // to 128K bytes.
const int kMaxBytecodeSizeForTurbofan = 128 * 1024; const int kMaxBytecodeSizeForTurbofan = 128 * 1024;
...@@ -1927,7 +1927,7 @@ bool PipelineImpl::CreateGraph() { ...@@ -1927,7 +1927,7 @@ bool PipelineImpl::CreateGraph() {
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Begin compiling method " << info()->GetDebugName().get() << "Begin compiling method " << info()->GetDebugName().get()
<< " using Turbofan" << std::endl; << " using TurboFan" << std::endl;
} }
if (info()->trace_turbo_json_enabled()) { if (info()->trace_turbo_json_enabled()) {
TurboCfgFile tcf(isolate()); TurboCfgFile tcf(isolate());
...@@ -2129,7 +2129,7 @@ MaybeHandle<Code> Pipeline::GenerateCodeForCodeStub( ...@@ -2129,7 +2129,7 @@ MaybeHandle<Code> Pipeline::GenerateCodeForCodeStub(
CodeTracer::Scope tracing_scope(data.GetCodeTracer()); CodeTracer::Scope tracing_scope(data.GetCodeTracer());
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Begin compiling " << debug_name << " using Turbofan" << std::endl; << "Begin compiling " << debug_name << " using TurboFan" << std::endl;
if (info.trace_turbo_json_enabled()) { if (info.trace_turbo_json_enabled()) {
TurboJsonFile json_of(&info, std::ios_base::trunc); TurboJsonFile json_of(&info, std::ios_base::trunc);
json_of << "{\"function\" : "; json_of << "{\"function\" : ";
...@@ -2206,7 +2206,7 @@ wasm::WasmCompilationResult Pipeline::GenerateCodeForWasmNativeStub( ...@@ -2206,7 +2206,7 @@ wasm::WasmCompilationResult Pipeline::GenerateCodeForWasmNativeStub(
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Begin compiling method " << info.GetDebugName().get() << "Begin compiling method " << info.GetDebugName().get()
<< " using Turbofan" << std::endl; << " using TurboFan" << std::endl;
} }
if (info.trace_turbo_graph_enabled()) { // Simple textual RPO. if (info.trace_turbo_graph_enabled()) { // Simple textual RPO.
...@@ -2264,7 +2264,7 @@ wasm::WasmCompilationResult Pipeline::GenerateCodeForWasmNativeStub( ...@@ -2264,7 +2264,7 @@ wasm::WasmCompilationResult Pipeline::GenerateCodeForWasmNativeStub(
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Finished compiling method " << info.GetDebugName().get() << "Finished compiling method " << info.GetDebugName().get()
<< " using Turbofan" << std::endl; << " using TurboFan" << std::endl;
} }
return result; return result;
...@@ -2296,7 +2296,7 @@ MaybeHandle<Code> Pipeline::GenerateCodeForWasmHeapStub( ...@@ -2296,7 +2296,7 @@ MaybeHandle<Code> Pipeline::GenerateCodeForWasmHeapStub(
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Begin compiling method " << info.GetDebugName().get() << "Begin compiling method " << info.GetDebugName().get()
<< " using Turbofan" << std::endl; << " using TurboFan" << std::endl;
} }
if (info.trace_turbo_graph_enabled()) { // Simple textual RPO. if (info.trace_turbo_graph_enabled()) { // Simple textual RPO.
...@@ -2427,7 +2427,7 @@ void Pipeline::GenerateCodeForWasmFunction( ...@@ -2427,7 +2427,7 @@ void Pipeline::GenerateCodeForWasmFunction(
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Begin compiling method " << data.info()->GetDebugName().get() << "Begin compiling method " << data.info()->GetDebugName().get()
<< " using Turbofan" << std::endl; << " using TurboFan" << std::endl;
} }
pipeline.RunPrintAndVerify("Machine", true); pipeline.RunPrintAndVerify("Machine", true);
...@@ -2511,7 +2511,7 @@ void Pipeline::GenerateCodeForWasmFunction( ...@@ -2511,7 +2511,7 @@ void Pipeline::GenerateCodeForWasmFunction(
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Finished compiling method " << data.info()->GetDebugName().get() << "Finished compiling method " << data.info()->GetDebugName().get()
<< " using Turbofan" << std::endl; << " using TurboFan" << std::endl;
} }
DCHECK(result->succeeded()); DCHECK(result->succeeded());
...@@ -2794,7 +2794,7 @@ MaybeHandle<Code> PipelineImpl::FinalizeCode(bool retire_broker) { ...@@ -2794,7 +2794,7 @@ MaybeHandle<Code> PipelineImpl::FinalizeCode(bool retire_broker) {
OFStream os(tracing_scope.file()); OFStream os(tracing_scope.file());
os << "---------------------------------------------------\n" os << "---------------------------------------------------\n"
<< "Finished compiling method " << info()->GetDebugName().get() << "Finished compiling method " << info()->GetDebugName().get()
<< " using Turbofan" << std::endl; << " using TurboFan" << std::endl;
} }
return code; return code;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment