summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 29240723f..e39d3d527 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -592,7 +592,6 @@ enum StringMeasureOp {
StringMeasureWTF8,
StringMeasureWTF16,
StringMeasureIsUSV,
- StringMeasureWTF16View,
StringMeasureHash,
};
@@ -612,22 +611,6 @@ enum StringEqOp {
StringEqCompare,
};
-enum StringAsOp {
- StringAsWTF8,
- StringAsWTF16,
- StringAsIter,
-};
-
-enum StringIterMoveOp {
- StringIterMoveAdvance,
- StringIterMoveRewind,
-};
-
-enum StringSliceWTFOp {
- StringSliceWTF8,
- StringSliceWTF16,
-};
-
//
// Expressions
//
@@ -736,13 +719,8 @@ public:
StringEncodeId,
StringConcatId,
StringEqId,
- StringAsId,
- StringWTF8AdvanceId,
StringWTF16GetId,
- StringIterNextId,
- StringIterMoveId,
StringSliceWTFId,
- StringSliceIterId,
ContBindId,
ContNewId,
ResumeId,
@@ -1908,31 +1886,6 @@ public:
void finalize();
};
-class StringAs : public SpecificExpression<Expression::StringAsId> {
-public:
- StringAs() = default;
- StringAs(MixedArena& allocator) {}
-
- StringAsOp op;
-
- Expression* ref;
-
- void finalize();
-};
-
-class StringWTF8Advance
- : public SpecificExpression<Expression::StringWTF8AdvanceId> {
-public:
- StringWTF8Advance() = default;
- StringWTF8Advance(MixedArena& allocator) {}
-
- Expression* ref;
- Expression* pos;
- Expression* bytes;
-
- void finalize();
-};
-
class StringWTF16Get : public SpecificExpression<Expression::StringWTF16GetId> {
public:
StringWTF16Get() = default;
@@ -1944,39 +1897,11 @@ public:
void finalize();
};
-class StringIterNext : public SpecificExpression<Expression::StringIterNextId> {
-public:
- StringIterNext() = default;
- StringIterNext(MixedArena& allocator) {}
-
- Expression* ref;
-
- void finalize();
-};
-
-class StringIterMove : public SpecificExpression<Expression::StringIterMoveId> {
-public:
- StringIterMove() = default;
- StringIterMove(MixedArena& allocator) {}
-
- // Whether the movement is to advance or reverse.
- StringIterMoveOp op;
-
- Expression* ref;
-
- // How many codepoints to advance or reverse.
- Expression* num;
-
- void finalize();
-};
-
class StringSliceWTF : public SpecificExpression<Expression::StringSliceWTFId> {
public:
StringSliceWTF() = default;
StringSliceWTF(MixedArena& allocator) {}
- StringSliceWTFOp op;
-
Expression* ref;
Expression* start;
Expression* end;
@@ -1984,18 +1909,6 @@ public:
void finalize();
};
-class StringSliceIter
- : public SpecificExpression<Expression::StringSliceIterId> {
-public:
- StringSliceIter() = default;
- StringSliceIter(MixedArena& allocator) {}
-
- Expression* ref;
- Expression* num;
-
- void finalize();
-};
-
class ContBind : public SpecificExpression<Expression::ContBindId> {
public:
ContBind(MixedArena& allocator) : operands(allocator) {}