| 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/handles.h" | 10 #include "src/handles.h" |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 const Operator* ForInNext(); | 763 const Operator* ForInNext(); |
| 764 const Operator* ForInPrepare(); | 764 const Operator* ForInPrepare(); |
| 765 | 765 |
| 766 const Operator* LoadMessage(); | 766 const Operator* LoadMessage(); |
| 767 const Operator* StoreMessage(); | 767 const Operator* StoreMessage(); |
| 768 | 768 |
| 769 // Used to implement Ignition's SuspendGenerator bytecode. | 769 // Used to implement Ignition's SuspendGenerator bytecode. |
| 770 const Operator* GeneratorStore(int register_count, | 770 const Operator* GeneratorStore(int register_count, |
| 771 SuspendFlags suspend_flags); | 771 SuspendFlags suspend_flags); |
| 772 | 772 |
| 773 // Used to implement Ignition's ResumeGenerator bytecode. | 773 // Used to implement Ignition's RestoreGeneratorState bytecode. |
| 774 const Operator* GeneratorRestoreContinuation(); | 774 const Operator* GeneratorRestoreContinuation(); |
| 775 // Used to implement Ignition's RestoreGeneratorRegisters bytecode. |
| 775 const Operator* GeneratorRestoreRegister(int index); | 776 const Operator* GeneratorRestoreRegister(int index); |
| 776 | 777 |
| 777 const Operator* StackCheck(); | 778 const Operator* StackCheck(); |
| 778 const Operator* Debugger(); | 779 const Operator* Debugger(); |
| 779 | 780 |
| 780 const Operator* CreateFunctionContext(int slot_count, ScopeType scope_type); | 781 const Operator* CreateFunctionContext(int slot_count, ScopeType scope_type); |
| 781 const Operator* CreateCatchContext(const Handle<String>& name, | 782 const Operator* CreateCatchContext(const Handle<String>& name, |
| 782 const Handle<ScopeInfo>& scope_info); | 783 const Handle<ScopeInfo>& scope_info); |
| 783 const Operator* CreateWithContext(const Handle<ScopeInfo>& scope_info); | 784 const Operator* CreateWithContext(const Handle<ScopeInfo>& scope_info); |
| 784 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); | 785 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); |
| 785 const Operator* CreateModuleContext(); | 786 const Operator* CreateModuleContext(); |
| 786 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); | 787 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); |
| 787 | 788 |
| 788 private: | 789 private: |
| 789 Zone* zone() const { return zone_; } | 790 Zone* zone() const { return zone_; } |
| 790 | 791 |
| 791 const JSOperatorGlobalCache& cache_; | 792 const JSOperatorGlobalCache& cache_; |
| 792 Zone* const zone_; | 793 Zone* const zone_; |
| 793 | 794 |
| 794 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 795 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
| 795 }; | 796 }; |
| 796 | 797 |
| 797 } // namespace compiler | 798 } // namespace compiler |
| 798 } // namespace internal | 799 } // namespace internal |
| 799 } // namespace v8 | 800 } // namespace v8 |
| 800 | 801 |
| 801 #endif // V8_COMPILER_JS_OPERATOR_H_ | 802 #endif // V8_COMPILER_JS_OPERATOR_H_ |
| OLD | NEW |