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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 const Operator* StoreMessage(); | 667 const Operator* StoreMessage(); |
668 | 668 |
669 // Used to implement Ignition's SuspendGenerator bytecode. | 669 // Used to implement Ignition's SuspendGenerator bytecode. |
670 const Operator* GeneratorStore(int register_count); | 670 const Operator* GeneratorStore(int register_count); |
671 | 671 |
672 // Used to implement Ignition's ResumeGenerator bytecode. | 672 // Used to implement Ignition's ResumeGenerator bytecode. |
673 const Operator* GeneratorRestoreContinuation(); | 673 const Operator* GeneratorRestoreContinuation(); |
674 const Operator* GeneratorRestoreRegister(int index); | 674 const Operator* GeneratorRestoreRegister(int index); |
675 | 675 |
676 const Operator* StackCheck(); | 676 const Operator* StackCheck(); |
| 677 const Operator* Debugger(); |
677 | 678 |
678 const Operator* CreateFunctionContext(int slot_count, ScopeType scope_type); | 679 const Operator* CreateFunctionContext(int slot_count, ScopeType scope_type); |
679 const Operator* CreateCatchContext(const Handle<String>& name, | 680 const Operator* CreateCatchContext(const Handle<String>& name, |
680 const Handle<ScopeInfo>& scope_info); | 681 const Handle<ScopeInfo>& scope_info); |
681 const Operator* CreateWithContext(const Handle<ScopeInfo>& scope_info); | 682 const Operator* CreateWithContext(const Handle<ScopeInfo>& scope_info); |
682 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); | 683 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); |
683 const Operator* CreateModuleContext(); | 684 const Operator* CreateModuleContext(); |
684 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); | 685 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); |
685 | 686 |
686 private: | 687 private: |
687 Zone* zone() const { return zone_; } | 688 Zone* zone() const { return zone_; } |
688 | 689 |
689 const JSOperatorGlobalCache& cache_; | 690 const JSOperatorGlobalCache& cache_; |
690 Zone* const zone_; | 691 Zone* const zone_; |
691 | 692 |
692 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 693 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
693 }; | 694 }; |
694 | 695 |
695 } // namespace compiler | 696 } // namespace compiler |
696 } // namespace internal | 697 } // namespace internal |
697 } // namespace v8 | 698 } // namespace v8 |
698 | 699 |
699 #endif // V8_COMPILER_JS_OPERATOR_H_ | 700 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |