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

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

Issue 2752143003: [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Fix non-sim arm64 and mips builds 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 #include "src/mips64/assembler-mips64.h" 9 #include "src/mips64/assembler-mips64.h"
10 #include "src/regexp/regexp-macro-assembler.h" 10 #include "src/regexp/regexp-macro-assembler.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 static const int kFramePointer = 0; 100 static const int kFramePointer = 0;
101 101
102 // Above the frame pointer - Stored registers and stack passed parameters. 102 // Above the frame pointer - Stored registers and stack passed parameters.
103 // Registers s0 to s7, fp, and ra. 103 // Registers s0 to s7, fp, and ra.
104 static const int kStoredRegisters = kFramePointer; 104 static const int kStoredRegisters = kFramePointer;
105 // Return address (stored from link register, read into pc on return). 105 // Return address (stored from link register, read into pc on return).
106 106
107 // TODO(plind): This 9 - is 8 s-regs (s0..s7) plus fp. 107 // TODO(plind): This 9 - is 8 s-regs (s0..s7) plus fp.
108 108
109 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize; 109 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize;
110 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize;
111 // Stack frame header. 110 // Stack frame header.
112 static const int kStackFrameHeader = kSecondaryReturnAddress; 111 static const int kStackFrameHeader = kReturnAddress;
113 // Stack parameters placed by caller. 112 // Stack parameters placed by caller.
114 static const int kIsolate = kStackFrameHeader + kPointerSize; 113 static const int kIsolate = kStackFrameHeader + kPointerSize;
115 114
116 // Below the frame pointer. 115 // Below the frame pointer.
117 // Register parameters stored by setup code. 116 // Register parameters stored by setup code.
118 static const int kDirectCall = kFramePointer - kPointerSize; 117 static const int kDirectCall = kFramePointer - kPointerSize;
119 static const int kStackHighEnd = kDirectCall - kPointerSize; 118 static const int kStackHighEnd = kDirectCall - kPointerSize;
120 static const int kNumOutputRegisters = kStackHighEnd - kPointerSize; 119 static const int kNumOutputRegisters = kStackHighEnd - kPointerSize;
121 static const int kRegisterOutput = kNumOutputRegisters - kPointerSize; 120 static const int kRegisterOutput = kNumOutputRegisters - kPointerSize;
122 static const int kInputEnd = kRegisterOutput - kPointerSize; 121 static const int kInputEnd = kRegisterOutput - kPointerSize;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 Label internal_failure_label_; 222 Label internal_failure_label_;
224 }; 223 };
225 224
226 #endif // V8_INTERPRETED_REGEXP 225 #endif // V8_INTERPRETED_REGEXP
227 226
228 227
229 } // namespace internal 228 } // namespace internal
230 } // namespace v8 229 } // namespace v8
231 230
232 #endif // V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 231 #endif // V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/regexp/mips/regexp-macro-assembler-mips.cc ('k') | src/regexp/mips64/regexp-macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698