| 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/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/ic-inl.h" | 10 #include "src/ic-inl.h" |
| (...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1263 Register* KeyedLoadStubCompiler::registers() { | 1263 Register* KeyedLoadStubCompiler::registers() { |
| 1264 // receiver, name, scratch1, scratch2, scratch3, scratch4. | 1264 // receiver, name, scratch1, scratch2, scratch3, scratch4. |
| 1265 Register receiver = LoadIC::ReceiverRegister(); | 1265 Register receiver = LoadIC::ReceiverRegister(); |
| 1266 Register name = LoadIC::NameRegister(); | 1266 Register name = LoadIC::NameRegister(); |
| 1267 static Register registers[] = { receiver, name, a3, a0, a4, a5 }; | 1267 static Register registers[] = { receiver, name, a3, a0, a4, a5 }; |
| 1268 return registers; | 1268 return registers; |
| 1269 } | 1269 } |
| 1270 | 1270 |
| 1271 | 1271 |
| 1272 Register StoreStubCompiler::value() { | 1272 Register StoreStubCompiler::value() { |
| 1273 return a0; | 1273 return StoreIC::ValueRegister(); |
| 1274 } | 1274 } |
| 1275 | 1275 |
| 1276 | 1276 |
| 1277 Register* StoreStubCompiler::registers() { | 1277 Register* StoreStubCompiler::registers() { |
| 1278 // receiver, name, scratch1, scratch2, scratch3. | 1278 // receiver, name, scratch1, scratch2, scratch3. |
| 1279 static Register registers[] = { a1, a2, a3, a4, a5 }; | 1279 Register receiver = StoreIC::ReceiverRegister(); |
| 1280 Register name = StoreIC::NameRegister(); |
| 1281 static Register registers[] = { receiver, name, a3, a4, a5 }; |
| 1280 return registers; | 1282 return registers; |
| 1281 } | 1283 } |
| 1282 | 1284 |
| 1283 | 1285 |
| 1284 Register* KeyedStoreStubCompiler::registers() { | 1286 Register* KeyedStoreStubCompiler::registers() { |
| 1285 // receiver, name, scratch1, scratch2, scratch3. | 1287 // receiver, name, scratch1, scratch2, scratch3. |
| 1286 static Register registers[] = { a2, a1, a3, a4, a5 }; | 1288 Register receiver = KeyedStoreIC::ReceiverRegister(); |
| 1289 Register name = KeyedStoreIC::NameRegister(); |
| 1290 static Register registers[] = { receiver, name, a3, a4, a5 }; |
| 1287 return registers; | 1291 return registers; |
| 1288 } | 1292 } |
| 1289 | 1293 |
| 1290 | 1294 |
| 1291 #undef __ | 1295 #undef __ |
| 1292 #define __ ACCESS_MASM(masm) | 1296 #define __ ACCESS_MASM(masm) |
| 1293 | 1297 |
| 1294 | 1298 |
| 1295 void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, | 1299 void LoadStubCompiler::GenerateLoadViaGetter(MacroAssembler* masm, |
| 1296 Handle<HeapType> type, | 1300 Handle<HeapType> type, |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1491 | 1495 |
| 1492 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); | 1496 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); |
| 1493 } | 1497 } |
| 1494 | 1498 |
| 1495 | 1499 |
| 1496 #undef __ | 1500 #undef __ |
| 1497 | 1501 |
| 1498 } } // namespace v8::internal | 1502 } } // namespace v8::internal |
| 1499 | 1503 |
| 1500 #endif // V8_TARGET_ARCH_MIPS64 | 1504 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |