From aa4bc77bc967fd8911c30d7e69e44a9a0aef553a Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Tue, 28 Feb 2023 17:19:09 -0600 Subject: [NFC] Internally rename `ArrayInit` to `ArrayNewFixed` (#5526) To match the standard instruction name, rename the expression class without changing any parsing or printing behavior. A follow-on PR will take care of the functional side of this change while keeping support for parsing the old name. This change will allow `ArrayInit` to be used as the expression class for the upcoming `array.init_data` and `array.init_elem` instructions. --- src/tools/fuzzing/fuzzing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/fuzzing/fuzzing.cpp') diff --git a/src/tools/fuzzing/fuzzing.cpp b/src/tools/fuzzing/fuzzing.cpp index bb3a76766..6e728d3a6 100644 --- a/src/tools/fuzzing/fuzzing.cpp +++ b/src/tools/fuzzing/fuzzing.cpp @@ -2099,7 +2099,7 @@ Expression* TranslateToFuzzReader::makeConstBasicRef(Type type) { // --nominal mode. static HeapType trivialArray = HeapType(Array(Field(Field::PackedType::i8, Immutable))); - return builder.makeArrayInit(trivialArray, {}); + return builder.makeArrayNewFixed(trivialArray, {}); } case HeapType::string: return builder.makeStringConst(std::to_string(upTo(1024))); -- cgit v1.2.3