Commit 4a54378e authored by zhengxing.li's avatar zhengxing.li Committed by Commit bot

X87: [Proxies] Support constructable proxy as new.target (reland).

  port 7ceaf727 (r32370)

  original commit message:

BUG=

Review URL: https://codereview.chromium.org/1483873002

Cr-Commit-Position: refs/heads/master@{#32388}
parent 55480ba3
...@@ -1608,10 +1608,9 @@ void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { ...@@ -1608,10 +1608,9 @@ void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) {
void Builtins::Generate_ConstructFunction(MacroAssembler* masm) { void Builtins::Generate_ConstructFunction(MacroAssembler* masm) {
// ----------- S t a t e ------------- // ----------- S t a t e -------------
// -- eax : the number of arguments (not including the receiver) // -- eax : the number of arguments (not including the receiver)
// -- edx : the new target (checked to be a JSFunction) // -- edx : the new target (checked to be a constructor)
// -- edi : the constructor to call (checked to be a JSFunction) // -- edi : the constructor to call (checked to be a JSFunction)
// ----------------------------------- // -----------------------------------
__ AssertFunction(edx);
__ AssertFunction(edi); __ AssertFunction(edi);
// Calling convention for function specific ConstructStubs require // Calling convention for function specific ConstructStubs require
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment