| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_S390 | 5 #if V8_TARGET_ARCH_S390 |
| 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/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 if (constant_stack_parameter_count == 0) { | 45 if (constant_stack_parameter_count == 0) { |
| 46 descriptor->Initialize(deopt_handler, constant_stack_parameter_count, | 46 descriptor->Initialize(deopt_handler, constant_stack_parameter_count, |
| 47 JS_FUNCTION_STUB_MODE); | 47 JS_FUNCTION_STUB_MODE); |
| 48 } else { | 48 } else { |
| 49 descriptor->Initialize(r2, deopt_handler, constant_stack_parameter_count, | 49 descriptor->Initialize(r2, deopt_handler, constant_stack_parameter_count, |
| 50 JS_FUNCTION_STUB_MODE); | 50 JS_FUNCTION_STUB_MODE); |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
| 54 void ArrayNoArgumentConstructorStub::InitializeDescriptor( | |
| 55 CodeStubDescriptor* descriptor) { | |
| 56 InitializeArrayConstructorDescriptor(isolate(), descriptor, 0); | |
| 57 } | |
| 58 | |
| 59 void ArraySingleArgumentConstructorStub::InitializeDescriptor( | 54 void ArraySingleArgumentConstructorStub::InitializeDescriptor( |
| 60 CodeStubDescriptor* descriptor) { | 55 CodeStubDescriptor* descriptor) { |
| 61 InitializeArrayConstructorDescriptor(isolate(), descriptor, 1); | 56 InitializeArrayConstructorDescriptor(isolate(), descriptor, 1); |
| 62 } | 57 } |
| 63 | 58 |
| 64 void ArrayNArgumentsConstructorStub::InitializeDescriptor( | 59 void ArrayNArgumentsConstructorStub::InitializeDescriptor( |
| 65 CodeStubDescriptor* descriptor) { | 60 CodeStubDescriptor* descriptor) { |
| 66 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1); | 61 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1); |
| 67 } | 62 } |
| 68 | 63 |
| (...skipping 5655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5724 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, | 5719 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, |
| 5725 kStackUnwindSpace, NULL, return_value_operand, NULL); | 5720 kStackUnwindSpace, NULL, return_value_operand, NULL); |
| 5726 } | 5721 } |
| 5727 | 5722 |
| 5728 #undef __ | 5723 #undef __ |
| 5729 | 5724 |
| 5730 } // namespace internal | 5725 } // namespace internal |
| 5731 } // namespace v8 | 5726 } // namespace v8 |
| 5732 | 5727 |
| 5733 #endif // V8_TARGET_ARCH_S390 | 5728 #endif // V8_TARGET_ARCH_S390 |
| OLD | NEW |