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/compiler/type-hints.h" | 8 #include "src/compiler/type-hints.h" |
9 #include "src/runtime/runtime.h" | 9 #include "src/runtime/runtime.h" |
10 | 10 |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 const Operator* InstanceOf(); | 463 const Operator* InstanceOf(); |
464 | 464 |
465 const Operator* ForInDone(); | 465 const Operator* ForInDone(); |
466 const Operator* ForInNext(); | 466 const Operator* ForInNext(); |
467 const Operator* ForInPrepare(); | 467 const Operator* ForInPrepare(); |
468 const Operator* ForInStep(); | 468 const Operator* ForInStep(); |
469 | 469 |
470 const Operator* LoadMessage(); | 470 const Operator* LoadMessage(); |
471 const Operator* StoreMessage(); | 471 const Operator* StoreMessage(); |
472 | 472 |
| 473 // Used to implement Ignition's SuspendGenerator bytecode. |
| 474 const Operator* GeneratorStore(int register_count); |
| 475 |
| 476 // Used to implement Ignition's ResumeGenerator bytecode. |
| 477 const Operator* GeneratorRestoreContinuation(); |
| 478 const Operator* GeneratorRestoreRegister(int index); |
| 479 |
473 const Operator* StackCheck(); | 480 const Operator* StackCheck(); |
474 | 481 |
475 const Operator* CreateFunctionContext(int slot_count); | 482 const Operator* CreateFunctionContext(int slot_count); |
476 const Operator* CreateCatchContext(const Handle<String>& name); | 483 const Operator* CreateCatchContext(const Handle<String>& name); |
477 const Operator* CreateWithContext(); | 484 const Operator* CreateWithContext(); |
478 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); | 485 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); |
479 const Operator* CreateModuleContext(); | 486 const Operator* CreateModuleContext(); |
480 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); | 487 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); |
481 | 488 |
482 private: | 489 private: |
483 Zone* zone() const { return zone_; } | 490 Zone* zone() const { return zone_; } |
484 | 491 |
485 const JSOperatorGlobalCache& cache_; | 492 const JSOperatorGlobalCache& cache_; |
486 Zone* const zone_; | 493 Zone* const zone_; |
487 | 494 |
488 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 495 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
489 }; | 496 }; |
490 | 497 |
491 } // namespace compiler | 498 } // namespace compiler |
492 } // namespace internal | 499 } // namespace internal |
493 } // namespace v8 | 500 } // namespace v8 |
494 | 501 |
495 #endif // V8_COMPILER_JS_OPERATOR_H_ | 502 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |