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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/runtime/runtime.h" | 10 #include "src/runtime/runtime.h" |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 const Operator* ToObject(); | 477 const Operator* ToObject(); |
478 const Operator* ToString(); | 478 const Operator* ToString(); |
479 | 479 |
480 const Operator* Create(); | 480 const Operator* Create(); |
481 const Operator* CreateArguments(CreateArgumentsType type); | 481 const Operator* CreateArguments(CreateArgumentsType type); |
482 const Operator* CreateArray(size_t arity, Handle<AllocationSite> site); | 482 const Operator* CreateArray(size_t arity, Handle<AllocationSite> site); |
483 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info, | 483 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info, |
484 PretenureFlag pretenure); | 484 PretenureFlag pretenure); |
485 const Operator* CreateIterResultObject(); | 485 const Operator* CreateIterResultObject(); |
486 const Operator* CreateKeyValueArray(); | 486 const Operator* CreateKeyValueArray(); |
487 const Operator* CreateLiteralArray(Handle<FixedArray> constant_elements, | 487 const Operator* CreateLiteralArray(Handle<ConstantElementsPair> constant, |
488 int literal_flags, int literal_index, | 488 int literal_flags, int literal_index, |
489 int number_of_elements); | 489 int number_of_elements); |
490 const Operator* CreateLiteralObject(Handle<FixedArray> constant_properties, | 490 const Operator* CreateLiteralObject(Handle<FixedArray> constant_properties, |
491 int literal_flags, int literal_index, | 491 int literal_flags, int literal_index, |
492 int number_of_properties); | 492 int number_of_properties); |
493 const Operator* CreateLiteralRegExp(Handle<String> constant_pattern, | 493 const Operator* CreateLiteralRegExp(Handle<String> constant_pattern, |
494 int literal_flags, int literal_index); | 494 int literal_flags, int literal_index); |
495 | 495 |
496 const Operator* CallFunction( | 496 const Operator* CallFunction( |
497 size_t arity, float frequency = 0.0f, | 497 size_t arity, float frequency = 0.0f, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 Zone* const zone_; | 568 Zone* const zone_; |
569 | 569 |
570 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 570 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
571 }; | 571 }; |
572 | 572 |
573 } // namespace compiler | 573 } // namespace compiler |
574 } // namespace internal | 574 } // namespace internal |
575 } // namespace v8 | 575 } // namespace v8 |
576 | 576 |
577 #endif // V8_COMPILER_JS_OPERATOR_H_ | 577 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |