1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[CallPrinter] Remove static constructor.

No need to have std::string here. NFC.
This commit is contained in:
Benjamin Kramer 2020-06-17 13:00:32 +02:00
parent 7762d3d161
commit 37ab4a0eb2

View File

@ -19,7 +19,7 @@
namespace llvm {
static const unsigned heatSize = 100;
static const std::string heatPalette[heatSize] = {
static const char heatPalette[heatSize][8] = {
"#3d50c3", "#4055c8", "#4358cb", "#465ecf", "#4961d2", "#4c66d6", "#4f69d9",
"#536edd", "#5572df", "#5977e3", "#5b7ae5", "#5f7fe8", "#6282ea", "#6687ed",
"#6a8bef", "#6c8ff1", "#7093f3", "#7396f5", "#779af7", "#7a9df8", "#7ea1fa",