| OLD | NEW |
| 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 "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
| 8 | 8 |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2448 | 2448 |
| 2449 // Do the runtime call to allocate the arguments object. | 2449 // Do the runtime call to allocate the arguments object. |
| 2450 __ Bind(&runtime); | 2450 __ Bind(&runtime); |
| 2451 __ Push(function, params, param_count_smi); | 2451 __ Push(function, params, param_count_smi); |
| 2452 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1); | 2452 __ TailCallRuntime(Runtime::kNewStrictArguments, 3, 1); |
| 2453 } | 2453 } |
| 2454 | 2454 |
| 2455 | 2455 |
| 2456 void RegExpExecStub::Generate(MacroAssembler* masm) { | 2456 void RegExpExecStub::Generate(MacroAssembler* masm) { |
| 2457 #ifdef V8_INTERPRETED_REGEXP | 2457 #ifdef V8_INTERPRETED_REGEXP |
| 2458 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); | 2458 __ TailCallRuntime(Runtime::kRegExpExecRT, 4, 1); |
| 2459 #else // V8_INTERPRETED_REGEXP | 2459 #else // V8_INTERPRETED_REGEXP |
| 2460 | 2460 |
| 2461 // Stack frame on entry. | 2461 // Stack frame on entry. |
| 2462 // jssp[0]: last_match_info (expected JSArray) | 2462 // jssp[0]: last_match_info (expected JSArray) |
| 2463 // jssp[8]: previous index | 2463 // jssp[8]: previous index |
| 2464 // jssp[16]: subject string | 2464 // jssp[16]: subject string |
| 2465 // jssp[24]: JSRegExp object | 2465 // jssp[24]: JSRegExp object |
| 2466 Label runtime; | 2466 Label runtime; |
| 2467 | 2467 |
| 2468 // Use of registers for this function. | 2468 // Use of registers for this function. |
| (...skipping 3000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5469 MemOperand(fp, 6 * kPointerSize), | 5469 MemOperand(fp, 6 * kPointerSize), |
| 5470 NULL); | 5470 NULL); |
| 5471 } | 5471 } |
| 5472 | 5472 |
| 5473 | 5473 |
| 5474 #undef __ | 5474 #undef __ |
| 5475 | 5475 |
| 5476 } } // namespace v8::internal | 5476 } } // namespace v8::internal |
| 5477 | 5477 |
| 5478 #endif // V8_TARGET_ARCH_ARM64 | 5478 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |