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

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

Issue 2489863003: [compiler,modules] Introduce JS operators for module loads and stores. (Closed)
Patch Set: Remove unused variable. Created 4 years, 1 month 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/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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 const Operator* LoadGlobal(const Handle<Name>& name, 495 const Operator* LoadGlobal(const Handle<Name>& name,
496 const VectorSlotPair& feedback, 496 const VectorSlotPair& feedback,
497 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); 497 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
498 const Operator* StoreGlobal(LanguageMode language_mode, 498 const Operator* StoreGlobal(LanguageMode language_mode,
499 const Handle<Name>& name, 499 const Handle<Name>& name,
500 const VectorSlotPair& feedback); 500 const VectorSlotPair& feedback);
501 501
502 const Operator* LoadContext(size_t depth, size_t index, bool immutable); 502 const Operator* LoadContext(size_t depth, size_t index, bool immutable);
503 const Operator* StoreContext(size_t depth, size_t index); 503 const Operator* StoreContext(size_t depth, size_t index);
504 504
505 const Operator* LoadModule(int32_t cell_index);
506 const Operator* StoreModule(int32_t cell_index);
507
505 const Operator* TypeOf(); 508 const Operator* TypeOf();
506 const Operator* InstanceOf(); 509 const Operator* InstanceOf();
507 510
508 const Operator* ForInNext(); 511 const Operator* ForInNext();
509 const Operator* ForInPrepare(); 512 const Operator* ForInPrepare();
510 513
511 const Operator* LoadMessage(); 514 const Operator* LoadMessage();
512 const Operator* StoreMessage(); 515 const Operator* StoreMessage();
513 516
514 // Used to implement Ignition's SuspendGenerator bytecode. 517 // Used to implement Ignition's SuspendGenerator bytecode.
(...skipping 20 matching lines...) Expand all
535 Zone* const zone_; 538 Zone* const zone_;
536 539
537 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 540 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
538 }; 541 };
539 542
540 } // namespace compiler 543 } // namespace compiler
541 } // namespace internal 544 } // namespace internal
542 } // namespace v8 545 } // namespace v8
543 546
544 #endif // V8_COMPILER_JS_OPERATOR_H_ 547 #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