| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index b45a3e0246fd49dd543ce7fdf0025fe472131598..6b2b3fdbae4c9cbabdc70146931230a43c090e3c 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -150,6 +150,7 @@ class LCodeGen;
|
| V(Random) \
|
| V(RegExpLiteral) \
|
| V(Return) \
|
| + V(SeqStringSetChar) \
|
| V(ShiftI) \
|
| V(SmiTag) \
|
| V(SmiUntag) \
|
| @@ -1198,6 +1199,30 @@ class LDateField: public LTemplateInstruction<1, 1, 1> {
|
| };
|
|
|
|
|
| +class LSeqStringSetChar: public LTemplateInstruction<1, 3, 0> {
|
| + public:
|
| + LSeqStringSetChar(bool is_one_byte,
|
| + LOperand* string,
|
| + LOperand* index,
|
| + LOperand* value) : is_one_byte_(is_one_byte) {
|
| + inputs_[0] = string;
|
| + inputs_[1] = index;
|
| + inputs_[2] = value;
|
| + }
|
| +
|
| + LOperand* string() { return inputs_[0]; }
|
| + LOperand* index() { return inputs_[1]; }
|
| + LOperand* value() { return inputs_[2]; }
|
| + bool is_one_byte() { return is_one_byte_; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
|
| + DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
|
| +
|
| + private:
|
| + bool is_one_byte_;
|
| +};
|
| +
|
| +
|
| class LThrow: public LTemplateInstruction<0, 1, 0> {
|
| public:
|
| explicit LThrow(LOperand* value) {
|
|
|