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

Side by Side Diff: src/compiler/js-operator.h

Issue 1340313003: [turbofan] Make arguments object materialization inlinable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-arguments-2
Patch Set: Rebased Created 5 years, 3 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-inlining.cc ('k') | src/compiler/js-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/runtime/runtime.h" 8 #include "src/runtime/runtime.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 425
426 bool operator==(CreateArgumentsParameters const&, 426 bool operator==(CreateArgumentsParameters const&,
427 CreateArgumentsParameters const&); 427 CreateArgumentsParameters const&);
428 bool operator!=(CreateArgumentsParameters const&, 428 bool operator!=(CreateArgumentsParameters const&,
429 CreateArgumentsParameters const&); 429 CreateArgumentsParameters const&);
430 430
431 size_t hash_value(CreateArgumentsParameters const&); 431 size_t hash_value(CreateArgumentsParameters const&);
432 432
433 std::ostream& operator<<(std::ostream&, CreateArgumentsParameters const&); 433 std::ostream& operator<<(std::ostream&, CreateArgumentsParameters const&);
434 434
435 const CreateArgumentsParameters& CreateArgumentsParametersOf(
436 const Operator* op);
437
435 438
436 // Defines shared information for the closure that should be created. This is 439 // Defines shared information for the closure that should be created. This is
437 // used as a parameter by JSCreateClosure operators. 440 // used as a parameter by JSCreateClosure operators.
438 class CreateClosureParameters final { 441 class CreateClosureParameters final {
439 public: 442 public:
440 CreateClosureParameters(Handle<SharedFunctionInfo> shared_info, 443 CreateClosureParameters(Handle<SharedFunctionInfo> shared_info,
441 PretenureFlag pretenure) 444 PretenureFlag pretenure)
442 : shared_info_(shared_info), pretenure_(pretenure) {} 445 : shared_info_(shared_info), pretenure_(pretenure) {}
443 446
444 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } 447 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 Zone* const zone_; 574 Zone* const zone_;
572 575
573 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 576 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
574 }; 577 };
575 578
576 } // namespace compiler 579 } // namespace compiler
577 } // namespace internal 580 } // namespace internal
578 } // namespace v8 581 } // namespace v8
579 582
580 #endif // V8_COMPILER_JS_OPERATOR_H_ 583 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698