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/code-factory.h

Issue 1760253003: [crankshaft] Support ES6 tail call elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-crank-2
Patch Set: Addressing comments Created 4 years, 9 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/ast/ast-numbering.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 static Callable FastNewRestParameter(Isolate* isolate); 102 static Callable FastNewRestParameter(Isolate* isolate);
103 static Callable FastNewSloppyArguments(Isolate* isolate); 103 static Callable FastNewSloppyArguments(Isolate* isolate);
104 static Callable FastNewStrictArguments(Isolate* isolate); 104 static Callable FastNewStrictArguments(Isolate* isolate);
105 105
106 static Callable AllocateHeapNumber(Isolate* isolate); 106 static Callable AllocateHeapNumber(Isolate* isolate);
107 static Callable AllocateMutableHeapNumber(Isolate* isolate); 107 static Callable AllocateMutableHeapNumber(Isolate* isolate);
108 static Callable AllocateInNewSpace(Isolate* isolate); 108 static Callable AllocateInNewSpace(Isolate* isolate);
109 109
110 static Callable ArgumentAdaptor(Isolate* isolate); 110 static Callable ArgumentAdaptor(Isolate* isolate);
111 static Callable Call(Isolate* isolate, 111 static Callable Call(Isolate* isolate,
112 ConvertReceiverMode mode = ConvertReceiverMode::kAny); 112 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
113 TailCallMode tail_call_mode = TailCallMode::kDisallow);
113 static Callable CallFunction( 114 static Callable CallFunction(
114 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 115 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
115 static Callable Construct(Isolate* isolate); 116 static Callable Construct(Isolate* isolate);
116 static Callable ConstructFunction(Isolate* isolate); 117 static Callable ConstructFunction(Isolate* isolate);
117 118
118 static Callable InterpreterPushArgsAndCall(Isolate* isolate, 119 static Callable InterpreterPushArgsAndCall(Isolate* isolate,
119 TailCallMode tail_call_mode); 120 TailCallMode tail_call_mode);
120 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 121 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
121 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 122 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
122 }; 123 };
123 124
124 } // namespace internal 125 } // namespace internal
125 } // namespace v8 126 } // namespace v8
126 127
127 #endif // V8_CODE_FACTORY_H_ 128 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698