| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 CodeStubDescriptor* descriptor) { | 71 CodeStubDescriptor* descriptor) { |
| 72 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1); | 72 InitializeArrayConstructorDescriptor(isolate(), descriptor, -1); |
| 73 } | 73 } |
| 74 | 74 |
| 75 | 75 |
| 76 void InternalArrayNoArgumentConstructorStub::InitializeDescriptor( | 76 void InternalArrayNoArgumentConstructorStub::InitializeDescriptor( |
| 77 CodeStubDescriptor* descriptor) { | 77 CodeStubDescriptor* descriptor) { |
| 78 InitializeInternalArrayConstructorDescriptor(isolate(), descriptor, 0); | 78 InitializeInternalArrayConstructorDescriptor(isolate(), descriptor, 0); |
| 79 } | 79 } |
| 80 | 80 |
| 81 void FastArrayPushStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
| 82 Address deopt_handler = Runtime::FunctionForId(Runtime::kArrayPush)->entry; |
| 83 descriptor->Initialize(r0, deopt_handler, -1, JS_FUNCTION_STUB_MODE); |
| 84 } |
| 81 | 85 |
| 82 void InternalArraySingleArgumentConstructorStub::InitializeDescriptor( | 86 void InternalArraySingleArgumentConstructorStub::InitializeDescriptor( |
| 83 CodeStubDescriptor* descriptor) { | 87 CodeStubDescriptor* descriptor) { |
| 84 InitializeInternalArrayConstructorDescriptor(isolate(), descriptor, 1); | 88 InitializeInternalArrayConstructorDescriptor(isolate(), descriptor, 1); |
| 85 } | 89 } |
| 86 | 90 |
| 87 | 91 |
| 88 void InternalArrayNArgumentsConstructorStub::InitializeDescriptor( | 92 void InternalArrayNArgumentsConstructorStub::InitializeDescriptor( |
| 89 CodeStubDescriptor* descriptor) { | 93 CodeStubDescriptor* descriptor) { |
| 90 InitializeInternalArrayConstructorDescriptor(isolate(), descriptor, -1); | 94 InitializeInternalArrayConstructorDescriptor(isolate(), descriptor, -1); |
| (...skipping 5471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5562 kStackUnwindSpace, NULL, return_value_operand, NULL); | 5566 kStackUnwindSpace, NULL, return_value_operand, NULL); |
| 5563 } | 5567 } |
| 5564 | 5568 |
| 5565 | 5569 |
| 5566 #undef __ | 5570 #undef __ |
| 5567 | 5571 |
| 5568 } // namespace internal | 5572 } // namespace internal |
| 5569 } // namespace v8 | 5573 } // namespace v8 |
| 5570 | 5574 |
| 5571 #endif // V8_TARGET_ARCH_ARM | 5575 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |