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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 const Operator* TypeOf(); | 552 const Operator* TypeOf(); |
553 const Operator* InstanceOf(); | 553 const Operator* InstanceOf(); |
554 | 554 |
555 const Operator* ForInDone(); | 555 const Operator* ForInDone(); |
556 const Operator* ForInNext(); | 556 const Operator* ForInNext(); |
557 const Operator* ForInPrepare(); | 557 const Operator* ForInPrepare(); |
558 const Operator* ForInStep(); | 558 const Operator* ForInStep(); |
559 | 559 |
560 const Operator* StackCheck(); | 560 const Operator* StackCheck(); |
561 | 561 |
562 const Operator* CreateFunctionContext(); | 562 const Operator* CreateFunctionContext(int slot_count); |
563 const Operator* CreateCatchContext(const Handle<String>& name); | 563 const Operator* CreateCatchContext(const Handle<String>& name); |
564 const Operator* CreateWithContext(); | 564 const Operator* CreateWithContext(); |
565 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); | 565 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); |
566 const Operator* CreateModuleContext(); | 566 const Operator* CreateModuleContext(); |
567 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); | 567 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); |
568 | 568 |
569 private: | 569 private: |
570 Zone* zone() const { return zone_; } | 570 Zone* zone() const { return zone_; } |
571 | 571 |
572 const JSOperatorGlobalCache& cache_; | 572 const JSOperatorGlobalCache& cache_; |
573 Zone* const zone_; | 573 Zone* const zone_; |
574 | 574 |
575 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 575 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
576 }; | 576 }; |
577 | 577 |
578 } // namespace compiler | 578 } // namespace compiler |
579 } // namespace internal | 579 } // namespace internal |
580 } // namespace v8 | 580 } // namespace v8 |
581 | 581 |
582 #endif // V8_COMPILER_JS_OPERATOR_H_ | 582 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |