| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_REGEXP_MACRO_ASSEMBLER_S390_H_ | 5 #ifndef V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_ |
| 6 #define V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_ | 6 #define V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_ |
| 7 | 7 |
| 8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" |
| 9 #include "src/regexp/regexp-macro-assembler.h" | 9 #include "src/regexp/regexp-macro-assembler.h" |
| 10 #include "src/s390/assembler-s390.h" | 10 #include "src/s390/assembler-s390.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 // Above the frame pointer - Stored registers and stack passed parameters. | 91 // Above the frame pointer - Stored registers and stack passed parameters. |
| 92 // Register 6-15(sp) | 92 // Register 6-15(sp) |
| 93 static const int kStoredRegisters = kFramePointer; | 93 static const int kStoredRegisters = kFramePointer; |
| 94 static const int kCallerFrame = | 94 static const int kCallerFrame = |
| 95 kStoredRegisters + kCalleeRegisterSaveAreaSize; | 95 kStoredRegisters + kCalleeRegisterSaveAreaSize; |
| 96 // Stack parameters placed by caller. | 96 // Stack parameters placed by caller. |
| 97 static const int kCaptureArraySize = kCallerFrame; | 97 static const int kCaptureArraySize = kCallerFrame; |
| 98 static const int kStackAreaBase = kCallerFrame + kPointerSize; | 98 static const int kStackAreaBase = kCallerFrame + kPointerSize; |
| 99 // kDirectCall again | 99 // kDirectCall again |
| 100 static const int kSecondaryReturnAddress = kStackAreaBase + 2 * kPointerSize; | 100 static const int kIsolate = kStackAreaBase + 2 * kPointerSize; |
| 101 static const int kIsolate = kSecondaryReturnAddress + kPointerSize; | |
| 102 | 101 |
| 103 // Below the frame pointer. | 102 // Below the frame pointer. |
| 104 // Register parameters stored by setup code. | 103 // Register parameters stored by setup code. |
| 105 static const int kDirectCall = kFramePointer - kPointerSize; | 104 static const int kDirectCall = kFramePointer - kPointerSize; |
| 106 static const int kStackHighEnd = kDirectCall - kPointerSize; | 105 static const int kStackHighEnd = kDirectCall - kPointerSize; |
| 107 static const int kNumOutputRegisters = kStackHighEnd - kPointerSize; | 106 static const int kNumOutputRegisters = kStackHighEnd - kPointerSize; |
| 108 static const int kRegisterOutput = kNumOutputRegisters - kPointerSize; | 107 static const int kRegisterOutput = kNumOutputRegisters - kPointerSize; |
| 109 static const int kInputEnd = kRegisterOutput - kPointerSize; | 108 static const int kInputEnd = kRegisterOutput - kPointerSize; |
| 110 static const int kInputStart = kInputEnd - kPointerSize; | 109 static const int kInputStart = kInputEnd - kPointerSize; |
| 111 static const int kStartIndex = kInputStart - kPointerSize; | 110 static const int kStartIndex = kInputStart - kPointerSize; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 205 |
| 207 // Set of non-volatile registers saved/restored by generated regexp code. | 206 // Set of non-volatile registers saved/restored by generated regexp code. |
| 208 const RegList kRegExpCalleeSaved = | 207 const RegList kRegExpCalleeSaved = |
| 209 1 << 6 | 1 << 7 | 1 << 8 | 1 << 9 | 1 << 10 | 1 << 11 | 1 << 13; | 208 1 << 6 | 1 << 7 | 1 << 8 | 1 << 9 | 1 << 10 | 1 << 11 | 1 << 13; |
| 210 | 209 |
| 211 #endif // V8_INTERPRETED_REGEXP | 210 #endif // V8_INTERPRETED_REGEXP |
| 212 } // namespace internal | 211 } // namespace internal |
| 213 } // namespace v8 | 212 } // namespace v8 |
| 214 | 213 |
| 215 #endif // V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_ | 214 #endif // V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_ |
| OLD | NEW |