OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1334 static void Generate_LoadIC_Normal(MacroAssembler* masm) { | 1334 static void Generate_LoadIC_Normal(MacroAssembler* masm) { |
1335 LoadIC::GenerateNormal(masm); | 1335 LoadIC::GenerateNormal(masm); |
1336 } | 1336 } |
1337 | 1337 |
1338 | 1338 |
1339 static void Generate_KeyedLoadIC_Initialize(MacroAssembler* masm) { | 1339 static void Generate_KeyedLoadIC_Initialize(MacroAssembler* masm) { |
1340 KeyedLoadIC::GenerateInitialize(masm); | 1340 KeyedLoadIC::GenerateInitialize(masm); |
1341 } | 1341 } |
1342 | 1342 |
1343 | 1343 |
| 1344 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { |
| 1345 KeyedLoadIC::GenerateRuntimeGetProperty(masm); |
| 1346 } |
| 1347 |
| 1348 |
1344 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { | 1349 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { |
1345 KeyedLoadIC::GenerateMiss(masm); | 1350 KeyedLoadIC::GenerateMiss(masm, false); |
1346 } | 1351 } |
1347 | 1352 |
1348 | 1353 |
| 1354 static void Generate_KeyedLoadIC_MissForceGeneric(MacroAssembler* masm) { |
| 1355 KeyedLoadIC::GenerateMiss(masm, true); |
| 1356 } |
| 1357 |
| 1358 |
1349 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) { | 1359 static void Generate_KeyedLoadIC_Generic(MacroAssembler* masm) { |
1350 KeyedLoadIC::GenerateGeneric(masm); | 1360 KeyedLoadIC::GenerateGeneric(masm); |
1351 } | 1361 } |
1352 | 1362 |
1353 | 1363 |
1354 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) { | 1364 static void Generate_KeyedLoadIC_String(MacroAssembler* masm) { |
1355 KeyedLoadIC::GenerateString(masm); | 1365 KeyedLoadIC::GenerateString(masm); |
1356 } | 1366 } |
1357 | 1367 |
1358 | 1368 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1424 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); | 1434 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); |
1425 } | 1435 } |
1426 | 1436 |
1427 | 1437 |
1428 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { | 1438 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
1429 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); | 1439 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); |
1430 } | 1440 } |
1431 | 1441 |
1432 | 1442 |
1433 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { | 1443 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { |
1434 KeyedStoreIC::GenerateMiss(masm); | 1444 KeyedStoreIC::GenerateMiss(masm, false); |
1435 } | 1445 } |
1436 | 1446 |
1437 | 1447 |
| 1448 static void Generate_KeyedStoreIC_MissForceGeneric(MacroAssembler* masm) { |
| 1449 KeyedStoreIC::GenerateMiss(masm, true); |
| 1450 } |
| 1451 |
| 1452 |
| 1453 static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { |
| 1454 KeyedStoreIC::GenerateSlow(masm); |
| 1455 } |
| 1456 |
| 1457 |
1438 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { | 1458 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { |
1439 KeyedStoreIC::GenerateInitialize(masm); | 1459 KeyedStoreIC::GenerateInitialize(masm); |
1440 } | 1460 } |
1441 | 1461 |
1442 | 1462 |
1443 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { | 1463 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { |
1444 KeyedStoreIC::GenerateInitialize(masm); | 1464 KeyedStoreIC::GenerateInitialize(masm); |
1445 } | 1465 } |
1446 | 1466 |
1447 | 1467 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1701 return Handle<Code>(code_address); \ | 1721 return Handle<Code>(code_address); \ |
1702 } | 1722 } |
1703 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1723 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
1704 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1724 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
1705 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1725 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
1706 #undef DEFINE_BUILTIN_ACCESSOR_C | 1726 #undef DEFINE_BUILTIN_ACCESSOR_C |
1707 #undef DEFINE_BUILTIN_ACCESSOR_A | 1727 #undef DEFINE_BUILTIN_ACCESSOR_A |
1708 | 1728 |
1709 | 1729 |
1710 } } // namespace v8::internal | 1730 } } // namespace v8::internal |
OLD | NEW |