From 6b43a5ef76149c92e216fddb0a1ee17f736b4b6e Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Wed, 15 May 2024 12:07:34 -0700 Subject: [Strings] Remove operations not included in imported strings (#6589) The stringref proposal has been superseded by the imported JS strings proposal, but the former has many more operations than the latter. To reduce complexity, remove all operations that are part of stringref but not part of imported strings. --- src/wasm-s-parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-s-parser.h') diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index cfd21661d..fe2bda1c7 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -315,7 +315,7 @@ private: Expression* makeArrayInitElem(Element& s); Expression* makeRefAs(Element& s, RefAsOp op); Expression* makeRefAsNonNull(Element& s); - Expression* makeStringNew(Element& s, StringNewOp op, bool try_); + Expression* makeStringNew(Element& s, StringNewOp op); Expression* makeStringConst(Element& s); Expression* makeStringMeasure(Element& s, StringMeasureOp op); Expression* makeStringEncode(Element& s, StringEncodeOp op); -- cgit v1.2.3