diff --git a/src/spaces.cc b/src/spaces.cc index 5f191ed3a5..a9b98bf9dc 100644 --- a/src/spaces.cc +++ b/src/spaces.cc @@ -1363,7 +1363,7 @@ static void ClearCodeKindStatistics() { static void ReportCodeKindStatistics() { - const char* table[Code::NUMBER_OF_KINDS]; + const char* table[Code::NUMBER_OF_KINDS] = { NULL }; #define CASE(name) \ case Code::name: table[Code::name] = #name; \