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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 | 503 |
504 // Used to implement Ignition's ResumeGenerator bytecode. | 504 // Used to implement Ignition's ResumeGenerator bytecode. |
505 const Operator* GeneratorRestoreContinuation(); | 505 const Operator* GeneratorRestoreContinuation(); |
506 const Operator* GeneratorRestoreRegister(int index); | 506 const Operator* GeneratorRestoreRegister(int index); |
507 | 507 |
508 const Operator* StackCheck(); | 508 const Operator* StackCheck(); |
509 | 509 |
510 const Operator* CreateFunctionContext(int slot_count); | 510 const Operator* CreateFunctionContext(int slot_count); |
511 const Operator* CreateCatchContext(const Handle<String>& name, | 511 const Operator* CreateCatchContext(const Handle<String>& name, |
512 const Handle<ScopeInfo>& scope_info); | 512 const Handle<ScopeInfo>& scope_info); |
513 const Operator* CreateWithContext(); | 513 const Operator* CreateWithContext(const Handle<ScopeInfo>& scope_info); |
514 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); | 514 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); |
515 const Operator* CreateModuleContext(); | 515 const Operator* CreateModuleContext(); |
516 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); | 516 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); |
517 | 517 |
518 private: | 518 private: |
519 Zone* zone() const { return zone_; } | 519 Zone* zone() const { return zone_; } |
520 | 520 |
521 const JSOperatorGlobalCache& cache_; | 521 const JSOperatorGlobalCache& cache_; |
522 Zone* const zone_; | 522 Zone* const zone_; |
523 | 523 |
524 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 524 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
525 }; | 525 }; |
526 | 526 |
527 } // namespace compiler | 527 } // namespace compiler |
528 } // namespace internal | 528 } // namespace internal |
529 } // namespace v8 | 529 } // namespace v8 |
530 | 530 |
531 #endif // V8_COMPILER_JS_OPERATOR_H_ | 531 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |