| 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/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); | 214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); |
| 215 } | 215 } |
| 216 | 216 |
| 217 | 217 |
| 218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( | 218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( |
| 219 CodeStubInterfaceDescriptor* descriptor) { | 219 CodeStubInterfaceDescriptor* descriptor) { |
| 220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); | 220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); |
| 221 } | 221 } |
| 222 | 222 |
| 223 | 223 |
| 224 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( | |
| 225 CodeStubInterfaceDescriptor* descriptor) { | |
| 226 Register registers[] = { a0, a3, a1, a2 }; | |
| 227 descriptor->Initialize(ARRAY_SIZE(registers), registers, | |
| 228 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); | |
| 229 } | |
| 230 | |
| 231 | |
| 232 void BinaryOpICStub::InitializeInterfaceDescriptor( | 224 void BinaryOpICStub::InitializeInterfaceDescriptor( |
| 233 CodeStubInterfaceDescriptor* descriptor) { | 225 CodeStubInterfaceDescriptor* descriptor) { |
| 234 Register registers[] = { a1, a0 }; | 226 Register registers[] = { a1, a0 }; |
| 235 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 227 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
| 236 FUNCTION_ADDR(BinaryOpIC_Miss)); | 228 FUNCTION_ADDR(BinaryOpIC_Miss)); |
| 237 descriptor->SetMissHandler( | 229 descriptor->SetMissHandler( |
| 238 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); | 230 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); |
| 239 } | 231 } |
| 240 | 232 |
| 241 | 233 |
| (...skipping 5044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5286 MemOperand(fp, 6 * kPointerSize), | 5278 MemOperand(fp, 6 * kPointerSize), |
| 5287 NULL); | 5279 NULL); |
| 5288 } | 5280 } |
| 5289 | 5281 |
| 5290 | 5282 |
| 5291 #undef __ | 5283 #undef __ |
| 5292 | 5284 |
| 5293 } } // namespace v8::internal | 5285 } } // namespace v8::internal |
| 5294 | 5286 |
| 5295 #endif // V8_TARGET_ARCH_MIPS | 5287 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |