| 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
| 8 | 8 |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 5157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5168 | 5168 |
| 5169 void CallApiFunctionStub::Generate(MacroAssembler* masm) { | 5169 void CallApiFunctionStub::Generate(MacroAssembler* masm) { |
| 5170 bool call_data_undefined = this->call_data_undefined(); | 5170 bool call_data_undefined = this->call_data_undefined(); |
| 5171 CallApiFunctionStubHelper(masm, ParameterCount(x3), false, | 5171 CallApiFunctionStubHelper(masm, ParameterCount(x3), false, |
| 5172 call_data_undefined); | 5172 call_data_undefined); |
| 5173 } | 5173 } |
| 5174 | 5174 |
| 5175 | 5175 |
| 5176 void CallApiAccessorStub::Generate(MacroAssembler* masm) { | 5176 void CallApiAccessorStub::Generate(MacroAssembler* masm) { |
| 5177 bool is_store = this->is_store(); | 5177 bool is_store = this->is_store(); |
| 5178 int argc = is_store ? 1 : 0; | 5178 int argc = this->argc(); |
| 5179 bool call_data_undefined = this->call_data_undefined(); | 5179 bool call_data_undefined = this->call_data_undefined(); |
| 5180 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, | 5180 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, |
| 5181 call_data_undefined); | 5181 call_data_undefined); |
| 5182 } | 5182 } |
| 5183 | 5183 |
| 5184 | 5184 |
| 5185 void CallApiGetterStub::Generate(MacroAssembler* masm) { | 5185 void CallApiGetterStub::Generate(MacroAssembler* masm) { |
| 5186 // ----------- S t a t e ------------- | 5186 // ----------- S t a t e ------------- |
| 5187 // -- sp[0] : name | 5187 // -- sp[0] : name |
| 5188 // -- sp[8 - kArgsLength*8] : PropertyCallbackArguments object | 5188 // -- sp[8 - kArgsLength*8] : PropertyCallbackArguments object |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5220 kStackUnwindSpace, NULL, spill_offset, | 5220 kStackUnwindSpace, NULL, spill_offset, |
| 5221 MemOperand(fp, 6 * kPointerSize), NULL); | 5221 MemOperand(fp, 6 * kPointerSize), NULL); |
| 5222 } | 5222 } |
| 5223 | 5223 |
| 5224 | 5224 |
| 5225 #undef __ | 5225 #undef __ |
| 5226 | 5226 |
| 5227 } } // namespace v8::internal | 5227 } } // namespace v8::internal |
| 5228 | 5228 |
| 5229 #endif // V8_TARGET_ARCH_ARM64 | 5229 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |