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

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

Issue 2827243005: Revert of [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Created 3 years, 8 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/regexp/regexp-macro-assembler.cc ('k') | src/regexp/s390/regexp-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 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
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 kIsolate = kStackAreaBase + 2 * kPointerSize; 100 static const int kSecondaryReturnAddress = kStackAreaBase + 2 * kPointerSize;
101 static const int kIsolate = kSecondaryReturnAddress + kPointerSize;
101 102
102 // Below the frame pointer. 103 // Below the frame pointer.
103 // Register parameters stored by setup code. 104 // Register parameters stored by setup code.
104 static const int kDirectCall = kFramePointer - kPointerSize; 105 static const int kDirectCall = kFramePointer - kPointerSize;
105 static const int kStackHighEnd = kDirectCall - kPointerSize; 106 static const int kStackHighEnd = kDirectCall - kPointerSize;
106 static const int kNumOutputRegisters = kStackHighEnd - kPointerSize; 107 static const int kNumOutputRegisters = kStackHighEnd - kPointerSize;
107 static const int kRegisterOutput = kNumOutputRegisters - kPointerSize; 108 static const int kRegisterOutput = kNumOutputRegisters - kPointerSize;
108 static const int kInputEnd = kRegisterOutput - kPointerSize; 109 static const int kInputEnd = kRegisterOutput - kPointerSize;
109 static const int kInputStart = kInputEnd - kPointerSize; 110 static const int kInputStart = kInputEnd - kPointerSize;
110 static const int kStartIndex = kInputStart - kPointerSize; 111 static const int kStartIndex = kInputStart - kPointerSize;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 206
206 // Set of non-volatile registers saved/restored by generated regexp code. 207 // Set of non-volatile registers saved/restored by generated regexp code.
207 const RegList kRegExpCalleeSaved = 208 const RegList kRegExpCalleeSaved =
208 1 << 6 | 1 << 7 | 1 << 8 | 1 << 9 | 1 << 10 | 1 << 11 | 1 << 13; 209 1 << 6 | 1 << 7 | 1 << 8 | 1 << 9 | 1 << 10 | 1 << 11 | 1 << 13;
209 210
210 #endif // V8_INTERPRETED_REGEXP 211 #endif // V8_INTERPRETED_REGEXP
211 } // namespace internal 212 } // namespace internal
212 } // namespace v8 213 } // namespace v8
213 214
214 #endif // V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_ 215 #endif // V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_
OLDNEW
« no previous file with comments | « src/regexp/regexp-macro-assembler.cc ('k') | src/regexp/s390/regexp-macro-assembler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698