| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 void RegExpConstructResultStub::InitializeInterfaceDescriptor( | 81 void RegExpConstructResultStub::InitializeInterfaceDescriptor( |
| 82 CodeStubInterfaceDescriptor* descriptor) { | 82 CodeStubInterfaceDescriptor* descriptor) { |
| 83 Register registers[] = { a2, a1, a0 }; | 83 Register registers[] = { a2, a1, a0 }; |
| 84 descriptor->Initialize( | 84 descriptor->Initialize( |
| 85 ARRAY_SIZE(registers), registers, | 85 ARRAY_SIZE(registers), registers, |
| 86 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry); | 86 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry); |
| 87 } | 87 } |
| 88 | 88 |
| 89 | 89 |
| 90 void KeyedStoreFastElementStub::InitializeInterfaceDescriptor( | |
| 91 CodeStubInterfaceDescriptor* descriptor) { | |
| 92 Register registers[] = { a2, a1, a0 }; | |
| 93 descriptor->Initialize( | |
| 94 ARRAY_SIZE(registers), registers, | |
| 95 FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); | |
| 96 } | |
| 97 | |
| 98 | |
| 99 void TransitionElementsKindStub::InitializeInterfaceDescriptor( | 90 void TransitionElementsKindStub::InitializeInterfaceDescriptor( |
| 100 CodeStubInterfaceDescriptor* descriptor) { | 91 CodeStubInterfaceDescriptor* descriptor) { |
| 101 Register registers[] = { a0, a1 }; | 92 Register registers[] = { a0, a1 }; |
| 102 Address entry = | 93 Address entry = |
| 103 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry; | 94 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry; |
| 104 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 95 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
| 105 FUNCTION_ADDR(entry)); | 96 FUNCTION_ADDR(entry)); |
| 106 } | 97 } |
| 107 | 98 |
| 108 | 99 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 InitializeInternalArrayConstructorDescriptor(descriptor, 1); | 214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); |
| 224 } | 215 } |
| 225 | 216 |
| 226 | 217 |
| 227 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( | 218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( |
| 228 CodeStubInterfaceDescriptor* descriptor) { | 219 CodeStubInterfaceDescriptor* descriptor) { |
| 229 InitializeInternalArrayConstructorDescriptor(descriptor, -1); | 220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); |
| 230 } | 221 } |
| 231 | 222 |
| 232 | 223 |
| 233 void StoreGlobalStub::InitializeInterfaceDescriptor( | |
| 234 CodeStubInterfaceDescriptor* descriptor) { | |
| 235 Register registers[] = { a1, a2, a0 }; | |
| 236 descriptor->Initialize(ARRAY_SIZE(registers), registers, | |
| 237 FUNCTION_ADDR(StoreIC_MissFromStubFailure)); | |
| 238 } | |
| 239 | |
| 240 | |
| 241 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( | 224 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( |
| 242 CodeStubInterfaceDescriptor* descriptor) { | 225 CodeStubInterfaceDescriptor* descriptor) { |
| 243 Register registers[] = { a0, a3, a1, a2 }; | 226 Register registers[] = { a0, a3, a1, a2 }; |
| 244 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 227 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
| 245 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); | 228 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); |
| 246 } | 229 } |
| 247 | 230 |
| 248 | 231 |
| 249 void BinaryOpICStub::InitializeInterfaceDescriptor( | 232 void BinaryOpICStub::InitializeInterfaceDescriptor( |
| 250 CodeStubInterfaceDescriptor* descriptor) { | 233 CodeStubInterfaceDescriptor* descriptor) { |
| (...skipping 5052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5303 MemOperand(fp, 6 * kPointerSize), | 5286 MemOperand(fp, 6 * kPointerSize), |
| 5304 NULL); | 5287 NULL); |
| 5305 } | 5288 } |
| 5306 | 5289 |
| 5307 | 5290 |
| 5308 #undef __ | 5291 #undef __ |
| 5309 | 5292 |
| 5310 } } // namespace v8::internal | 5293 } } // namespace v8::internal |
| 5311 | 5294 |
| 5312 #endif // V8_TARGET_ARCH_MIPS | 5295 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |