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

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

Issue 2018353004: [turbofan] Remove eager frame state from runtime calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-checkpoint-2
Patch Set: Rebased. Created 4 years, 6 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 | « no previous file | 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 } 361 }
362 362
363 // Get the machine type of this function's return value. 363 // Get the machine type of this function's return value.
364 MachineType GetReturnType(size_t index = 0) const { 364 MachineType GetReturnType(size_t index = 0) const {
365 return incoming_->GetReturnType(index); 365 return incoming_->GetReturnType(index);
366 } 366 }
367 367
368 bool ParameterHasSecondaryLocation(int index) const; 368 bool ParameterHasSecondaryLocation(int index) const;
369 LinkageLocation GetParameterSecondaryLocation(int index) const; 369 LinkageLocation GetParameterSecondaryLocation(int index) const;
370 370
371 static int FrameStateInputCount(Runtime::FunctionId function); 371 static bool NeedsFrameStateInput(Runtime::FunctionId function);
372 372
373 // Get the location where an incoming OSR value is stored. 373 // Get the location where an incoming OSR value is stored.
374 LinkageLocation GetOsrValueLocation(int index) const; 374 LinkageLocation GetOsrValueLocation(int index) const;
375 375
376 // A special {Parameter} index for Stub Calls that represents context. 376 // A special {Parameter} index for Stub Calls that represents context.
377 static int GetStubCallContextParamIndex(int parameter_count) { 377 static int GetStubCallContextParamIndex(int parameter_count) {
378 return parameter_count + 0; // Parameter (arity + 0) is special. 378 return parameter_count + 0; // Parameter (arity + 0) is special.
379 } 379 }
380 380
381 // A special {Parameter} index for JSCalls that represents the new target. 381 // A special {Parameter} index for JSCalls that represents the new target.
(...skipping 21 matching lines...) Expand all
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 | « no previous file | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698