Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: src/builtins.cc

Issue 96083005: Remove Reloc::Mode CODE_TARGET_CONTEXT (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/builtins.h ('k') | src/code-stubs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 } 1293 }
1294 1294
1295 1295
1296 // Handle calls to non-function objects created through the API. This delegate 1296 // Handle calls to non-function objects created through the API. This delegate
1297 // function is used when the call is a construct call. 1297 // function is used when the call is a construct call.
1298 BUILTIN(HandleApiCallAsConstructor) { 1298 BUILTIN(HandleApiCallAsConstructor) {
1299 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); 1299 return HandleApiCallAsFunctionOrConstructor(isolate, true, args);
1300 } 1300 }
1301 1301
1302 1302
1303 static void Generate_LoadIC_Initialize(MacroAssembler* masm) {
1304 LoadIC::GenerateInitialize(masm);
1305 }
1306
1307
1308 static void Generate_LoadIC_PreMonomorphic(MacroAssembler* masm) {
1309 LoadIC::GeneratePreMonomorphic(masm);
1310 }
1311
1312
1313 static void Generate_LoadIC_Miss(MacroAssembler* masm) { 1303 static void Generate_LoadIC_Miss(MacroAssembler* masm) {
1314 LoadIC::GenerateMiss(masm); 1304 LoadIC::GenerateMiss(masm);
1315 } 1305 }
1316 1306
1317 1307
1318 static void Generate_LoadIC_Megamorphic(MacroAssembler* masm) {
1319 LoadIC::GenerateMegamorphic(masm);
1320 }
1321
1322
1323 static void Generate_LoadIC_Normal(MacroAssembler* masm) { 1308 static void Generate_LoadIC_Normal(MacroAssembler* masm) {
1324 LoadIC::GenerateNormal(masm); 1309 LoadIC::GenerateNormal(masm);
1325 } 1310 }
1326 1311
1327 1312
1328 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) { 1313 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) {
1329 LoadStubCompiler::GenerateLoadViaGetter( 1314 LoadStubCompiler::GenerateLoadViaGetter(
1330 masm, LoadStubCompiler::registers()[0], Handle<JSFunction>()); 1315 masm, LoadStubCompiler::registers()[0], Handle<JSFunction>());
1331 } 1316 }
1332 1317
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 static void Generate_KeyedLoadIC_NonStrictArguments(MacroAssembler* masm) { 1359 static void Generate_KeyedLoadIC_NonStrictArguments(MacroAssembler* masm) {
1375 KeyedLoadIC::GenerateNonStrictArguments(masm); 1360 KeyedLoadIC::GenerateNonStrictArguments(masm);
1376 } 1361 }
1377 1362
1378 1363
1379 static void Generate_StoreIC_Slow(MacroAssembler* masm) { 1364 static void Generate_StoreIC_Slow(MacroAssembler* masm) {
1380 StoreIC::GenerateSlow(masm); 1365 StoreIC::GenerateSlow(masm);
1381 } 1366 }
1382 1367
1383 1368
1384 static void Generate_StoreIC_Initialize(MacroAssembler* masm) {
1385 StoreIC::GenerateInitialize(masm);
1386 }
1387
1388
1389 static void Generate_StoreIC_Initialize_Strict(MacroAssembler* masm) {
1390 StoreIC::GenerateInitialize(masm);
1391 }
1392
1393
1394 static void Generate_StoreIC_PreMonomorphic(MacroAssembler* masm) {
1395 StoreIC::GeneratePreMonomorphic(masm);
1396 }
1397
1398
1399 static void Generate_StoreIC_PreMonomorphic_Strict(MacroAssembler* masm) {
1400 StoreIC::GeneratePreMonomorphic(masm);
1401 }
1402
1403
1404 static void Generate_StoreIC_Miss(MacroAssembler* masm) { 1369 static void Generate_StoreIC_Miss(MacroAssembler* masm) {
1405 StoreIC::GenerateMiss(masm); 1370 StoreIC::GenerateMiss(masm);
1406 } 1371 }
1407 1372
1408 1373
1409 static void Generate_StoreIC_Normal(MacroAssembler* masm) { 1374 static void Generate_StoreIC_Normal(MacroAssembler* masm) {
1410 StoreIC::GenerateNormal(masm); 1375 StoreIC::GenerateNormal(masm);
1411 } 1376 }
1412 1377
1413 1378
1414 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) {
1415 StoreIC::GenerateMegamorphic(masm,
1416 StoreIC::ComputeExtraICState(kNonStrictMode));
1417 }
1418
1419
1420 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) {
1421 StoreIC::GenerateMegamorphic(masm,
1422 StoreIC::ComputeExtraICState(kStrictMode));
1423 }
1424
1425
1426 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) { 1379 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) {
1427 StoreStubCompiler::GenerateStoreViaSetter(masm, Handle<JSFunction>()); 1380 StoreStubCompiler::GenerateStoreViaSetter(masm, Handle<JSFunction>());
1428 } 1381 }
1429 1382
1430 1383
1431 static void Generate_StoreIC_Generic(MacroAssembler* masm) {
1432 StoreIC::GenerateRuntimeSetProperty(masm, kNonStrictMode);
1433 }
1434
1435
1436 static void Generate_StoreIC_Generic_Strict(MacroAssembler* masm) {
1437 StoreIC::GenerateRuntimeSetProperty(masm, kStrictMode);
1438 }
1439
1440
1441 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { 1384 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) {
1442 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); 1385 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode);
1443 } 1386 }
1444 1387
1445 1388
1446 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { 1389 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) {
1447 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); 1390 KeyedStoreIC::GenerateGeneric(masm, kStrictMode);
1448 } 1391 }
1449 1392
1450 1393
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
1787 } 1730 }
1788 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1731 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1789 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1732 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1790 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 1733 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
1791 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1734 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1792 #undef DEFINE_BUILTIN_ACCESSOR_C 1735 #undef DEFINE_BUILTIN_ACCESSOR_C
1793 #undef DEFINE_BUILTIN_ACCESSOR_A 1736 #undef DEFINE_BUILTIN_ACCESSOR_A
1794 1737
1795 1738
1796 } } // namespace v8::internal 1739 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698