Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Side by Side Diff: src/compiler/js-operator.h

Issue 1991203002: [generators] Replace some runtime functions with Turbofan JS operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698