| 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 #if V8_TARGET_ARCH_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
| 6 | 6 |
| 7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
| 8 #include "src/api-arguments.h" | 8 #include "src/api-arguments.h" |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 if (constant_stack_parameter_count == 0) { | 36 if (constant_stack_parameter_count == 0) { |
| 37 descriptor->Initialize(deopt_handler, constant_stack_parameter_count, | 37 descriptor->Initialize(deopt_handler, constant_stack_parameter_count, |
| 38 JS_FUNCTION_STUB_MODE); | 38 JS_FUNCTION_STUB_MODE); |
| 39 } else { | 39 } else { |
| 40 descriptor->Initialize(x0, deopt_handler, constant_stack_parameter_count, | 40 descriptor->Initialize(x0, deopt_handler, constant_stack_parameter_count, |
| 41 JS_FUNCTION_STUB_MODE); | 41 JS_FUNCTION_STUB_MODE); |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 | 45 |
| 46 void ArrayNoArgumentConstructorStub::InitializeDescriptor( | |
| 47 CodeStubDescriptor* descriptor) { | |
| 48 InitializeArrayConstructorDescriptor(isolate(), descriptor, 0); | |
| 49 } | |
| 50 | |
| 51 | |
| 52 void ArraySingleArgumentConstructorStub::InitializeDescriptor( | 46 void ArraySingleArgumentConstructorStub::InitializeDescriptor( |
| 53 CodeStubDescriptor* descriptor) { | 47 CodeStubDescriptor* descriptor) { |
| 54 InitializeArrayConstructorDescriptor(isolate(), descriptor, 1); | 48 InitializeArrayConstructorDescriptor(isolate(), descriptor, 1); |
| 55 } | 49 } |
| 56 | 50 |
| 57 | 51 |
| 58 void ArrayNArgumentsConstructorStub::InitializeDescriptor( | 52 void ArrayNArgumentsConstructorStub::InitializeDescriptor( |
| 59 CodeStubDescriptor* descriptor) { | 53 CodeStubDescriptor* descriptor) { |
| 60 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1); | 54 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1); |
| 61 } | 55 } |
| (...skipping 5898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5960 kStackUnwindSpace, NULL, spill_offset, | 5954 kStackUnwindSpace, NULL, spill_offset, |
| 5961 return_value_operand, NULL); | 5955 return_value_operand, NULL); |
| 5962 } | 5956 } |
| 5963 | 5957 |
| 5964 #undef __ | 5958 #undef __ |
| 5965 | 5959 |
| 5966 } // namespace internal | 5960 } // namespace internal |
| 5967 } // namespace v8 | 5961 } // namespace v8 |
| 5968 | 5962 |
| 5969 #endif // V8_TARGET_ARCH_ARM64 | 5963 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |