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

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

Issue 2832193002: 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
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;
106 // Stack frame header. 107 // Stack frame header.
107 static const int kStackFrameHeader = kReturnAddress; 108 static const int kStackFrameHeader = kReturnAddress + kPointerSize;
108 // Stack parameters placed by caller. 109 // Stack parameters placed by caller.
109 static const int kRegisterOutput = kStackFrameHeader + 20; 110 static const int kRegisterOutput = kStackFrameHeader + 20;
110 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; 111 static const int kNumOutputRegisters = kRegisterOutput + kPointerSize;
111 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; 112 static const int kStackHighEnd = kNumOutputRegisters + kPointerSize;
112 static const int kDirectCall = kStackHighEnd + kPointerSize; 113 static const int kDirectCall = kStackHighEnd + kPointerSize;
113 static const int kIsolate = kDirectCall + kPointerSize; 114 static const int kIsolate = kDirectCall + kPointerSize;
114 115
115 // Below the frame pointer. 116 // Below the frame pointer.
116 // Register parameters stored by setup code. 117 // Register parameters stored by setup code.
117 static const int kInputEnd = kFramePointer - kPointerSize; 118 static const int kInputEnd = kFramePointer - kPointerSize;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 Label internal_failure_label_; 219 Label internal_failure_label_;
219 }; 220 };
220 221
221 #endif // V8_INTERPRETED_REGEXP 222 #endif // V8_INTERPRETED_REGEXP
222 223
223 224
224 } // namespace internal 225 } // namespace internal
225 } // namespace v8 226 } // namespace v8
226 227
227 #endif // V8_REGEXP_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 228 #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