| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 17ef24cb1a5d3c0d23f7900dd024118550185563..b2ed72a563b32c1c079b9cfa0d66b285f7423140 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -148,6 +148,7 @@ class LCodeGen;
|
| V(Random) \
|
| V(RegExpLiteral) \
|
| V(Return) \
|
| + V(SeqStringSetChar) \
|
| V(ShiftI) \
|
| V(SmiTag) \
|
| V(SmiUntag) \
|
| @@ -1143,6 +1144,30 @@ class LDateField: public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| +class LSeqStringSetChar: public LTemplateInstruction<1, 3, 0> {
|
| + public:
|
| + LSeqStringSetChar(String::Encoding encoding,
|
| + LOperand* string,
|
| + LOperand* index,
|
| + LOperand* value) : encoding_(encoding) {
|
| + inputs_[0] = string;
|
| + inputs_[1] = index;
|
| + inputs_[2] = value;
|
| + }
|
| +
|
| + String::Encoding encoding() { return encoding_; }
|
| + LOperand* string() { return inputs_[0]; }
|
| + LOperand* index() { return inputs_[1]; }
|
| + LOperand* value() { return inputs_[2]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
|
| + DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
|
| +
|
| + private:
|
| + String::Encoding encoding_;
|
| +};
|
| +
|
| +
|
| class LThrow: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LThrow(LOperand* value) {
|
|
|