| Index: src/ia32/lithium-ia32.h
|
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
|
| index b0d031a737e18cba8464ba1a5e4d3127955e2209..bc2b71bf837d7833085f576057c7fdc13cdee32f 100644
|
| --- a/src/ia32/lithium-ia32.h
|
| +++ b/src/ia32/lithium-ia32.h
|
| @@ -1377,19 +1377,21 @@ class LSeqStringGetChar V8_FINAL : public LTemplateInstruction<1, 2, 0> {
|
| };
|
|
|
|
|
| -class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 3, 0> {
|
| +class LSeqStringSetChar V8_FINAL : public LTemplateInstruction<1, 4, 0> {
|
| public:
|
| - LSeqStringSetChar(LOperand* string,
|
| + LSeqStringSetChar(LOperand* context,
|
| + LOperand* string,
|
| LOperand* index,
|
| LOperand* value) {
|
| - inputs_[0] = string;
|
| - inputs_[1] = index;
|
| - inputs_[2] = value;
|
| + inputs_[0] = context;
|
| + inputs_[1] = string;
|
| + inputs_[2] = index;
|
| + inputs_[3] = value;
|
| }
|
|
|
| - LOperand* string() { return inputs_[0]; }
|
| - LOperand* index() { return inputs_[1]; }
|
| - LOperand* value() { return inputs_[2]; }
|
| + LOperand* string() { return inputs_[1]; }
|
| + LOperand* index() { return inputs_[2]; }
|
| + LOperand* value() { return inputs_[3]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(SeqStringSetChar, "seq-string-set-char")
|
| DECLARE_HYDROGEN_ACCESSOR(SeqStringSetChar)
|
| @@ -2917,6 +2919,8 @@ class LChunkBuilder V8_FINAL BASE_EMBEDDED {
|
|
|
| enum CanDeoptimize { CAN_DEOPTIMIZE_EAGERLY, CANNOT_DEOPTIMIZE_EAGERLY };
|
|
|
| + LOperand* GetSeqStringSetCharOperand(HSeqStringSetChar* instr);
|
| +
|
| // Marks a call for the register allocator. Assigns a pointer map to
|
| // support GC and lazy deoptimization. Assigns an environment to support
|
| // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY.
|
|
|