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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 4730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4741 | 4741 |
4742 void CallApiFunctionStub::Generate(MacroAssembler* masm) { | 4742 void CallApiFunctionStub::Generate(MacroAssembler* masm) { |
4743 bool call_data_undefined = this->call_data_undefined(); | 4743 bool call_data_undefined = this->call_data_undefined(); |
4744 CallApiFunctionStubHelper(masm, ParameterCount(r3), false, | 4744 CallApiFunctionStubHelper(masm, ParameterCount(r3), false, |
4745 call_data_undefined); | 4745 call_data_undefined); |
4746 } | 4746 } |
4747 | 4747 |
4748 | 4748 |
4749 void CallApiAccessorStub::Generate(MacroAssembler* masm) { | 4749 void CallApiAccessorStub::Generate(MacroAssembler* masm) { |
4750 bool is_store = this->is_store(); | 4750 bool is_store = this->is_store(); |
4751 int argc = is_store ? 1 : 0; | 4751 int argc = this->argc(); |
4752 bool call_data_undefined = this->call_data_undefined(); | 4752 bool call_data_undefined = this->call_data_undefined(); |
4753 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, | 4753 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, |
4754 call_data_undefined); | 4754 call_data_undefined); |
4755 } | 4755 } |
4756 | 4756 |
4757 | 4757 |
4758 void CallApiGetterStub::Generate(MacroAssembler* masm) { | 4758 void CallApiGetterStub::Generate(MacroAssembler* masm) { |
4759 // ----------- S t a t e ------------- | 4759 // ----------- S t a t e ------------- |
4760 // -- sp[0] : name | 4760 // -- sp[0] : name |
4761 // -- sp[4 - kArgsLength*4] : PropertyCallbackArguments object | 4761 // -- sp[4 - kArgsLength*4] : PropertyCallbackArguments object |
(...skipping 24 matching lines...) Expand all Loading... |
4786 kStackUnwindSpace, NULL, | 4786 kStackUnwindSpace, NULL, |
4787 MemOperand(fp, 6 * kPointerSize), NULL); | 4787 MemOperand(fp, 6 * kPointerSize), NULL); |
4788 } | 4788 } |
4789 | 4789 |
4790 | 4790 |
4791 #undef __ | 4791 #undef __ |
4792 | 4792 |
4793 } } // namespace v8::internal | 4793 } } // namespace v8::internal |
4794 | 4794 |
4795 #endif // V8_TARGET_ARCH_ARM | 4795 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |