OLD | NEW |
1 // Copyright 2017 the V8 project authors. All rights reserved. | 1 // Copyright 2017 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/builtins/builtins.h" | 5 #include "src/builtins/builtins.h" |
6 #include "src/globals.h" | 6 #include "src/globals.h" |
7 #include "src/isolate.h" | 7 #include "src/isolate.h" |
8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 MacroAssembler* masm) { | 76 MacroAssembler* masm) { |
77 Generate_Call(masm, ConvertReceiverMode::kNotNullOrUndefined, | 77 Generate_Call(masm, ConvertReceiverMode::kNotNullOrUndefined, |
78 TailCallMode::kAllow); | 78 TailCallMode::kAllow); |
79 } | 79 } |
80 | 80 |
81 void Builtins::Generate_TailCall_ReceiverIsAny(MacroAssembler* masm) { | 81 void Builtins::Generate_TailCall_ReceiverIsAny(MacroAssembler* masm) { |
82 Generate_Call(masm, ConvertReceiverMode::kAny, TailCallMode::kAllow); | 82 Generate_Call(masm, ConvertReceiverMode::kAny, TailCallMode::kAllow); |
83 } | 83 } |
84 | 84 |
85 void Builtins::Generate_CallForwardVarargs(MacroAssembler* masm) { | 85 void Builtins::Generate_CallForwardVarargs(MacroAssembler* masm) { |
86 Generate_CallForwardVarargs(masm, masm->isolate()->builtins()->Call()); | 86 Generate_ForwardVarargs(masm, masm->isolate()->builtins()->Call()); |
87 } | 87 } |
88 | 88 |
89 void Builtins::Generate_CallFunctionForwardVarargs(MacroAssembler* masm) { | 89 void Builtins::Generate_CallFunctionForwardVarargs(MacroAssembler* masm) { |
90 Generate_CallForwardVarargs(masm, | 90 Generate_ForwardVarargs(masm, masm->isolate()->builtins()->CallFunction()); |
91 masm->isolate()->builtins()->CallFunction()); | |
92 } | 91 } |
93 | 92 |
94 } // namespace internal | 93 } // namespace internal |
95 } // namespace v8 | 94 } // namespace v8 |
OLD | NEW |