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

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

Issue 283383006: Inobject slack tracking is done on a per-closure basis instead of per-shared info basis. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing review comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/builtins.h » ('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 "v8globals.h" 10 #include "v8globals.h"
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 // Remove if not needed. 835 // Remove if not needed.
836 inline void Move(Register dst, Register src) { Mov(dst, src); } 836 inline void Move(Register dst, Register src) { Mov(dst, src); }
837 837
838 void LoadInstanceDescriptors(Register map, 838 void LoadInstanceDescriptors(Register map,
839 Register descriptors); 839 Register descriptors);
840 void EnumLengthUntagged(Register dst, Register map); 840 void EnumLengthUntagged(Register dst, Register map);
841 void EnumLengthSmi(Register dst, Register map); 841 void EnumLengthSmi(Register dst, Register map);
842 void NumberOfOwnDescriptors(Register dst, Register map); 842 void NumberOfOwnDescriptors(Register dst, Register map);
843 843
844 template<typename Field> 844 template<typename Field>
845 void DecodeField(Register reg) { 845 void DecodeField(Register dst, Register src) {
846 static const uint64_t shift = Field::kShift; 846 static const uint64_t shift = Field::kShift;
847 static const uint64_t setbits = CountSetBits(Field::kMask, 32); 847 static const uint64_t setbits = CountSetBits(Field::kMask, 32);
848 Ubfx(reg, reg, shift, setbits); 848 Ubfx(dst, src, shift, setbits);
849 }
850
851 template<typename Field>
852 void DecodeField(Register reg) {
853 DecodeField<Field>(reg, reg);
849 } 854 }
850 855
851 // ---- SMI and Number Utilities ---- 856 // ---- SMI and Number Utilities ----
852 857
853 inline void SmiTag(Register dst, Register src); 858 inline void SmiTag(Register dst, Register src);
854 inline void SmiTag(Register smi); 859 inline void SmiTag(Register smi);
855 inline void SmiUntag(Register dst, Register src); 860 inline void SmiUntag(Register dst, Register src);
856 inline void SmiUntag(Register smi); 861 inline void SmiUntag(Register smi);
857 inline void SmiUntagToDouble(FPRegister dst, 862 inline void SmiUntagToDouble(FPRegister dst,
858 Register src, 863 Register src,
(...skipping 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 #error "Unsupported option" 2300 #error "Unsupported option"
2296 #define CODE_COVERAGE_STRINGIFY(x) #x 2301 #define CODE_COVERAGE_STRINGIFY(x) #x
2297 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2302 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2298 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2303 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2299 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2304 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2300 #else 2305 #else
2301 #define ACCESS_MASM(masm) masm-> 2306 #define ACCESS_MASM(masm) masm->
2302 #endif 2307 #endif
2303 2308
2304 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2309 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698