| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |