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

Side by Side Diff: src/x87/lithium-x87.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/x87/lithium-codegen-x87.cc ('k') | test/cctest/compiler/test-js-typed-lowering.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_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_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 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 public: 1195 public:
1196 LCmpT(LOperand* context, LOperand* left, LOperand* right) { 1196 LCmpT(LOperand* context, LOperand* left, LOperand* right) {
1197 inputs_[0] = context; 1197 inputs_[0] = context;
1198 inputs_[1] = left; 1198 inputs_[1] = left;
1199 inputs_[2] = right; 1199 inputs_[2] = right;
1200 } 1200 }
1201 1201
1202 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") 1202 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t")
1203 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) 1203 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric)
1204 1204
1205 LanguageMode language_mode() { return hydrogen()->language_mode(); }
1206
1205 LOperand* context() { return inputs_[0]; } 1207 LOperand* context() { return inputs_[0]; }
1206 Token::Value op() const { return hydrogen()->token(); } 1208 Token::Value op() const { return hydrogen()->token(); }
1207 }; 1209 };
1208 1210
1209 1211
1210 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> { 1212 class LInstanceOf final : public LTemplateInstruction<1, 3, 0> {
1211 public: 1213 public:
1212 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) { 1214 LInstanceOf(LOperand* context, LOperand* left, LOperand* right) {
1213 inputs_[0] = context; 1215 inputs_[0] = context;
1214 inputs_[1] = left; 1216 inputs_[1] = left;
(...skipping 1668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2883 2885
2884 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2886 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2885 }; 2887 };
2886 2888
2887 #undef DECLARE_HYDROGEN_ACCESSOR 2889 #undef DECLARE_HYDROGEN_ACCESSOR
2888 #undef DECLARE_CONCRETE_INSTRUCTION 2890 #undef DECLARE_CONCRETE_INSTRUCTION
2889 2891
2890 } } // namespace v8::internal 2892 } } // namespace v8::internal
2891 2893
2892 #endif // V8_X87_LITHIUM_X87_H_ 2894 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | test/cctest/compiler/test-js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698