OLD | NEW |
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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 Label* gc_required); | 976 Label* gc_required); |
977 void AllocateOneByteSlicedString(Register result, Register length, | 977 void AllocateOneByteSlicedString(Register result, Register length, |
978 Register scratch1, Register scratch2, | 978 Register scratch1, Register scratch2, |
979 Label* gc_required); | 979 Label* gc_required); |
980 | 980 |
981 // Allocates a heap number or jumps to the gc_required label if the young | 981 // Allocates a heap number or jumps to the gc_required label if the young |
982 // space is full and a scavenge is needed. All registers are clobbered also | 982 // space is full and a scavenge is needed. All registers are clobbered also |
983 // when control continues at the gc_required label. | 983 // when control continues at the gc_required label. |
984 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2, | 984 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2, |
985 Register heap_number_map, Label* gc_required, | 985 Register heap_number_map, Label* gc_required, |
986 TaggingMode tagging_mode = TAG_RESULT, | |
987 MutableMode mode = IMMUTABLE); | 986 MutableMode mode = IMMUTABLE); |
988 void AllocateHeapNumberWithValue(Register result, DoubleRegister value, | 987 void AllocateHeapNumberWithValue(Register result, DoubleRegister value, |
989 Register scratch1, Register scratch2, | 988 Register scratch1, Register scratch2, |
990 Register heap_number_map, | 989 Register heap_number_map, |
991 Label* gc_required); | 990 Label* gc_required); |
992 | 991 |
993 // Allocate and initialize a JSValue wrapper with the specified {constructor} | 992 // Allocate and initialize a JSValue wrapper with the specified {constructor} |
994 // and {value}. | 993 // and {value}. |
995 void AllocateJSValue(Register result, Register constructor, Register value, | 994 void AllocateJSValue(Register result, Register constructor, Register value, |
996 Register scratch1, Register scratch2, | 995 Register scratch1, Register scratch2, |
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1883 #define ACCESS_MASM(masm) \ | 1882 #define ACCESS_MASM(masm) \ |
1884 masm->stop(__FILE_LINE__); \ | 1883 masm->stop(__FILE_LINE__); \ |
1885 masm-> | 1884 masm-> |
1886 #else | 1885 #else |
1887 #define ACCESS_MASM(masm) masm-> | 1886 #define ACCESS_MASM(masm) masm-> |
1888 #endif | 1887 #endif |
1889 } // namespace internal | 1888 } // namespace internal |
1890 } // namespace v8 | 1889 } // namespace v8 |
1891 | 1890 |
1892 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1891 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
OLD | NEW |