From 1542a47f596cfc23a08ab644e76621e3092276e6 Mon Sep 17 00:00:00 2001 From: adamk Date: Thu, 29 Dec 2016 23:41:22 -0800 Subject: [PATCH] [builtins] Merge two adjacent if-statements in JSConstructStub R=bmeurer@chromium.org Review-Url: https://codereview.chromium.org/2602903005 Cr-Commit-Position: refs/heads/master@{#41999} --- src/builtins/x64/builtins-x64.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/builtins/x64/builtins-x64.cc b/src/builtins/x64/builtins-x64.cc index 7ebc40dc6d..0f524e656f 100644 --- a/src/builtins/x64/builtins-x64.cc +++ b/src/builtins/x64/builtins-x64.cc @@ -151,9 +151,7 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function, // Retrieve smi-tagged arguments count from the stack. __ SmiToInteger32(rax, Operand(rsp, 0 * kPointerSize)); - } - if (create_implicit_receiver) { // Push the allocated receiver to the stack. We need two copies // because we may have to return the original one and the calling // conventions dictate that the called function pops the receiver.