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

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

Issue 1973883003: S390: [crankshaft] Fragmentation-free allocation folding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use kNear more Created 4 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/crankshaft/s390/lithium-s390.cc ('k') | src/s390/macro-assembler-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_S390_MACRO_ASSEMBLER_S390_H_ 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_
6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 // label. The allocated object is returned in result. If the flag 958 // label. The allocated object is returned in result. If the flag
959 // tag_allocated_object is true the result is tagged as as a heap object. 959 // tag_allocated_object is true the result is tagged as as a heap object.
960 // All registers are clobbered also when control continues at the gc_required 960 // All registers are clobbered also when control continues at the gc_required
961 // label. 961 // label.
962 void Allocate(int object_size, Register result, Register scratch1, 962 void Allocate(int object_size, Register result, Register scratch1,
963 Register scratch2, Label* gc_required, AllocationFlags flags); 963 Register scratch2, Label* gc_required, AllocationFlags flags);
964 964
965 void Allocate(Register object_size, Register result, Register result_end, 965 void Allocate(Register object_size, Register result, Register result_end,
966 Register scratch, Label* gc_required, AllocationFlags flags); 966 Register scratch, Label* gc_required, AllocationFlags flags);
967 967
968 // FastAllocate is right now only used for folded allocations. It just
969 // increments the top pointer without checking against limit. This can only
970 // be done if it was proved earlier that the allocation will succeed.
971 void FastAllocate(int object_size, Register result, Register scratch1,
972 Register scratch2, AllocationFlags flags);
973
974 void FastAllocate(Register object_size, Register result, Register result_end,
975 Register scratch, AllocationFlags flags);
976
968 void AllocateTwoByteString(Register result, Register length, 977 void AllocateTwoByteString(Register result, Register length,
969 Register scratch1, Register scratch2, 978 Register scratch1, Register scratch2,
970 Register scratch3, Label* gc_required); 979 Register scratch3, Label* gc_required);
971 void AllocateOneByteString(Register result, Register length, 980 void AllocateOneByteString(Register result, Register length,
972 Register scratch1, Register scratch2, 981 Register scratch1, Register scratch2,
973 Register scratch3, Label* gc_required); 982 Register scratch3, Label* gc_required);
974 void AllocateTwoByteConsString(Register result, Register length, 983 void AllocateTwoByteConsString(Register result, Register length,
975 Register scratch1, Register scratch2, 984 Register scratch1, Register scratch2,
976 Label* gc_required); 985 Label* gc_required);
977 void AllocateOneByteConsString(Register result, Register length, 986 void AllocateOneByteConsString(Register result, Register length,
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
1888 #define ACCESS_MASM(masm) \ 1897 #define ACCESS_MASM(masm) \
1889 masm->stop(__FILE_LINE__); \ 1898 masm->stop(__FILE_LINE__); \
1890 masm-> 1899 masm->
1891 #else 1900 #else
1892 #define ACCESS_MASM(masm) masm-> 1901 #define ACCESS_MASM(masm) masm->
1893 #endif 1902 #endif
1894 } // namespace internal 1903 } // namespace internal
1895 } // namespace v8 1904 } // namespace v8
1896 1905
1897 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ 1906 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-s390.cc ('k') | src/s390/macro-assembler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698