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

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

Issue 1193313002: Vector ICs: Additional Turbofan support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 6 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/compiler/js-operator.h" 5 #include "src/compiler/js-operator.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/lazy-instance.h" 9 #include "src/base/lazy-instance.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 } 512 }
513 513
514 514
515 const Operator* JSOperatorBuilder::StoreNamed(LanguageMode language_mode, 515 const Operator* JSOperatorBuilder::StoreNamed(LanguageMode language_mode,
516 const Unique<Name>& name, 516 const Unique<Name>& name,
517 const VectorSlotPair& feedback) { 517 const VectorSlotPair& feedback) {
518 StoreNamedParameters parameters(language_mode, feedback, name); 518 StoreNamedParameters parameters(language_mode, feedback, name);
519 return new (zone()) Operator1<StoreNamedParameters>( // -- 519 return new (zone()) Operator1<StoreNamedParameters>( // --
520 IrOpcode::kJSStoreNamed, Operator::kNoProperties, // opcode 520 IrOpcode::kJSStoreNamed, Operator::kNoProperties, // opcode
521 "JSStoreNamed", // name 521 "JSStoreNamed", // name
522 2, 1, 1, 0, 1, 2, // counts 522 3, 1, 1, 0, 1, 2, // counts
523 parameters); // parameter 523 parameters); // parameter
524 } 524 }
525 525
526 526
527 const Operator* JSOperatorBuilder::StoreProperty( 527 const Operator* JSOperatorBuilder::StoreProperty(
528 LanguageMode language_mode, const VectorSlotPair& feedback) { 528 LanguageMode language_mode, const VectorSlotPair& feedback) {
529 StorePropertyParameters parameters(language_mode, feedback); 529 StorePropertyParameters parameters(language_mode, feedback);
530 return new (zone()) Operator1<StorePropertyParameters>( // -- 530 return new (zone()) Operator1<StorePropertyParameters>( // --
531 IrOpcode::kJSStoreProperty, Operator::kNoProperties, // opcode 531 IrOpcode::kJSStoreProperty, Operator::kNoProperties, // opcode
532 "JSStoreProperty", // name 532 "JSStoreProperty", // name
533 3, 1, 1, 0, 1, 2, // counts 533 4, 1, 1, 0, 1, 2, // counts
534 parameters); // parameter 534 parameters); // parameter
535 } 535 }
536 536
537 537
538 const Operator* JSOperatorBuilder::DeleteProperty(LanguageMode language_mode) { 538 const Operator* JSOperatorBuilder::DeleteProperty(LanguageMode language_mode) {
539 return new (zone()) Operator1<LanguageMode>( // -- 539 return new (zone()) Operator1<LanguageMode>( // --
540 IrOpcode::kJSDeleteProperty, Operator::kNoProperties, // opcode 540 IrOpcode::kJSDeleteProperty, Operator::kNoProperties, // opcode
541 "JSDeleteProperty", // name 541 "JSDeleteProperty", // name
542 2, 1, 1, 1, 1, 2, // counts 542 2, 1, 1, 1, 1, 2, // counts
543 language_mode); // parameter 543 language_mode); // parameter
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 return new (zone()) Operator1<Unique<String>>( // -- 626 return new (zone()) Operator1<Unique<String>>( // --
627 IrOpcode::kJSCreateCatchContext, Operator::kNoProperties, // opcode 627 IrOpcode::kJSCreateCatchContext, Operator::kNoProperties, // opcode
628 "JSCreateCatchContext", // name 628 "JSCreateCatchContext", // name
629 2, 1, 1, 1, 1, 2, // counts 629 2, 1, 1, 1, 1, 2, // counts
630 name); // parameter 630 name); // parameter
631 } 631 }
632 632
633 } // namespace compiler 633 } // namespace compiler
634 } // namespace internal 634 } // namespace internal
635 } // namespace v8 635 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | test/unittests/compiler/js-typed-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698