| Index: src/a64/lithium-codegen-a64.cc
|
| diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc
|
| index 73440ed6716e624f348886527f8cb85dbaa90c67..1e0182ec2db723fe900c6a395d8d69c3fa795d17 100644
|
| --- a/src/a64/lithium-codegen-a64.cc
|
| +++ b/src/a64/lithium-codegen-a64.cc
|
| @@ -1419,6 +1419,18 @@ void LCodeGen::DoAccessArgumentsAt(LAccessArgumentsAt* instr) {
|
| }
|
|
|
|
|
| +void LCodeGen::DoAddE(LAddE* instr) {
|
| + Register result = ToRegister(instr->result());
|
| + Register left = ToRegister(instr->left());
|
| + Operand right = (instr->right()->IsConstantOperand())
|
| + ? ToInteger32(LConstantOperand::cast(instr->right()))
|
| + : Operand(ToRegister32(instr->right()), SXTW);
|
| +
|
| + ASSERT(!instr->hydrogen()->CheckFlag(HValue::kCanOverflow));
|
| + __ Add(result, left, right);
|
| +}
|
| +
|
| +
|
| void LCodeGen::DoAddI(LAddI* instr) {
|
| bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow);
|
| Register result = ToRegister32(instr->result());
|
|
|