Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 89fcaf595981c400c849fc0829af00a2fa6bbacc..822d988a99a9a0342728a70444b6b40c51c76f70 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -2938,6 +2938,8 @@ void CallConstructStub::Generate(MacroAssembler* masm) { |
__ AssertUndefinedOrAllocationSite(x2, x5); |
} |
+ __ Mov(x3, function); |
+ |
// Jump to the function-specific construct stub. |
Register jump_reg = x4; |
Register shared_func_info = jump_reg; |