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

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

Issue 1887493004: [Interpreter] No longer require context machine register in bytecode handlers (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_dispatch
Patch Set: Fix x87 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/builtins-arm64.cc ('k') | src/compiler/linkage.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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // 301 //
302 // Can be used to translate {arg_index} (i.e. index of the call node input) as 302 // Can be used to translate {arg_index} (i.e. index of the call node input) as
303 // well as {param_index} (i.e. as stored in parameter nodes) into an operator 303 // well as {param_index} (i.e. as stored in parameter nodes) into an operator
304 // representing the architecture-specific location. The following call node 304 // representing the architecture-specific location. The following call node
305 // layouts are supported (where {n} is the number of value inputs): 305 // layouts are supported (where {n} is the number of value inputs):
306 // 306 //
307 // #0 #1 #2 [...] #n 307 // #0 #1 #2 [...] #n
308 // Call[CodeStub] code, arg 1, arg 2, [...], context 308 // Call[CodeStub] code, arg 1, arg 2, [...], context
309 // Call[JSFunction] function, rcvr, arg 1, [...], new, #arg, context 309 // Call[JSFunction] function, rcvr, arg 1, [...], new, #arg, context
310 // Call[Runtime] CEntryStub, arg 1, arg 2, [...], fun, #arg, context 310 // Call[Runtime] CEntryStub, arg 1, arg 2, [...], fun, #arg, context
311 // Call[BytecodeDispatch] address, arg 1, arg 2, [...], context 311 // Call[BytecodeDispatch] address, arg 1, arg 2, [...]
312 class Linkage : public ZoneObject { 312 class Linkage : public ZoneObject {
313 public: 313 public:
314 explicit Linkage(CallDescriptor* incoming) : incoming_(incoming) {} 314 explicit Linkage(CallDescriptor* incoming) : incoming_(incoming) {}
315 315
316 static CallDescriptor* ComputeIncoming(Zone* zone, CompilationInfo* info); 316 static CallDescriptor* ComputeIncoming(Zone* zone, CompilationInfo* info);
317 317
318 // The call descriptor for this compilation unit describes the locations 318 // The call descriptor for this compilation unit describes the locations
319 // of incoming parameters and the outgoing return value(s). 319 // of incoming parameters and the outgoing return value(s).
320 CallDescriptor* GetIncomingDescriptor() const { return incoming_; } 320 CallDescriptor* GetIncomingDescriptor() const { return incoming_; }
321 static CallDescriptor* GetJSCallDescriptor(Zone* zone, bool is_osr, 321 static CallDescriptor* GetJSCallDescriptor(Zone* zone, bool is_osr,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 CallDescriptor* const incoming_; 403 CallDescriptor* const incoming_;
404 404
405 DISALLOW_COPY_AND_ASSIGN(Linkage); 405 DISALLOW_COPY_AND_ASSIGN(Linkage);
406 }; 406 };
407 407
408 } // namespace compiler 408 } // namespace compiler
409 } // namespace internal 409 } // namespace internal
410 } // namespace v8 410 } // namespace v8
411 411
412 #endif // V8_COMPILER_LINKAGE_H_ 412 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698