Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/builtins/builtins-interpreter-gen.cc

Issue 2803903002: Revert of [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: rebased Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/builtins/builtins-interpreter.cc ('k') | src/builtins/setup-builtins-internal.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "src/builtins/builtins.h"
6 #include "src/globals.h"
7 #include "src/macro-assembler.h"
8
9 namespace v8 {
10 namespace internal {
11
12 void Builtins::Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) {
13 return Generate_InterpreterPushArgsAndCallImpl(
14 masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kOther);
15 }
16
17 void Builtins::Generate_InterpreterPushArgsAndCallFunction(
18 MacroAssembler* masm) {
19 return Generate_InterpreterPushArgsAndCallImpl(
20 masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kJSFunction);
21 }
22
23 void Builtins::Generate_InterpreterPushArgsAndCallWithFinalSpread(
24 MacroAssembler* masm) {
25 return Generate_InterpreterPushArgsAndCallImpl(
26 masm, TailCallMode::kDisallow, InterpreterPushArgsMode::kWithFinalSpread);
27 }
28
29 void Builtins::Generate_InterpreterPushArgsAndTailCall(MacroAssembler* masm) {
30 return Generate_InterpreterPushArgsAndCallImpl(
31 masm, TailCallMode::kAllow, InterpreterPushArgsMode::kOther);
32 }
33
34 void Builtins::Generate_InterpreterPushArgsAndTailCallFunction(
35 MacroAssembler* masm) {
36 return Generate_InterpreterPushArgsAndCallImpl(
37 masm, TailCallMode::kAllow, InterpreterPushArgsMode::kJSFunction);
38 }
39
40 void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) {
41 return Generate_InterpreterPushArgsAndConstructImpl(
42 masm, InterpreterPushArgsMode::kOther);
43 }
44
45 void Builtins::Generate_InterpreterPushArgsAndConstructWithFinalSpread(
46 MacroAssembler* masm) {
47 return Generate_InterpreterPushArgsAndConstructImpl(
48 masm, InterpreterPushArgsMode::kWithFinalSpread);
49 }
50
51 void Builtins::Generate_InterpreterPushArgsAndConstructFunction(
52 MacroAssembler* masm) {
53 return Generate_InterpreterPushArgsAndConstructImpl(
54 masm, InterpreterPushArgsMode::kJSFunction);
55 }
56
57 } // namespace internal
58 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins-interpreter.cc ('k') | src/builtins/setup-builtins-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698