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

Side by Side Diff: src/compiler/linkage.h

Issue 1963583004: [turbofan] Initial version of allocation folding and write barrier elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Jaros comments; Created 4 years, 7 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/compiler/js-native-context-specialization.cc ('k') | src/compiler/memory-optimizer.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_COMPILER_LINKAGE_H_ 5 #ifndef V8_COMPILER_LINKAGE_H_
6 #define V8_COMPILER_LINKAGE_H_ 6 #define V8_COMPILER_LINKAGE_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/frame.h" 9 #include "src/compiler/frame.h"
10 #include "src/compiler/operator.h" 10 #include "src/compiler/operator.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 kHasExceptionHandler = 1u << 1, 155 kHasExceptionHandler = 1u << 1,
156 kHasLocalCatchHandler = 1u << 2, 156 kHasLocalCatchHandler = 1u << 2,
157 kSupportsTailCalls = 1u << 3, 157 kSupportsTailCalls = 1u << 3,
158 kCanUseRoots = 1u << 4, 158 kCanUseRoots = 1u << 4,
159 // (arm64 only) native stack should be used for arguments. 159 // (arm64 only) native stack should be used for arguments.
160 kUseNativeStack = 1u << 5, 160 kUseNativeStack = 1u << 5,
161 // (arm64 only) call instruction has to restore JSSP or CSP. 161 // (arm64 only) call instruction has to restore JSSP or CSP.
162 kRestoreJSSP = 1u << 6, 162 kRestoreJSSP = 1u << 6,
163 kRestoreCSP = 1u << 7, 163 kRestoreCSP = 1u << 7,
164 // Causes the code generator to initialize the root register. 164 // Causes the code generator to initialize the root register.
165 kInitializeRootRegister = 1u << 8 165 kInitializeRootRegister = 1u << 8,
166 // Does not ever try to allocate space on our heap.
167 kNoAllocate = 1u << 9
166 }; 168 };
167 typedef base::Flags<Flag> Flags; 169 typedef base::Flags<Flag> Flags;
168 170
169 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc, 171 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc,
170 const MachineSignature* machine_sig, 172 const MachineSignature* machine_sig,
171 LocationSignature* location_sig, size_t stack_param_count, 173 LocationSignature* location_sig, size_t stack_param_count,
172 Operator::Properties properties, 174 Operator::Properties properties,
173 RegList callee_saved_registers, 175 RegList callee_saved_registers,
174 RegList callee_saved_fp_registers, Flags flags, 176 RegList callee_saved_fp_registers, Flags flags,
175 const char* debug_name = "") 177 const char* debug_name = "")
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 CallDescriptor* const incoming_; 403 CallDescriptor* const incoming_;
402 404
403 DISALLOW_COPY_AND_ASSIGN(Linkage); 405 DISALLOW_COPY_AND_ASSIGN(Linkage);
404 }; 406 };
405 407
406 } // namespace compiler 408 } // namespace compiler
407 } // namespace internal 409 } // namespace internal
408 } // namespace v8 410 } // namespace v8
409 411
410 #endif // V8_COMPILER_LINKAGE_H_ 412 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/compiler/js-native-context-specialization.cc ('k') | src/compiler/memory-optimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698