| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 |
| (...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 StoreIC::GenerateNormal(masm); | 1328 StoreIC::GenerateNormal(masm); |
| 1329 } | 1329 } |
| 1330 | 1330 |
| 1331 | 1331 |
| 1332 static void Generate_StoreIC_Normal_Strict(MacroAssembler* masm) { | 1332 static void Generate_StoreIC_Normal_Strict(MacroAssembler* masm) { |
| 1333 StoreIC::GenerateNormal(masm); | 1333 StoreIC::GenerateNormal(masm); |
| 1334 } | 1334 } |
| 1335 | 1335 |
| 1336 | 1336 |
| 1337 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) { | 1337 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) { |
| 1338 StoreIC::GenerateMegamorphic(masm, StoreIC::kStoreICNonStrict); | 1338 StoreIC::GenerateMegamorphic(masm, kNonStrictMode); |
| 1339 } | 1339 } |
| 1340 | 1340 |
| 1341 | 1341 |
| 1342 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { | 1342 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { |
| 1343 StoreIC::GenerateMegamorphic(masm, StoreIC::kStoreICStrict); | 1343 StoreIC::GenerateMegamorphic(masm, kStrictMode); |
| 1344 } | 1344 } |
| 1345 | 1345 |
| 1346 | 1346 |
| 1347 static void Generate_StoreIC_ArrayLength(MacroAssembler* masm) { | 1347 static void Generate_StoreIC_ArrayLength(MacroAssembler* masm) { |
| 1348 StoreIC::GenerateArrayLength(masm); | 1348 StoreIC::GenerateArrayLength(masm); |
| 1349 } | 1349 } |
| 1350 | 1350 |
| 1351 | 1351 |
| 1352 static void Generate_StoreIC_ArrayLength_Strict(MacroAssembler* masm) { | 1352 static void Generate_StoreIC_ArrayLength_Strict(MacroAssembler* masm) { |
| 1353 StoreIC::GenerateArrayLength(masm); | 1353 StoreIC::GenerateArrayLength(masm); |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 | 1356 |
| 1357 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { | 1357 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { |
| 1358 StoreIC::GenerateGlobalProxy(masm); | 1358 StoreIC::GenerateGlobalProxy(masm, kNonStrictMode); |
| 1359 } | 1359 } |
| 1360 | 1360 |
| 1361 | 1361 |
| 1362 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { | 1362 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { |
| 1363 StoreIC::GenerateGlobalProxy(masm); | 1363 StoreIC::GenerateGlobalProxy(masm, kStrictMode); |
| 1364 } | 1364 } |
| 1365 | 1365 |
| 1366 | 1366 |
| 1367 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { | 1367 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { |
| 1368 KeyedStoreIC::GenerateGeneric(masm); | 1368 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); |
| 1369 } |
| 1370 |
| 1371 |
| 1372 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
| 1373 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); |
| 1369 } | 1374 } |
| 1370 | 1375 |
| 1371 | 1376 |
| 1372 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { | 1377 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { |
| 1373 KeyedStoreIC::GenerateMiss(masm); | 1378 KeyedStoreIC::GenerateMiss(masm); |
| 1374 } | 1379 } |
| 1375 | 1380 |
| 1376 | 1381 |
| 1377 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { | 1382 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { |
| 1378 KeyedStoreIC::GenerateInitialize(masm); | 1383 KeyedStoreIC::GenerateInitialize(masm); |
| 1379 } | 1384 } |
| 1380 | 1385 |
| 1381 | 1386 |
| 1387 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { |
| 1388 KeyedStoreIC::GenerateInitialize(masm); |
| 1389 } |
| 1390 |
| 1391 |
| 1382 #ifdef ENABLE_DEBUGGER_SUPPORT | 1392 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 1383 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { | 1393 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { |
| 1384 Debug::GenerateLoadICDebugBreak(masm); | 1394 Debug::GenerateLoadICDebugBreak(masm); |
| 1385 } | 1395 } |
| 1386 | 1396 |
| 1387 | 1397 |
| 1388 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) { | 1398 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) { |
| 1389 Debug::GenerateStoreICDebugBreak(masm); | 1399 Debug::GenerateStoreICDebugBreak(masm); |
| 1390 } | 1400 } |
| 1391 | 1401 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1574 if (entry->contains(pc)) { | 1584 if (entry->contains(pc)) { |
| 1575 return names_[i]; | 1585 return names_[i]; |
| 1576 } | 1586 } |
| 1577 } | 1587 } |
| 1578 } | 1588 } |
| 1579 return NULL; | 1589 return NULL; |
| 1580 } | 1590 } |
| 1581 | 1591 |
| 1582 | 1592 |
| 1583 } } // namespace v8::internal | 1593 } } // namespace v8::internal |
| OLD | NEW |