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_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
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 4944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4955 | 4955 |
4956 void CallApiFunctionStub::Generate(MacroAssembler* masm) { | 4956 void CallApiFunctionStub::Generate(MacroAssembler* masm) { |
4957 bool call_data_undefined = this->call_data_undefined(); | 4957 bool call_data_undefined = this->call_data_undefined(); |
4958 CallApiFunctionStubHelper(masm, ParameterCount(a3), false, | 4958 CallApiFunctionStubHelper(masm, ParameterCount(a3), false, |
4959 call_data_undefined); | 4959 call_data_undefined); |
4960 } | 4960 } |
4961 | 4961 |
4962 | 4962 |
4963 void CallApiAccessorStub::Generate(MacroAssembler* masm) { | 4963 void CallApiAccessorStub::Generate(MacroAssembler* masm) { |
4964 bool is_store = this->is_store(); | 4964 bool is_store = this->is_store(); |
4965 int argc = is_store ? 1 : 0; | 4965 int argc = this->argc(); |
4966 bool call_data_undefined = this->call_data_undefined(); | 4966 bool call_data_undefined = this->call_data_undefined(); |
4967 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, | 4967 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, |
4968 call_data_undefined); | 4968 call_data_undefined); |
4969 } | 4969 } |
4970 | 4970 |
4971 | 4971 |
4972 void CallApiGetterStub::Generate(MacroAssembler* masm) { | 4972 void CallApiGetterStub::Generate(MacroAssembler* masm) { |
4973 // ----------- S t a t e ------------- | 4973 // ----------- S t a t e ------------- |
4974 // -- sp[0] : name | 4974 // -- sp[0] : name |
4975 // -- sp[4 - kArgsLength*4] : PropertyCallbackArguments object | 4975 // -- sp[4 - kArgsLength*4] : PropertyCallbackArguments object |
(...skipping 24 matching lines...) Expand all Loading... |
5000 kStackUnwindSpace, NULL, | 5000 kStackUnwindSpace, NULL, |
5001 MemOperand(fp, 6 * kPointerSize), NULL); | 5001 MemOperand(fp, 6 * kPointerSize), NULL); |
5002 } | 5002 } |
5003 | 5003 |
5004 | 5004 |
5005 #undef __ | 5005 #undef __ |
5006 | 5006 |
5007 } } // namespace v8::internal | 5007 } } // namespace v8::internal |
5008 | 5008 |
5009 #endif // V8_TARGET_ARCH_MIPS | 5009 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |