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 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 Register scratch1, Register scratch2, | 1025 Register scratch1, Register scratch2, |
1026 Register heap_number_map, | 1026 Register heap_number_map, |
1027 Label* gc_required); | 1027 Label* gc_required); |
1028 | 1028 |
1029 // Allocate and initialize a JSValue wrapper with the specified {constructor} | 1029 // Allocate and initialize a JSValue wrapper with the specified {constructor} |
1030 // and {value}. | 1030 // and {value}. |
1031 void AllocateJSValue(Register result, Register constructor, Register value, | 1031 void AllocateJSValue(Register result, Register constructor, Register value, |
1032 Register scratch1, Register scratch2, | 1032 Register scratch1, Register scratch2, |
1033 Label* gc_required); | 1033 Label* gc_required); |
1034 | 1034 |
1035 // Copies a number of bytes from src to dst. All registers are clobbered. On | |
1036 // exit src and dst will point to the place just after where the last byte was | |
1037 // read or written and length will be zero. | |
1038 void CopyBytes(Register src, Register dst, Register length, Register scratch); | |
1039 | |
1040 // Initialize fields with filler values. |count| fields starting at | 1035 // Initialize fields with filler values. |count| fields starting at |
1041 // |current_address| are overwritten with the value in |filler|. At the end | 1036 // |current_address| are overwritten with the value in |filler|. At the end |
1042 // the loop, |current_address| points at the next uninitialized field. | 1037 // the loop, |current_address| points at the next uninitialized field. |
1043 // |count| is assumed to be non-zero. | 1038 // |count| is assumed to be non-zero. |
1044 void InitializeNFieldsWithFiller(Register current_address, Register count, | 1039 void InitializeNFieldsWithFiller(Register current_address, Register count, |
1045 Register filler); | 1040 Register filler); |
1046 | 1041 |
1047 // Initialize fields with filler values. Fields starting at |current_address| | 1042 // Initialize fields with filler values. Fields starting at |current_address| |
1048 // not including |end_address| are overwritten with the value in |filler|. At | 1043 // not including |end_address| are overwritten with the value in |filler|. At |
1049 // the end the loop, |current_address| takes the value of |end_address|. | 1044 // the end the loop, |current_address| takes the value of |end_address|. |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1879 inline MemOperand NativeContextMemOperand() { | 1874 inline MemOperand NativeContextMemOperand() { |
1880 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1875 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1881 } | 1876 } |
1882 | 1877 |
1883 #define ACCESS_MASM(masm) masm-> | 1878 #define ACCESS_MASM(masm) masm-> |
1884 | 1879 |
1885 } // namespace internal | 1880 } // namespace internal |
1886 } // namespace v8 | 1881 } // namespace v8 |
1887 | 1882 |
1888 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1883 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
OLD | NEW |