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

Side by Side Diff: src/regexp/mips/regexp-macro-assembler-mips.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/mips/assembler-mips.h" 9 #include "src/mips/assembler-mips.h"
10 #include "src/regexp/regexp-macro-assembler.h" 10 #include "src/regexp/regexp-macro-assembler.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 private: 97 private:
98 // Offsets from frame_pointer() of function parameters and stored registers. 98 // Offsets from frame_pointer() of function parameters and stored registers.
99 static const int kFramePointer = 0; 99 static const int kFramePointer = 0;
100 100
101 // Above the frame pointer - Stored registers and stack passed parameters. 101 // Above the frame pointer - Stored registers and stack passed parameters.
102 // Registers s0 to s7, fp, and ra. 102 // Registers s0 to s7, fp, and ra.
103 static const int kStoredRegisters = kFramePointer; 103 static const int kStoredRegisters = kFramePointer;
104 // Return address (stored from link register, read into pc on return). 104 // Return address (stored from link register, read into pc on return).
105 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize; 105 static const int kReturnAddress = kStoredRegisters + 9 * kPointerSize;
106 static const int kSecondaryReturnAddress = kReturnAddress + kPointerSize;
107 // Stack frame header. 106 // Stack frame header.
108 static const int kStackFrameHeader = kReturnAddress + kPointerSize; 107 static const int kStackFrameHeader = kReturnAddress;
109 // Stack parameters placed by caller. 108 // Stack parameters placed by caller.
110 static const int kRegisterOutput = kStackFrameHeader + 20; 109 static const int kRegisterOutput = kStackFrameHeader + 20;
111 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; 110 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize;
112 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; 111 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize;
113 static const int kDirectCall = kStackHighEnd + kPointerSize; 112 static const int kDirectCall = kStackHighEnd + kPointerSize;
114 static const int kIsolate = kDirectCall + kPointerSize; 113 static const int kIsolate = kDirectCall + 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 kInputEnd = kFramePointer - kPointerSize; 117 static const int kInputEnd = kFramePointer - kPointerSize;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 Label internal_failure_label_; 218 Label internal_failure_label_;
220 }; 219 };
221 220
222 #endif // V8_INTERPRETED_REGEXP 221 #endif // V8_INTERPRETED_REGEXP
223 222
224 223
225 } // namespace internal 224 } // namespace internal
226 } // namespace v8 225 } // namespace v8
227 226
228 #endif // V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 227 #endif // V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/regexp/ia32/regexp-macro-assembler-ia32.cc ('k') | src/regexp/mips/regexp-macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698