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

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

Issue 1130283002: [strong] Disallow implicit conversions for comparison (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback Created 5 years, 7 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
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/code-stubs-mips64.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 // 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_MIPS_LITHIUM_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_
6 #define V8_MIPS_LITHIUM_MIPS_H_ 6 #define V8_MIPS_LITHIUM_MIPS_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 inputs_[2] = right; 1167 inputs_[2] = right;
1168 } 1168 }
1169 1169
1170 LOperand* context() { return inputs_[0]; } 1170 LOperand* context() { return inputs_[0]; }
1171 LOperand* left() { return inputs_[1]; } 1171 LOperand* left() { return inputs_[1]; }
1172 LOperand* right() { return inputs_[2]; } 1172 LOperand* right() { return inputs_[2]; }
1173 1173
1174 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") 1174 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t")
1175 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) 1175 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric)
1176 1176
1177 LanguageMode language_mode() { return hydrogen()->language_mode(); }
1178
1177 Token::Value op() const { return hydrogen()->token(); } 1179 Token::Value op() const { return hydrogen()->token(); }
1178 }; 1180 };
1179 1181
1180 1182
1181 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { 1183 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> {
1182 public: 1184 public:
1183 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { 1185 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) {
1184 inputs_[0] = context; 1186 inputs_[0] = context;
1185 inputs_[1] = left; 1187 inputs_[1] = left;
1186 inputs_[2] = right; 1188 inputs_[2] = right;
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
2831 2833
2832 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2834 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2833 }; 2835 };
2834 2836
2835 #undef DECLARE_HYDROGEN_ACCESSOR 2837 #undef DECLARE_HYDROGEN_ACCESSOR
2836 #undef DECLARE_CONCRETE_INSTRUCTION 2838 #undef DECLARE_CONCRETE_INSTRUCTION
2837 2839
2838 } } // namespace v8::internal 2840 } } // namespace v8::internal
2839 2841
2840 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2842 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698