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

Side by Side Diff: src/arm64/simulator-arm64.cc

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/arm64/simulator-arm64.h ('k') | src/bailout-reason.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #include <stdlib.h> 5 #include <stdlib.h>
6 #include <cmath> 6 #include <cmath>
7 #include <cstdarg> 7 #include <cstdarg>
8 8
9 #if V8_TARGET_ARCH_ARM64 9 #if V8_TARGET_ARCH_ARM64
10 10
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 int64_t Simulator::CallRegExp(byte* entry, 202 int64_t Simulator::CallRegExp(byte* entry,
203 String* input, 203 String* input,
204 int64_t start_offset, 204 int64_t start_offset,
205 const byte* input_start, 205 const byte* input_start,
206 const byte* input_end, 206 const byte* input_end,
207 int* output, 207 int* output,
208 int64_t output_size, 208 int64_t output_size,
209 Address stack_base, 209 Address stack_base,
210 int64_t direct_call, 210 int64_t direct_call,
211 void* return_address,
211 Isolate* isolate) { 212 Isolate* isolate) {
212 CallArgument args[] = { 213 CallArgument args[] = {
213 CallArgument(input), 214 CallArgument(input),
214 CallArgument(start_offset), 215 CallArgument(start_offset),
215 CallArgument(input_start), 216 CallArgument(input_start),
216 CallArgument(input_end), 217 CallArgument(input_end),
217 CallArgument(output), 218 CallArgument(output),
218 CallArgument(output_size), 219 CallArgument(output_size),
219 CallArgument(stack_base), 220 CallArgument(stack_base),
220 CallArgument(direct_call), 221 CallArgument(direct_call),
222 CallArgument(return_address),
221 CallArgument(isolate), 223 CallArgument(isolate),
222 CallArgument::End() 224 CallArgument::End()
223 }; 225 };
224 return CallInt64(entry, args); 226 return CallInt64(entry, args);
225 } 227 }
226 228
227 229
228 void Simulator::CheckPCSComplianceAndRun() { 230 void Simulator::CheckPCSComplianceAndRun() {
229 // Adjust JS-based stack limit to C-based stack limit. 231 // Adjust JS-based stack limit to C-based stack limit.
230 isolate_->stack_guard()->AdjustStackLimitForSimulator(); 232 isolate_->stack_guard()->AdjustStackLimitForSimulator();
(...skipping 3954 matching lines...) Expand 10 before | Expand all | Expand 10 after
4185 processor->prev_ = nullptr; 4187 processor->prev_ = nullptr;
4186 processor->next_ = nullptr; 4188 processor->next_ = nullptr;
4187 } 4189 }
4188 4190
4189 #endif // USE_SIMULATOR 4191 #endif // USE_SIMULATOR
4190 4192
4191 } // namespace internal 4193 } // namespace internal
4192 } // namespace v8 4194 } // namespace v8
4193 4195
4194 #endif // V8_TARGET_ARCH_ARM64 4196 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/simulator-arm64.h ('k') | src/bailout-reason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698