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

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

Issue 24255015: Revert "Allow control intructions to have side effects." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 V(CheckSmi) \ 69 V(CheckSmi) \
70 V(CheckValue) \ 70 V(CheckValue) \
71 V(ClampDToUint8) \ 71 V(ClampDToUint8) \
72 V(ClampIToUint8) \ 72 V(ClampIToUint8) \
73 V(ClampTToUint8) \ 73 V(ClampTToUint8) \
74 V(ClassOfTestAndBranch) \ 74 V(ClassOfTestAndBranch) \
75 V(CompareNumericAndBranch) \ 75 V(CompareNumericAndBranch) \
76 V(CmpObjectEqAndBranch) \ 76 V(CmpObjectEqAndBranch) \
77 V(CmpHoleAndBranch) \ 77 V(CmpHoleAndBranch) \
78 V(CmpMapAndBranch) \ 78 V(CmpMapAndBranch) \
79 V(CompareGenericAndBranch) \ 79 V(CmpT) \
80 V(ConstantD) \ 80 V(ConstantD) \
81 V(ConstantE) \ 81 V(ConstantE) \
82 V(ConstantI) \ 82 V(ConstantI) \
83 V(ConstantS) \ 83 V(ConstantS) \
84 V(ConstantT) \ 84 V(ConstantT) \
85 V(Context) \ 85 V(Context) \
86 V(DateField) \ 86 V(DateField) \
87 V(DebugBreak) \ 87 V(DebugBreak) \
88 V(DeclareGlobals) \ 88 V(DeclareGlobals) \
89 V(Deoptimize) \ 89 V(Deoptimize) \
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 LOperand* temp2() { return temps_[1]; } 1012 LOperand* temp2() { return temps_[1]; }
1013 1013
1014 DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch, 1014 DECLARE_CONCRETE_INSTRUCTION(ClassOfTestAndBranch,
1015 "class-of-test-and-branch") 1015 "class-of-test-and-branch")
1016 DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch) 1016 DECLARE_HYDROGEN_ACCESSOR(ClassOfTestAndBranch)
1017 1017
1018 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 1018 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
1019 }; 1019 };
1020 1020
1021 1021
1022 class LCompareGenericAndBranch V8_FINAL : public LControlInstruction<2, 0> { 1022 class LCmpT V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1023 public: 1023 public:
1024 LCompareGenericAndBranch(LOperand* left, LOperand* right) { 1024 LCmpT(LOperand* left, LOperand* right) {
1025 inputs_[0] = left; 1025 inputs_[0] = left;
1026 inputs_[1] = right; 1026 inputs_[1] = right;
1027 } 1027 }
1028 1028
1029 LOperand* left() { return inputs_[0]; } 1029 LOperand* left() { return inputs_[0]; }
1030 LOperand* right() { return inputs_[1]; } 1030 LOperand* right() { return inputs_[1]; }
1031 1031
1032 DECLARE_CONCRETE_INSTRUCTION(CompareGenericAndBranch, 1032 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t")
1033 "compare-generic-and-branch") 1033 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric)
1034 DECLARE_HYDROGEN_ACCESSOR(CompareGenericAndBranch)
1035 1034
1036 Token::Value op() const { return hydrogen()->token(); } 1035 Token::Value op() const { return hydrogen()->token(); }
1037 }; 1036 };
1038 1037
1039 1038
1040 class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 2, 0> { 1039 class LInstanceOf V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1041 public: 1040 public:
1042 LInstanceOf(LOperand* left, LOperand* right) { 1041 LInstanceOf(LOperand* left, LOperand* right) {
1043 inputs_[0] = left; 1042 inputs_[0] = left;
1044 inputs_[1] = right; 1043 inputs_[1] = right;
(...skipping 1673 matching lines...) Expand 10 before | Expand all | Expand 10 after
2718 2717
2719 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2720 }; 2719 };
2721 2720
2722 #undef DECLARE_HYDROGEN_ACCESSOR 2721 #undef DECLARE_HYDROGEN_ACCESSOR
2723 #undef DECLARE_CONCRETE_INSTRUCTION 2722 #undef DECLARE_CONCRETE_INSTRUCTION
2724 2723
2725 } } // namespace v8::int 2724 } } // namespace v8::int
2726 2725
2727 #endif // V8_X64_LITHIUM_X64_H_ 2726 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698