diff --git a/ecmascript/compiler/fast_stub.cpp b/ecmascript/compiler/fast_stub.cpp index 6f5e0ff66f..8f52909c4d 100644 --- a/ecmascript/compiler/fast_stub.cpp +++ b/ecmascript/compiler/fast_stub.cpp @@ -1174,9 +1174,8 @@ void FastMulGCStub::GenerateCircuit() AddrShift x = Int64Argument(1); AddrShift y = Int64Argument(2); - DEFVARIABLE(intX, MachineType::INT32_TYPE, 0); - DEFVARIABLE(intY, MachineType::INT32_TYPE, 0); - DEFVARIABLE(intZ, MachineType::INT32_TYPE, 0); + DEFVARIABLE(intX, MachineType::INT64_TYPE, 0); + DEFVARIABLE(intY, MachineType::INT64_TYPE, 0); DEFVARIABLE(valuePtr, MachineType::INT64_TYPE, 0); DEFVARIABLE(doubleX, MachineType::FLOAT64_TYPE, 0); DEFVARIABLE(doubleY, MachineType::FLOAT64_TYPE, 0); @@ -1197,7 +1196,7 @@ void FastMulGCStub::GenerateCircuit() Branch(TaggedIsInt(x), &xIsInt, &xNotInt); Bind(&xIsInt); { - intX = TaggedCastToInt32(x); + intX = TaggedCastToInt64(x); doubleX = CastInt64ToFloat64(*intX); Jump(&xIsNumberAndyIsNumber); } @@ -1217,7 +1216,7 @@ void FastMulGCStub::GenerateCircuit() Branch(TaggedIsInt(y), &yIsInt, &yNotInt); Bind(&yIsInt); { - intY = TaggedCastToInt32(y); + intY = TaggedCastToInt64(y); doubleY = CastInt64ToFloat64(*intY); Jump(&xIsDoubleAndyIsDouble); } diff --git a/ecmascript/compiler/stub_descriptor.cpp b/ecmascript/compiler/stub_descriptor.cpp index 44044c5c99..6a336512f6 100644 --- a/ecmascript/compiler/stub_descriptor.cpp +++ b/ecmascript/compiler/stub_descriptor.cpp @@ -168,6 +168,8 @@ CALL_STUB_INIT_DESCRIPTOR(SetElement) descriptor->SetParameters(params.data()); } +CALL_STUB_INIT_DESCRIPTOR(SetPropertyByName) {} + CALL_STUB_INIT_DESCRIPTOR(GetPropertyByName) { // 3 : 3 input parameters