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

Side by Side Diff: src/arm64/macro-assembler-arm64.h

Issue 1131573006: ARM64: Enable shorten-64-to-32 warning (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/lithium-codegen-arm64.cc ('k') | src/arm64/macro-assembler-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_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 void LoadInstanceDescriptors(Register map, 879 void LoadInstanceDescriptors(Register map,
880 Register descriptors); 880 Register descriptors);
881 void EnumLengthUntagged(Register dst, Register map); 881 void EnumLengthUntagged(Register dst, Register map);
882 void EnumLengthSmi(Register dst, Register map); 882 void EnumLengthSmi(Register dst, Register map);
883 void NumberOfOwnDescriptors(Register dst, Register map); 883 void NumberOfOwnDescriptors(Register dst, Register map);
884 void LoadAccessor(Register dst, Register holder, int accessor_index, 884 void LoadAccessor(Register dst, Register holder, int accessor_index,
885 AccessorComponent accessor); 885 AccessorComponent accessor);
886 886
887 template<typename Field> 887 template<typename Field>
888 void DecodeField(Register dst, Register src) { 888 void DecodeField(Register dst, Register src) {
889 static const uint64_t shift = Field::kShift; 889 static const int shift = Field::kShift;
890 static const uint64_t setbits = CountSetBits(Field::kMask, 32); 890 static const int setbits = CountSetBits(Field::kMask, 32);
891 Ubfx(dst, src, shift, setbits); 891 Ubfx(dst, src, shift, setbits);
892 } 892 }
893 893
894 template<typename Field> 894 template<typename Field>
895 void DecodeField(Register reg) { 895 void DecodeField(Register reg) {
896 DecodeField<Field>(reg, reg); 896 DecodeField<Field>(reg, reg);
897 } 897 }
898 898
899 // ---- SMI and Number Utilities ---- 899 // ---- SMI and Number Utilities ----
900 900
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after
2298 #error "Unsupported option" 2298 #error "Unsupported option"
2299 #define CODE_COVERAGE_STRINGIFY(x) #x 2299 #define CODE_COVERAGE_STRINGIFY(x) #x
2300 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2300 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2301 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2301 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2302 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2302 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2303 #else 2303 #else
2304 #define ACCESS_MASM(masm) masm-> 2304 #define ACCESS_MASM(masm) masm->
2305 #endif 2305 #endif
2306 2306
2307 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2307 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698