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

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

Issue 2511223003: [turbofan] Properly optimize instanceof (even in the presence of @@hasInstance). (Closed)
Patch Set: 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
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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 const VectorSlotPair& feedback); 501 const VectorSlotPair& feedback);
502 502
503 const Operator* LoadContext(size_t depth, size_t index, bool immutable); 503 const Operator* LoadContext(size_t depth, size_t index, bool immutable);
504 const Operator* StoreContext(size_t depth, size_t index); 504 const Operator* StoreContext(size_t depth, size_t index);
505 505
506 const Operator* LoadModule(int32_t cell_index); 506 const Operator* LoadModule(int32_t cell_index);
507 const Operator* StoreModule(int32_t cell_index); 507 const Operator* StoreModule(int32_t cell_index);
508 508
509 const Operator* TypeOf(); 509 const Operator* TypeOf();
510 const Operator* InstanceOf(); 510 const Operator* InstanceOf();
511 const Operator* OrdinaryHasInstance();
511 512
512 const Operator* ForInNext(); 513 const Operator* ForInNext();
513 const Operator* ForInPrepare(); 514 const Operator* ForInPrepare();
514 515
515 const Operator* LoadMessage(); 516 const Operator* LoadMessage();
516 const Operator* StoreMessage(); 517 const Operator* StoreMessage();
517 518
518 // Used to implement Ignition's SuspendGenerator bytecode. 519 // Used to implement Ignition's SuspendGenerator bytecode.
519 const Operator* GeneratorStore(int register_count); 520 const Operator* GeneratorStore(int register_count);
520 521
(...skipping 18 matching lines...) Expand all
539 Zone* const zone_; 540 Zone* const zone_;
540 541
541 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 542 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
542 }; 543 };
543 544
544 } // namespace compiler 545 } // namespace compiler
545 } // namespace internal 546 } // namespace internal
546 } // namespace v8 547 } // namespace v8
547 548
548 #endif // V8_COMPILER_JS_OPERATOR_H_ 549 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698