| 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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 StoreIC::GenerateNormal(masm); | 1321 StoreIC::GenerateNormal(masm); |
| 1322 } | 1322 } |
| 1323 | 1323 |
| 1324 | 1324 |
| 1325 static void Generate_StoreIC_Normal_Strict(MacroAssembler* masm) { | 1325 static void Generate_StoreIC_Normal_Strict(MacroAssembler* masm) { |
| 1326 StoreIC::GenerateNormal(masm); | 1326 StoreIC::GenerateNormal(masm); |
| 1327 } | 1327 } |
| 1328 | 1328 |
| 1329 | 1329 |
| 1330 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) { | 1330 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) { |
| 1331 StoreIC::GenerateMegamorphic(masm, StoreIC::kStoreICNonStrict); | 1331 StoreIC::GenerateMegamorphic(masm, kNonStrictMode); |
| 1332 } | 1332 } |
| 1333 | 1333 |
| 1334 | 1334 |
| 1335 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { | 1335 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { |
| 1336 StoreIC::GenerateMegamorphic(masm, StoreIC::kStoreICStrict); | 1336 StoreIC::GenerateMegamorphic(masm, kStrictMode); |
| 1337 } | 1337 } |
| 1338 | 1338 |
| 1339 | 1339 |
| 1340 static void Generate_StoreIC_ArrayLength(MacroAssembler* masm) { | 1340 static void Generate_StoreIC_ArrayLength(MacroAssembler* masm) { |
| 1341 StoreIC::GenerateArrayLength(masm); | 1341 StoreIC::GenerateArrayLength(masm); |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 | 1344 |
| 1345 static void Generate_StoreIC_ArrayLength_Strict(MacroAssembler* masm) { | 1345 static void Generate_StoreIC_ArrayLength_Strict(MacroAssembler* masm) { |
| 1346 StoreIC::GenerateArrayLength(masm); | 1346 StoreIC::GenerateArrayLength(masm); |
| 1347 } | 1347 } |
| 1348 | 1348 |
| 1349 | 1349 |
| 1350 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { | 1350 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { |
| 1351 StoreIC::GenerateGlobalProxy(masm); | 1351 StoreIC::GenerateGlobalProxy(masm, kNonStrictMode); |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 | 1354 |
| 1355 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { | 1355 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { |
| 1356 StoreIC::GenerateGlobalProxy(masm); | 1356 StoreIC::GenerateGlobalProxy(masm, kStrictMode); |
| 1357 } | 1357 } |
| 1358 | 1358 |
| 1359 | 1359 |
| 1360 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { | 1360 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { |
| 1361 KeyedStoreIC::GenerateGeneric(masm); | 1361 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); |
| 1362 } | 1362 } |
| 1363 | 1363 |
| 1364 | 1364 |
| 1365 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
| 1366 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); |
| 1367 } |
| 1368 |
| 1369 |
| 1365 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { | 1370 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { |
| 1366 KeyedStoreIC::GenerateMiss(masm); | 1371 KeyedStoreIC::GenerateMiss(masm); |
| 1367 } | 1372 } |
| 1368 | 1373 |
| 1369 | 1374 |
| 1370 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { | 1375 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { |
| 1371 KeyedStoreIC::GenerateInitialize(masm); | 1376 KeyedStoreIC::GenerateInitialize(masm); |
| 1372 } | 1377 } |
| 1373 | 1378 |
| 1374 | 1379 |
| 1380 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { |
| 1381 KeyedStoreIC::GenerateInitialize(masm); |
| 1382 } |
| 1383 |
| 1384 |
| 1375 #ifdef ENABLE_DEBUGGER_SUPPORT | 1385 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 1376 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { | 1386 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { |
| 1377 Debug::GenerateLoadICDebugBreak(masm); | 1387 Debug::GenerateLoadICDebugBreak(masm); |
| 1378 } | 1388 } |
| 1379 | 1389 |
| 1380 | 1390 |
| 1381 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) { | 1391 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) { |
| 1382 Debug::GenerateStoreICDebugBreak(masm); | 1392 Debug::GenerateStoreICDebugBreak(masm); |
| 1383 } | 1393 } |
| 1384 | 1394 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1567 if (entry->contains(pc)) { | 1577 if (entry->contains(pc)) { |
| 1568 return names_[i]; | 1578 return names_[i]; |
| 1569 } | 1579 } |
| 1570 } | 1580 } |
| 1571 } | 1581 } |
| 1572 return NULL; | 1582 return NULL; |
| 1573 } | 1583 } |
| 1574 | 1584 |
| 1575 | 1585 |
| 1576 } } // namespace v8::internal | 1586 } } // namespace v8::internal |
| OLD | NEW |