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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
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 4983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4994 | 4994 |
4995 void CallApiFunctionStub::Generate(MacroAssembler* masm) { | 4995 void CallApiFunctionStub::Generate(MacroAssembler* masm) { |
4996 bool call_data_undefined = this->call_data_undefined(); | 4996 bool call_data_undefined = this->call_data_undefined(); |
4997 CallApiFunctionStubHelper(masm, ParameterCount(a3), false, | 4997 CallApiFunctionStubHelper(masm, ParameterCount(a3), false, |
4998 call_data_undefined); | 4998 call_data_undefined); |
4999 } | 4999 } |
5000 | 5000 |
5001 | 5001 |
5002 void CallApiAccessorStub::Generate(MacroAssembler* masm) { | 5002 void CallApiAccessorStub::Generate(MacroAssembler* masm) { |
5003 bool is_store = this->is_store(); | 5003 bool is_store = this->is_store(); |
5004 int argc = is_store ? 1 : 0; | 5004 int argc = this->argc(); |
5005 bool call_data_undefined = this->call_data_undefined(); | 5005 bool call_data_undefined = this->call_data_undefined(); |
5006 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, | 5006 CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, |
5007 call_data_undefined); | 5007 call_data_undefined); |
5008 } | 5008 } |
5009 | 5009 |
5010 | 5010 |
5011 void CallApiGetterStub::Generate(MacroAssembler* masm) { | 5011 void CallApiGetterStub::Generate(MacroAssembler* masm) { |
5012 // ----------- S t a t e ------------- | 5012 // ----------- S t a t e ------------- |
5013 // -- sp[0] : name | 5013 // -- sp[0] : name |
5014 // -- sp[4 - kArgsLength*4] : PropertyCallbackArguments object | 5014 // -- sp[4 - kArgsLength*4] : PropertyCallbackArguments object |
(...skipping 24 matching lines...) Expand all Loading... |
5039 kStackUnwindSpace, NULL, | 5039 kStackUnwindSpace, NULL, |
5040 MemOperand(fp, 6 * kPointerSize), NULL); | 5040 MemOperand(fp, 6 * kPointerSize), NULL); |
5041 } | 5041 } |
5042 | 5042 |
5043 | 5043 |
5044 #undef __ | 5044 #undef __ |
5045 | 5045 |
5046 } } // namespace v8::internal | 5046 } } // namespace v8::internal |
5047 | 5047 |
5048 #endif // V8_TARGET_ARCH_MIPS64 | 5048 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |