| Index: src/a64/lithium-a64.h
|
| diff --git a/src/a64/lithium-a64.h b/src/a64/lithium-a64.h
|
| index 0c2623dd9bfe49ba071af75021d8431ff91796ce..982318e719ca123c2e4bd2cbda14cf07e42719d8 100644
|
| --- a/src/a64/lithium-a64.h
|
| +++ b/src/a64/lithium-a64.h
|
| @@ -161,6 +161,7 @@ class LCodeGen;
|
| V(Random) \
|
| V(RegExpLiteral) \
|
| V(Return) \
|
| + V(SeqStringGetChar) \
|
| V(SeqStringSetChar) \
|
| V(ShiftI) \
|
| V(ShiftS) \
|
| @@ -2141,6 +2142,25 @@ class LReturn V8_FINAL : public LTemplateInstruction<0, 2, 0> {
|
| };
|
|
|
|
|
| +class LSeqStringGetChar V8_FINAL : public LTemplateInstruction<1, 2, 1> {
|
| + public:
|
| + LSeqStringGetChar(LOperand* string,
|
| + LOperand* index,
|
| + LOperand* temp) {
|
| + inputs_[0] = string;
|
| + inputs_[1] = index;
|
| + temps_[0] = temp;
|
| + }
|
| +
|
| + LOperand* string() { return inputs_[0]; }
|
| + LOperand* index() { return inputs_[1]; }
|
| + LOperand* temp() { return temps_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(SeqStringGetChar, "seq-string-get-char")
|
| + DECLARE_HYDROGEN_ACCESSOR(SeqStringGetChar)
|
| +};
|
| +
|
| +
|
| class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 1> {
|
| public:
|
| LSeqStringSetChar(String::Encoding encoding,
|
|
|