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

Side by Side Diff: src/mips/lithium-mips.h

Issue 8495011: Revert r9901 to make tree green again. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 V(HasInstanceTypeAndBranch) \ 102 V(HasInstanceTypeAndBranch) \
103 V(In) \ 103 V(In) \
104 V(InstanceOf) \ 104 V(InstanceOf) \
105 V(InstanceOfKnownGlobal) \ 105 V(InstanceOfKnownGlobal) \
106 V(InstructionGap) \ 106 V(InstructionGap) \
107 V(Integer32ToDouble) \ 107 V(Integer32ToDouble) \
108 V(InvokeFunction) \ 108 V(InvokeFunction) \
109 V(IsConstructCallAndBranch) \ 109 V(IsConstructCallAndBranch) \
110 V(IsNilAndBranch) \ 110 V(IsNilAndBranch) \
111 V(IsObjectAndBranch) \ 111 V(IsObjectAndBranch) \
112 V(IsStringAndBranch) \
113 V(IsSmiAndBranch) \ 112 V(IsSmiAndBranch) \
114 V(IsUndetectableAndBranch) \ 113 V(IsUndetectableAndBranch) \
115 V(StringCompareAndBranch) \
116 V(JSArrayLength) \ 114 V(JSArrayLength) \
117 V(Label) \ 115 V(Label) \
118 V(LazyBailout) \ 116 V(LazyBailout) \
119 V(LoadContextSlot) \ 117 V(LoadContextSlot) \
120 V(LoadElements) \ 118 V(LoadElements) \
121 V(LoadExternalArrayPointer) \ 119 V(LoadExternalArrayPointer) \
122 V(LoadFunctionPrototype) \ 120 V(LoadFunctionPrototype) \
123 V(LoadGlobalCell) \ 121 V(LoadGlobalCell) \
124 V(LoadGlobalGeneric) \ 122 V(LoadGlobalGeneric) \
125 V(LoadKeyedFastDoubleElement) \ 123 V(LoadKeyedFastDoubleElement) \
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 temps_[0] = temp; 651 temps_[0] = temp;
654 } 652 }
655 653
656 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") 654 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch")
657 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch) 655 DECLARE_HYDROGEN_ACCESSOR(IsObjectAndBranch)
658 656
659 virtual void PrintDataTo(StringStream* stream); 657 virtual void PrintDataTo(StringStream* stream);
660 }; 658 };
661 659
662 660
663 class LIsStringAndBranch: public LControlInstruction<1, 1> {
664 public:
665 LIsStringAndBranch(LOperand* value, LOperand* temp) {
666 inputs_[0] = value;
667 temps_[0] = temp;
668 }
669
670 DECLARE_CONCRETE_INSTRUCTION(IsStringAndBranch, "is-string-and-branch")
671 DECLARE_HYDROGEN_ACCESSOR(IsStringAndBranch)
672
673 virtual void PrintDataTo(StringStream* stream);
674 };
675
676
677 class LIsSmiAndBranch: public LControlInstruction<1, 0> { 661 class LIsSmiAndBranch: public LControlInstruction<1, 0> {
678 public: 662 public:
679 explicit LIsSmiAndBranch(LOperand* value) { 663 explicit LIsSmiAndBranch(LOperand* value) {
680 inputs_[0] = value; 664 inputs_[0] = value;
681 } 665 }
682 666
683 DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch") 667 DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch")
684 DECLARE_HYDROGEN_ACCESSOR(IsSmiAndBranch) 668 DECLARE_HYDROGEN_ACCESSOR(IsSmiAndBranch)
685 669
686 virtual void PrintDataTo(StringStream* stream); 670 virtual void PrintDataTo(StringStream* stream);
687 }; 671 };
688 672
689 673
690 class LIsUndetectableAndBranch: public LControlInstruction<1, 1> { 674 class LIsUndetectableAndBranch: public LControlInstruction<1, 1> {
691 public: 675 public:
692 explicit LIsUndetectableAndBranch(LOperand* value, LOperand* temp) { 676 explicit LIsUndetectableAndBranch(LOperand* value, LOperand* temp) {
693 inputs_[0] = value; 677 inputs_[0] = value;
694 temps_[0] = temp; 678 temps_[0] = temp;
695 } 679 }
696 680
697 DECLARE_CONCRETE_INSTRUCTION(IsUndetectableAndBranch, 681 DECLARE_CONCRETE_INSTRUCTION(IsUndetectableAndBranch,
698 "is-undetectable-and-branch") 682 "is-undetectable-and-branch")
699 DECLARE_HYDROGEN_ACCESSOR(IsUndetectableAndBranch) 683 DECLARE_HYDROGEN_ACCESSOR(IsUndetectableAndBranch)
700 684
701 virtual void PrintDataTo(StringStream* stream); 685 virtual void PrintDataTo(StringStream* stream);
702 }; 686 };
703 687
704 688
705 class LStringCompareAndBranch: public LControlInstruction<2, 0> {
706 public:
707 LStringCompareAndBranch(LOperand* left, LOperand* right) {
708 inputs_[0] = left;
709 inputs_[1] = right;
710 }
711
712 DECLARE_CONCRETE_INSTRUCTION(StringCompareAndBranch,
713 "compare-generic-and-branch")
714 DECLARE_HYDROGEN_ACCESSOR(StringCompareAndBranch)
715
716 Token::Value op() const { return hydrogen()->token(); }
717
718 virtual void PrintDataTo(StringStream* stream);
719 };
720
721
722 class LHasInstanceTypeAndBranch: public LControlInstruction<1, 0> { 689 class LHasInstanceTypeAndBranch: public LControlInstruction<1, 0> {
723 public: 690 public:
724 explicit LHasInstanceTypeAndBranch(LOperand* value) { 691 explicit LHasInstanceTypeAndBranch(LOperand* value) {
725 inputs_[0] = value; 692 inputs_[0] = value;
726 } 693 }
727 694
728 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch, 695 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch,
729 "has-instance-type-and-branch") 696 "has-instance-type-and-branch")
730 DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch) 697 DECLARE_HYDROGEN_ACCESSOR(HasInstanceTypeAndBranch)
731 698
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after
2244 2211
2245 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2212 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2246 }; 2213 };
2247 2214
2248 #undef DECLARE_HYDROGEN_ACCESSOR 2215 #undef DECLARE_HYDROGEN_ACCESSOR
2249 #undef DECLARE_CONCRETE_INSTRUCTION 2216 #undef DECLARE_CONCRETE_INSTRUCTION
2250 2217
2251 } } // namespace v8::internal 2218 } } // namespace v8::internal
2252 2219
2253 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2220 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698