File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -962,7 +962,8 @@ class WasmBinaryBuilder {
962962
963963 void read ();
964964 void readUserSection (size_t payloadLen);
965- bool more () { return pos < input.size ();}
965+
966+ bool more () { return pos < input.size (); }
966967
967968 uint8_t getInt8 ();
968969 uint16_t getInt16 ();
@@ -979,7 +980,6 @@ class WasmBinaryBuilder {
979980 int64_t getS64LEB ();
980981 Type getType ();
981982 Type getConcreteType ();
982- Name getString ();
983983 Name getInlineString ();
984984 void verifyInt8 (int8_t x);
985985 void verifyInt16 (int16_t x);
Original file line number Diff line number Diff line change @@ -862,14 +862,6 @@ Type WasmBinaryBuilder::getConcreteType() {
862862 return type;
863863}
864864
865- Name WasmBinaryBuilder::getString () {
866- if (debug) std::cerr << " <==" << std::endl;
867- size_t offset = getInt32 ();
868- Name ret = cashew::IString ((&input[0 ]) + offset, false );
869- if (debug) std::cerr << " getString: " << ret << " ==>" << std::endl;
870- return ret;
871- }
872-
873865Name WasmBinaryBuilder::getInlineString () {
874866 if (debug) std::cerr << " <==" << std::endl;
875867 auto len = getU32LEB ();
You can’t perform that action at this time.
0 commit comments