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

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

Issue 1603533002: [wasm] Add more thorough tests for WASM->JS and JS->WASM parameters. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: signedness Created 4 years, 11 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/instruction-selector.cc ('k') | test/cctest/wasm/test-run-wasm-js.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 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 enum Flag { 147 enum Flag {
148 kNoFlags = 0u, 148 kNoFlags = 0u,
149 kNeedsFrameState = 1u << 0, 149 kNeedsFrameState = 1u << 0,
150 kPatchableCallSite = 1u << 1, 150 kPatchableCallSite = 1u << 1,
151 kNeedsNopAfterCall = 1u << 2, 151 kNeedsNopAfterCall = 1u << 2,
152 kHasExceptionHandler = 1u << 3, 152 kHasExceptionHandler = 1u << 3,
153 kHasLocalCatchHandler = 1u << 4, 153 kHasLocalCatchHandler = 1u << 4,
154 kSupportsTailCalls = 1u << 5, 154 kSupportsTailCalls = 1u << 5,
155 kCanUseRoots = 1u << 6, 155 kCanUseRoots = 1u << 6,
156 // Indicates that the native stack should be used for a code object. This 156 // (arm64 only) native stack should be used for arguments.
157 // information is important for native calls on arm64.
158 kUseNativeStack = 1u << 7, 157 kUseNativeStack = 1u << 7,
158 // (arm64 only) call instruction has to restore JSSP.
159 kRestoreJSSP = 1u << 8,
159 kPatchableCallSiteWithNop = kPatchableCallSite | kNeedsNopAfterCall 160 kPatchableCallSiteWithNop = kPatchableCallSite | kNeedsNopAfterCall
160 }; 161 };
161 typedef base::Flags<Flag> Flags; 162 typedef base::Flags<Flag> Flags;
162 163
163 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc, 164 CallDescriptor(Kind kind, MachineType target_type, LinkageLocation target_loc,
164 const MachineSignature* machine_sig, 165 const MachineSignature* machine_sig,
165 LocationSignature* location_sig, size_t stack_param_count, 166 LocationSignature* location_sig, size_t stack_param_count,
166 Operator::Properties properties, 167 Operator::Properties properties,
167 RegList callee_saved_registers, 168 RegList callee_saved_registers,
168 RegList callee_saved_fp_registers, Flags flags, 169 RegList callee_saved_fp_registers, Flags flags,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 CallDescriptor* const incoming_; 397 CallDescriptor* const incoming_;
397 398
398 DISALLOW_COPY_AND_ASSIGN(Linkage); 399 DISALLOW_COPY_AND_ASSIGN(Linkage);
399 }; 400 };
400 401
401 } // namespace compiler 402 } // namespace compiler
402 } // namespace internal 403 } // namespace internal
403 } // namespace v8 404 } // namespace v8
404 405
405 #endif // V8_COMPILER_LINKAGE_H_ 406 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | test/cctest/wasm/test-run-wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698