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

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

Issue 3357023: [Isolates] Pass current isolate address to the regexp native functions (Closed)
Patch Set: Made helper function private(ARM) Created 10 years, 3 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/arm/macro-assembler-arm.cc ('k') | src/arm/regexp-macro-assembler-arm.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // Above the frame pointer - Stored registers and stack passed parameters. 119 // Above the frame pointer - Stored registers and stack passed parameters.
120 // Register 4..11. 120 // Register 4..11.
121 static const int kStoredRegisters = kFramePointer; 121 static const int kStoredRegisters = kFramePointer;
122 // Return address (stored from link register, read into pc on return). 122 // Return address (stored from link register, read into pc on return).
123 static const int kReturnAddress = kStoredRegisters + 8 * kPointerSize; 123 static const int kReturnAddress = kStoredRegisters + 8 * kPointerSize;
124 // Stack parameters placed by caller. 124 // Stack parameters placed by caller.
125 static const int kRegisterOutput = kReturnAddress + kPointerSize; 125 static const int kRegisterOutput = kReturnAddress + kPointerSize;
126 static const int kStackHighEnd = kRegisterOutput + kPointerSize; 126 static const int kStackHighEnd = kRegisterOutput + kPointerSize;
127 static const int kDirectCall = kStackHighEnd + kPointerSize; 127 static const int kDirectCall = kStackHighEnd + kPointerSize;
128 static const int kIsolate = kDirectCall + kPointerSize;
128 129
129 // Below the frame pointer. 130 // Below the frame pointer.
130 // Register parameters stored by setup code. 131 // Register parameters stored by setup code.
131 static const int kInputEnd = kFramePointer - kPointerSize; 132 static const int kInputEnd = kFramePointer - kPointerSize;
132 static const int kInputStart = kInputEnd - kPointerSize; 133 static const int kInputStart = kInputEnd - kPointerSize;
133 static const int kStartIndex = kInputStart - kPointerSize; 134 static const int kStartIndex = kInputStart - kPointerSize;
134 static const int kInputString = kStartIndex - kPointerSize; 135 static const int kInputString = kStartIndex - kPointerSize;
135 // When adding local variables remember to push space for them in 136 // When adding local variables remember to push space for them in
136 // the frame in GetCode. 137 // the frame in GetCode.
137 static const int kInputStartMinusOne = kInputString - kPointerSize; 138 static const int kInputStartMinusOne = kInputString - kPointerSize;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 Label check_preempt_label_; 242 Label check_preempt_label_;
242 Label stack_overflow_label_; 243 Label stack_overflow_label_;
243 }; 244 };
244 245
245 #endif // V8_INTERPRETED_REGEXP 246 #endif // V8_INTERPRETED_REGEXP
246 247
247 248
248 }} // namespace v8::internal 249 }} // namespace v8::internal
249 250
250 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ 251 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm/regexp-macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698