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

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: Complete for ia32. 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
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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) { 1303 static void Generate_LoadIC_Initialize(MacroAssembler* masm) {
1304 LoadIC::GenerateInitialize(masm); 1304 LoadIC::GenerateInitialize(masm);
1305 } 1305 }
1306 1306
1307 1307
1308 static void Generate_LoadIC_Initialize_Contextual(MacroAssembler* masm) {
1309 LoadIC::GenerateInitialize(masm);
1310 }
1311
1312
1308 static void Generate_LoadIC_PreMonomorphic(MacroAssembler* masm) { 1313 static void Generate_LoadIC_PreMonomorphic(MacroAssembler* masm) {
1309 LoadIC::GeneratePreMonomorphic(masm); 1314 LoadIC::GeneratePreMonomorphic(masm);
1310 } 1315 }
1311 1316
1312 1317
1318 static void Generate_LoadIC_PreMonomorphic_Contextual(MacroAssembler* masm) {
1319 LoadIC::GeneratePreMonomorphic(masm);
1320 }
Toon Verwaest 2013/12/02 15:33:58 Please, as discussed, just generate these definiti
1321
1322
1313 static void Generate_LoadIC_Miss(MacroAssembler* masm) { 1323 static void Generate_LoadIC_Miss(MacroAssembler* masm) {
1314 LoadIC::GenerateMiss(masm); 1324 LoadIC::GenerateMiss(masm);
1315 } 1325 }
1316 1326
1317 1327
1318 static void Generate_LoadIC_Megamorphic(MacroAssembler* masm) { 1328 static void Generate_LoadIC_Megamorphic(MacroAssembler* masm) {
1319 LoadIC::GenerateMegamorphic(masm); 1329 LoadIC::GenerateMegamorphic(masm, NOT_CONTEXTUAL);
1320 } 1330 }
1321 1331
1322 1332
1333 static void Generate_LoadIC_Megamorphic_Contextual(MacroAssembler* masm) {
1334 LoadIC::GenerateMegamorphic(masm, CONTEXTUAL);
1335 }
1336
1337
1323 static void Generate_LoadIC_Normal(MacroAssembler* masm) { 1338 static void Generate_LoadIC_Normal(MacroAssembler* masm) {
1324 LoadIC::GenerateNormal(masm); 1339 LoadIC::GenerateNormal(masm);
1325 } 1340 }
1326 1341
1327 1342
1328 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) { 1343 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) {
1329 LoadStubCompiler::GenerateLoadViaGetter( 1344 LoadStubCompiler::GenerateLoadViaGetter(
1330 masm, LoadStubCompiler::registers()[0], Handle<JSFunction>()); 1345 masm, LoadStubCompiler::registers()[0], Handle<JSFunction>());
1331 } 1346 }
1332 1347
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 static void Generate_StoreIC_Initialize(MacroAssembler* masm) { 1399 static void Generate_StoreIC_Initialize(MacroAssembler* masm) {
1385 StoreIC::GenerateInitialize(masm); 1400 StoreIC::GenerateInitialize(masm);
1386 } 1401 }
1387 1402
1388 1403
1389 static void Generate_StoreIC_Initialize_Strict(MacroAssembler* masm) { 1404 static void Generate_StoreIC_Initialize_Strict(MacroAssembler* masm) {
1390 StoreIC::GenerateInitialize(masm); 1405 StoreIC::GenerateInitialize(masm);
1391 } 1406 }
1392 1407
1393 1408
1409 static void Generate_StoreIC_Initialize_Contextual_Strict(
1410 MacroAssembler* masm) {
1411 StoreIC::GenerateInitialize(masm);
1412 }
1413
1414
1394 static void Generate_StoreIC_PreMonomorphic(MacroAssembler* masm) { 1415 static void Generate_StoreIC_PreMonomorphic(MacroAssembler* masm) {
1395 StoreIC::GeneratePreMonomorphic(masm); 1416 StoreIC::GeneratePreMonomorphic(masm);
1396 } 1417 }
1397 1418
1398 1419
1399 static void Generate_StoreIC_PreMonomorphic_Strict(MacroAssembler* masm) { 1420 static void Generate_StoreIC_PreMonomorphic_Strict(MacroAssembler* masm) {
1400 StoreIC::GeneratePreMonomorphic(masm); 1421 StoreIC::GeneratePreMonomorphic(masm);
1401 } 1422 }
1402 1423
1403 1424
1425 static void Generate_StoreIC_PreMonomorphic_Contextual_Strict(
1426 MacroAssembler* masm) {
1427 StoreIC::GeneratePreMonomorphic(masm);
1428 }
1429
1430
1404 static void Generate_StoreIC_Miss(MacroAssembler* masm) { 1431 static void Generate_StoreIC_Miss(MacroAssembler* masm) {
1405 StoreIC::GenerateMiss(masm); 1432 StoreIC::GenerateMiss(masm);
1406 } 1433 }
1407 1434
1408 1435
1409 static void Generate_StoreIC_Normal(MacroAssembler* masm) { 1436 static void Generate_StoreIC_Normal(MacroAssembler* masm) {
1410 StoreIC::GenerateNormal(masm); 1437 StoreIC::GenerateNormal(masm);
1411 } 1438 }
1412 1439
1413 1440
1414 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) { 1441 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) {
1415 StoreIC::GenerateMegamorphic(masm, kNonStrictMode); 1442 StoreIC::GenerateMegamorphic(masm, kNonStrictMode, NOT_CONTEXTUAL);
1416 } 1443 }
1417 1444
1418 1445
1419 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { 1446 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) {
1420 StoreIC::GenerateMegamorphic(masm, kStrictMode); 1447 StoreIC::GenerateMegamorphic(masm, kStrictMode, NOT_CONTEXTUAL);
1421 } 1448 }
1422 1449
1423 1450
1451 static void Generate_StoreIC_Megamorphic_Contextual_Strict(
1452 MacroAssembler* masm) {
1453 StoreIC::GenerateMegamorphic(masm, kStrictMode, CONTEXTUAL);
1454 }
1455
1456
1424 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) { 1457 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) {
1425 StoreStubCompiler::GenerateStoreViaSetter(masm, Handle<JSFunction>()); 1458 StoreStubCompiler::GenerateStoreViaSetter(masm, Handle<JSFunction>());
1426 } 1459 }
1427 1460
1428 1461
1429 static void Generate_StoreIC_Generic(MacroAssembler* masm) { 1462 static void Generate_StoreIC_Generic(MacroAssembler* masm) {
1430 StoreIC::GenerateRuntimeSetProperty(masm, kNonStrictMode); 1463 StoreIC::GenerateRuntimeSetProperty(masm, kNonStrictMode);
1431 } 1464 }
1432 1465
1433 1466
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1785 } 1818 }
1786 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1819 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1787 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1820 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1788 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 1821 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
1789 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1822 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1790 #undef DEFINE_BUILTIN_ACCESSOR_C 1823 #undef DEFINE_BUILTIN_ACCESSOR_C
1791 #undef DEFINE_BUILTIN_ACCESSOR_A 1824 #undef DEFINE_BUILTIN_ACCESSOR_A
1792 1825
1793 1826
1794 } } // namespace v8::internal 1827 } } // namespace v8::internal
OLDNEW
« src/builtins.h ('K') | « src/builtins.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698