| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 2641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2652 | 2652 |
| 2653 // Do the runtime call to allocate the arguments object. | 2653 // Do the runtime call to allocate the arguments object. |
| 2654 __ Bind(&runtime); | 2654 __ Bind(&runtime); |
| 2655 __ Push(function, params, param_count_smi); | 2655 __ Push(function, params, param_count_smi); |
| 2656 __ TailCallRuntime(Runtime::kNewStrictArgumentsFast, 3, 1); | 2656 __ TailCallRuntime(Runtime::kNewStrictArgumentsFast, 3, 1); |
| 2657 } | 2657 } |
| 2658 | 2658 |
| 2659 | 2659 |
| 2660 void RegExpExecStub::Generate(MacroAssembler* masm) { | 2660 void RegExpExecStub::Generate(MacroAssembler* masm) { |
| 2661 #ifdef V8_INTERPRETED_REGEXP | 2661 #ifdef V8_INTERPRETED_REGEXP |
| 2662 __ TailCallRuntime(Runtime::kRegExpExec, 4, 1); | 2662 __ TailCallRuntime(Runtime::kHiddenRegExpExec, 4, 1); |
| 2663 #else // V8_INTERPRETED_REGEXP | 2663 #else // V8_INTERPRETED_REGEXP |
| 2664 | 2664 |
| 2665 // Stack frame on entry. | 2665 // Stack frame on entry. |
| 2666 // jssp[0]: last_match_info (expected JSArray) | 2666 // jssp[0]: last_match_info (expected JSArray) |
| 2667 // jssp[8]: previous index | 2667 // jssp[8]: previous index |
| 2668 // jssp[16]: subject string | 2668 // jssp[16]: subject string |
| 2669 // jssp[24]: JSRegExp object | 2669 // jssp[24]: JSRegExp object |
| 2670 Label runtime; | 2670 Label runtime; |
| 2671 | 2671 |
| 2672 // Use of registers for this function. | 2672 // Use of registers for this function. |
| (...skipping 3053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5726 MemOperand(fp, 6 * kPointerSize), | 5726 MemOperand(fp, 6 * kPointerSize), |
| 5727 NULL); | 5727 NULL); |
| 5728 } | 5728 } |
| 5729 | 5729 |
| 5730 | 5730 |
| 5731 #undef __ | 5731 #undef __ |
| 5732 | 5732 |
| 5733 } } // namespace v8::internal | 5733 } } // namespace v8::internal |
| 5734 | 5734 |
| 5735 #endif // V8_TARGET_ARCH_ARM64 | 5735 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |