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 #include "src/api.h" | 7 #include "src/api.h" |
8 #include "src/arguments.h" | 8 #include "src/arguments.h" |
9 #include "src/base/once.h" | 9 #include "src/base/once.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 static void Generate_KeyedLoadIC_IndexedInterceptor(MacroAssembler* masm) { | 1291 static void Generate_KeyedLoadIC_IndexedInterceptor(MacroAssembler* masm) { |
1292 KeyedLoadIC::GenerateIndexedInterceptor(masm); | 1292 KeyedLoadIC::GenerateIndexedInterceptor(masm); |
1293 } | 1293 } |
1294 | 1294 |
1295 | 1295 |
1296 static void Generate_KeyedLoadIC_SloppyArguments(MacroAssembler* masm) { | 1296 static void Generate_KeyedLoadIC_SloppyArguments(MacroAssembler* masm) { |
1297 KeyedLoadIC::GenerateSloppyArguments(masm); | 1297 KeyedLoadIC::GenerateSloppyArguments(masm); |
1298 } | 1298 } |
1299 | 1299 |
1300 | 1300 |
1301 static void Generate_StoreIC_Slow(MacroAssembler* masm) { | |
1302 StoreIC::GenerateSlow(masm); | |
1303 } | |
1304 | |
1305 | |
1306 static void Generate_StoreIC_Miss(MacroAssembler* masm) { | 1301 static void Generate_StoreIC_Miss(MacroAssembler* masm) { |
1307 StoreIC::GenerateMiss(masm); | 1302 StoreIC::GenerateMiss(masm); |
1308 } | 1303 } |
1309 | 1304 |
1310 | 1305 |
1311 static void Generate_StoreIC_Normal(MacroAssembler* masm) { | 1306 static void Generate_StoreIC_Normal(MacroAssembler* masm) { |
1312 StoreIC::GenerateNormal(masm); | 1307 StoreIC::GenerateNormal(masm); |
1313 } | 1308 } |
1314 | 1309 |
1315 | 1310 |
| 1311 static void Generate_StoreIC_Slow(MacroAssembler* masm) { |
| 1312 NamedStoreHandlerCompiler::GenerateSlow(masm); |
| 1313 } |
| 1314 |
| 1315 |
| 1316 static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { |
| 1317 ElementHandlerCompiler::GenerateStoreSlow(masm); |
| 1318 } |
| 1319 |
| 1320 |
1316 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) { | 1321 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) { |
1317 NamedStoreHandlerCompiler::GenerateStoreViaSetterForDeopt(masm); | 1322 NamedStoreHandlerCompiler::GenerateStoreViaSetterForDeopt(masm); |
1318 } | 1323 } |
1319 | 1324 |
1320 | 1325 |
1321 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { | 1326 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { |
1322 KeyedStoreIC::GenerateGeneric(masm, SLOPPY); | 1327 KeyedStoreIC::GenerateGeneric(masm, SLOPPY); |
1323 } | 1328 } |
1324 | 1329 |
1325 | 1330 |
1326 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { | 1331 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
1327 KeyedStoreIC::GenerateGeneric(masm, STRICT); | 1332 KeyedStoreIC::GenerateGeneric(masm, STRICT); |
1328 } | 1333 } |
1329 | 1334 |
1330 | 1335 |
1331 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { | 1336 static void Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { |
1332 KeyedStoreIC::GenerateMiss(masm); | 1337 KeyedStoreIC::GenerateMiss(masm); |
1333 } | 1338 } |
1334 | 1339 |
1335 | 1340 |
1336 static void Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { | |
1337 KeyedStoreIC::GenerateSlow(masm); | |
1338 } | |
1339 | |
1340 | |
1341 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { | 1341 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { |
1342 KeyedStoreIC::GenerateInitialize(masm); | 1342 KeyedStoreIC::GenerateInitialize(masm); |
1343 } | 1343 } |
1344 | 1344 |
1345 | 1345 |
1346 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { | 1346 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { |
1347 KeyedStoreIC::GenerateInitialize(masm); | 1347 KeyedStoreIC::GenerateInitialize(masm); |
1348 } | 1348 } |
1349 | 1349 |
1350 | 1350 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 } | 1654 } |
1655 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1655 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
1656 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1656 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
1657 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 1657 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
1658 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1658 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
1659 #undef DEFINE_BUILTIN_ACCESSOR_C | 1659 #undef DEFINE_BUILTIN_ACCESSOR_C |
1660 #undef DEFINE_BUILTIN_ACCESSOR_A | 1660 #undef DEFINE_BUILTIN_ACCESSOR_A |
1661 | 1661 |
1662 | 1662 |
1663 } } // namespace v8::internal | 1663 } } // namespace v8::internal |
OLD | NEW |