| Index: src/crankshaft/arm64/lithium-arm64.h
|
| diff --git a/src/crankshaft/arm64/lithium-arm64.h b/src/crankshaft/arm64/lithium-arm64.h
|
| index be51b85e0e8c62d51f6c07076af999bccc7de344..d113b7e22b1dfce03ef7eeb1c32f333a75a72326 100644
|
| --- a/src/crankshaft/arm64/lithium-arm64.h
|
| +++ b/src/crankshaft/arm64/lithium-arm64.h
|
| @@ -1468,18 +1468,20 @@ class LInstanceOf final : public LTemplateInstruction<1, 3, 0> {
|
| };
|
|
|
|
|
| -class LHasInPrototypeChainAndBranch final : public LControlInstruction<2, 1> {
|
| +class LHasInPrototypeChainAndBranch final : public LControlInstruction<2, 2> {
|
| public:
|
| LHasInPrototypeChainAndBranch(LOperand* object, LOperand* prototype,
|
| - LOperand* scratch) {
|
| + LOperand* scratch1, LOperand* scratch2) {
|
| inputs_[0] = object;
|
| inputs_[1] = prototype;
|
| - temps_[0] = scratch;
|
| + temps_[0] = scratch1;
|
| + temps_[1] = scratch2;
|
| }
|
|
|
| LOperand* object() const { return inputs_[0]; }
|
| LOperand* prototype() const { return inputs_[1]; }
|
| - LOperand* scratch() const { return temps_[0]; }
|
| + LOperand* scratch1() const { return temps_[0]; }
|
| + LOperand* scratch2() const { return temps_[1]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(HasInPrototypeChainAndBranch,
|
| "has-in-prototype-chain-and-branch")
|
|
|