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

Side by Side Diff: src/arm64/lithium-arm64.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/arm64/full-codegen-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_
6 #define V8_ARM64_LITHIUM_ARM64_H_ 6 #define V8_ARM64_LITHIUM_ARM64_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 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 inputs_[2] = right; 1174 inputs_[2] = right;
1175 } 1175 }
1176 1176
1177 LOperand* context() { return inputs_[0]; } 1177 LOperand* context() { return inputs_[0]; }
1178 LOperand* left() { return inputs_[1]; } 1178 LOperand* left() { return inputs_[1]; }
1179 LOperand* right() { return inputs_[2]; } 1179 LOperand* right() { return inputs_[2]; }
1180 1180
1181 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t") 1181 DECLARE_CONCRETE_INSTRUCTION(CmpT, "cmp-t")
1182 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric) 1182 DECLARE_HYDROGEN_ACCESSOR(CompareGeneric)
1183 1183
1184 LanguageMode language_mode() { return hydrogen()->language_mode(); }
1185
1184 Token::Value op() const { return hydrogen()->token(); } 1186 Token::Value op() const { return hydrogen()->token(); }
1185 }; 1187 };
1186 1188
1187 1189
1188 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> { 1190 class LCompareMinusZeroAndBranch final : public LControlInstruction<1, 1> {
1189 public: 1191 public:
1190 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) { 1192 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) {
1191 inputs_[0] = value; 1193 inputs_[0] = value;
1192 temps_[0] = temp; 1194 temps_[0] = temp;
1193 } 1195 }
(...skipping 2035 matching lines...) Expand 10 before | Expand all | Expand 10 after
3229 3231
3230 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3232 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3231 }; 3233 };
3232 3234
3233 #undef DECLARE_HYDROGEN_ACCESSOR 3235 #undef DECLARE_HYDROGEN_ACCESSOR
3234 #undef DECLARE_CONCRETE_INSTRUCTION 3236 #undef DECLARE_CONCRETE_INSTRUCTION
3235 3237
3236 } } // namespace v8::internal 3238 } } // namespace v8::internal
3237 3239
3238 #endif // V8_ARM64_LITHIUM_ARM64_H_ 3240 #endif // V8_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698