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

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

Issue 1478303002: Revert of [runtime] Replace global object link with native context link in all contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/runtime/runtime.h" 8 #include "src/runtime/runtime.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 const Operator* LoadGlobal(const Handle<Name>& name, 506 const Operator* LoadGlobal(const Handle<Name>& name,
507 const VectorSlotPair& feedback, 507 const VectorSlotPair& feedback,
508 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); 508 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
509 const Operator* StoreGlobal(LanguageMode language_mode, 509 const Operator* StoreGlobal(LanguageMode language_mode,
510 const Handle<Name>& name, 510 const Handle<Name>& name,
511 const VectorSlotPair& feedback); 511 const VectorSlotPair& feedback);
512 512
513 const Operator* LoadContext(size_t depth, size_t index, bool immutable); 513 const Operator* LoadContext(size_t depth, size_t index, bool immutable);
514 const Operator* StoreContext(size_t depth, size_t index); 514 const Operator* StoreContext(size_t depth, size_t index);
515 515
516 const Operator* LoadNativeContext();
517
516 const Operator* LoadDynamic(const Handle<String>& name, 518 const Operator* LoadDynamic(const Handle<String>& name,
517 TypeofMode typeof_mode); 519 TypeofMode typeof_mode);
518 520
519 const Operator* TypeOf(); 521 const Operator* TypeOf();
520 const Operator* InstanceOf(); 522 const Operator* InstanceOf();
521 523
522 const Operator* ForInDone(); 524 const Operator* ForInDone();
523 const Operator* ForInNext(); 525 const Operator* ForInNext();
524 const Operator* ForInPrepare(); 526 const Operator* ForInPrepare();
525 const Operator* ForInStep(); 527 const Operator* ForInStep();
(...skipping 17 matching lines...) Expand all
543 Zone* const zone_; 545 Zone* const zone_;
544 546
545 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 547 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
546 }; 548 };
547 549
548 } // namespace compiler 550 } // namespace compiler
549 } // namespace internal 551 } // namespace internal
550 } // namespace v8 552 } // namespace v8
551 553
552 #endif // V8_COMPILER_JS_OPERATOR_H_ 554 #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