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

Side by Side Diff: src/code-factory.h

Issue 1877323002: [turbofan] Generalize AllocateStub to allow old space allocation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Go for minor key and AllocateStub Created 4 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/arm64/interface-descriptors-arm64.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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 static Callable FastNewRestParameter(Isolate* isolate); 121 static Callable FastNewRestParameter(Isolate* isolate);
122 static Callable FastNewSloppyArguments(Isolate* isolate); 122 static Callable FastNewSloppyArguments(Isolate* isolate);
123 static Callable FastNewStrictArguments(Isolate* isolate); 123 static Callable FastNewStrictArguments(Isolate* isolate);
124 124
125 static Callable AllocateHeapNumber(Isolate* isolate); 125 static Callable AllocateHeapNumber(Isolate* isolate);
126 static Callable AllocateMutableHeapNumber(Isolate* isolate); 126 static Callable AllocateMutableHeapNumber(Isolate* isolate);
127 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ 127 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \
128 static Callable Allocate##Type(Isolate* isolate); 128 static Callable Allocate##Type(Isolate* isolate);
129 SIMD128_TYPES(SIMD128_ALLOC) 129 SIMD128_TYPES(SIMD128_ALLOC)
130 #undef SIMD128_ALLOC 130 #undef SIMD128_ALLOC
131 static Callable AllocateInNewSpace(Isolate* isolate); 131 static Callable Allocate(Isolate* isolate, PretenureFlag pretenure_flag);
132 132
133 static Callable ArgumentAdaptor(Isolate* isolate); 133 static Callable ArgumentAdaptor(Isolate* isolate);
134 static Callable Call(Isolate* isolate, 134 static Callable Call(Isolate* isolate,
135 ConvertReceiverMode mode = ConvertReceiverMode::kAny, 135 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
136 TailCallMode tail_call_mode = TailCallMode::kDisallow); 136 TailCallMode tail_call_mode = TailCallMode::kDisallow);
137 static Callable CallFunction( 137 static Callable CallFunction(
138 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 138 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
139 static Callable Construct(Isolate* isolate); 139 static Callable Construct(Isolate* isolate);
140 static Callable ConstructFunction(Isolate* isolate); 140 static Callable ConstructFunction(Isolate* isolate);
141 141
142 static Callable InterpreterPushArgsAndCall(Isolate* isolate, 142 static Callable InterpreterPushArgsAndCall(Isolate* isolate,
143 TailCallMode tail_call_mode); 143 TailCallMode tail_call_mode);
144 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 144 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
145 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 145 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
146 }; 146 };
147 147
148 } // namespace internal 148 } // namespace internal
149 } // namespace v8 149 } // namespace v8
150 150
151 #endif // V8_CODE_FACTORY_H_ 151 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/arm64/interface-descriptors-arm64.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698