| 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 "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #include "api.h" | 7 #include "api.h" |
| 8 #include "arguments.h" | 8 #include "arguments.h" |
| 9 #include "bootstrapper.h" | 9 #include "bootstrapper.h" |
| 10 #include "builtins.h" | 10 #include "builtins.h" |
| (...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1420 KeyedStoreIC::GeneratePreMonomorphic(masm); | 1420 KeyedStoreIC::GeneratePreMonomorphic(masm); |
| 1421 } | 1421 } |
| 1422 | 1422 |
| 1423 | 1423 |
| 1424 static void Generate_KeyedStoreIC_SloppyArguments(MacroAssembler* masm) { | 1424 static void Generate_KeyedStoreIC_SloppyArguments(MacroAssembler* masm) { |
| 1425 KeyedStoreIC::GenerateSloppyArguments(masm); | 1425 KeyedStoreIC::GenerateSloppyArguments(masm); |
| 1426 } | 1426 } |
| 1427 | 1427 |
| 1428 | 1428 |
| 1429 static void Generate_CallICStub_DebugBreak(MacroAssembler* masm) { | 1429 static void Generate_CallICStub_DebugBreak(MacroAssembler* masm) { |
| 1430 Debug::GenerateCallICStubDebugBreak(masm); | 1430 DebugCodegen::GenerateCallICStubDebugBreak(masm); |
| 1431 } | 1431 } |
| 1432 | 1432 |
| 1433 | 1433 |
| 1434 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { | 1434 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { |
| 1435 Debug::GenerateLoadICDebugBreak(masm); | 1435 DebugCodegen::GenerateLoadICDebugBreak(masm); |
| 1436 } | 1436 } |
| 1437 | 1437 |
| 1438 | 1438 |
| 1439 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) { | 1439 static void Generate_StoreIC_DebugBreak(MacroAssembler* masm) { |
| 1440 Debug::GenerateStoreICDebugBreak(masm); | 1440 DebugCodegen::GenerateStoreICDebugBreak(masm); |
| 1441 } | 1441 } |
| 1442 | 1442 |
| 1443 | 1443 |
| 1444 static void Generate_KeyedLoadIC_DebugBreak(MacroAssembler* masm) { | 1444 static void Generate_KeyedLoadIC_DebugBreak(MacroAssembler* masm) { |
| 1445 Debug::GenerateKeyedLoadICDebugBreak(masm); | 1445 DebugCodegen::GenerateKeyedLoadICDebugBreak(masm); |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 | 1448 |
| 1449 static void Generate_KeyedStoreIC_DebugBreak(MacroAssembler* masm) { | 1449 static void Generate_KeyedStoreIC_DebugBreak(MacroAssembler* masm) { |
| 1450 Debug::GenerateKeyedStoreICDebugBreak(masm); | 1450 DebugCodegen::GenerateKeyedStoreICDebugBreak(masm); |
| 1451 } | 1451 } |
| 1452 | 1452 |
| 1453 | 1453 |
| 1454 static void Generate_CompareNilIC_DebugBreak(MacroAssembler* masm) { | 1454 static void Generate_CompareNilIC_DebugBreak(MacroAssembler* masm) { |
| 1455 Debug::GenerateCompareNilICDebugBreak(masm); | 1455 DebugCodegen::GenerateCompareNilICDebugBreak(masm); |
| 1456 } | 1456 } |
| 1457 | 1457 |
| 1458 | 1458 |
| 1459 static void Generate_Return_DebugBreak(MacroAssembler* masm) { | 1459 static void Generate_Return_DebugBreak(MacroAssembler* masm) { |
| 1460 Debug::GenerateReturnDebugBreak(masm); | 1460 DebugCodegen::GenerateReturnDebugBreak(masm); |
| 1461 } | 1461 } |
| 1462 | 1462 |
| 1463 | 1463 |
| 1464 static void Generate_CallFunctionStub_DebugBreak(MacroAssembler* masm) { | 1464 static void Generate_CallFunctionStub_DebugBreak(MacroAssembler* masm) { |
| 1465 Debug::GenerateCallFunctionStubDebugBreak(masm); | 1465 DebugCodegen::GenerateCallFunctionStubDebugBreak(masm); |
| 1466 } | 1466 } |
| 1467 | 1467 |
| 1468 | 1468 |
| 1469 static void Generate_CallConstructStub_DebugBreak(MacroAssembler* masm) { | 1469 static void Generate_CallConstructStub_DebugBreak(MacroAssembler* masm) { |
| 1470 Debug::GenerateCallConstructStubDebugBreak(masm); | 1470 DebugCodegen::GenerateCallConstructStubDebugBreak(masm); |
| 1471 } | 1471 } |
| 1472 | 1472 |
| 1473 | 1473 |
| 1474 static void Generate_CallConstructStub_Recording_DebugBreak( | 1474 static void Generate_CallConstructStub_Recording_DebugBreak( |
| 1475 MacroAssembler* masm) { | 1475 MacroAssembler* masm) { |
| 1476 Debug::GenerateCallConstructStubRecordDebugBreak(masm); | 1476 DebugCodegen::GenerateCallConstructStubRecordDebugBreak(masm); |
| 1477 } | 1477 } |
| 1478 | 1478 |
| 1479 | 1479 |
| 1480 static void Generate_Slot_DebugBreak(MacroAssembler* masm) { | 1480 static void Generate_Slot_DebugBreak(MacroAssembler* masm) { |
| 1481 Debug::GenerateSlotDebugBreak(masm); | 1481 DebugCodegen::GenerateSlotDebugBreak(masm); |
| 1482 } | 1482 } |
| 1483 | 1483 |
| 1484 | 1484 |
| 1485 static void Generate_PlainReturn_LiveEdit(MacroAssembler* masm) { | 1485 static void Generate_PlainReturn_LiveEdit(MacroAssembler* masm) { |
| 1486 Debug::GeneratePlainReturnLiveEdit(masm); | 1486 DebugCodegen::GeneratePlainReturnLiveEdit(masm); |
| 1487 } | 1487 } |
| 1488 | 1488 |
| 1489 | 1489 |
| 1490 static void Generate_FrameDropper_LiveEdit(MacroAssembler* masm) { | 1490 static void Generate_FrameDropper_LiveEdit(MacroAssembler* masm) { |
| 1491 Debug::GenerateFrameDropperLiveEdit(masm); | 1491 DebugCodegen::GenerateFrameDropperLiveEdit(masm); |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 | 1494 |
| 1495 Builtins::Builtins() : initialized_(false) { | 1495 Builtins::Builtins() : initialized_(false) { |
| 1496 memset(builtins_, 0, sizeof(builtins_[0]) * builtin_count); | 1496 memset(builtins_, 0, sizeof(builtins_[0]) * builtin_count); |
| 1497 memset(names_, 0, sizeof(names_[0]) * builtin_count); | 1497 memset(names_, 0, sizeof(names_[0]) * builtin_count); |
| 1498 } | 1498 } |
| 1499 | 1499 |
| 1500 | 1500 |
| 1501 Builtins::~Builtins() { | 1501 Builtins::~Builtins() { |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1716 } | 1716 } |
| 1717 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1717 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
| 1718 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1718 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
| 1719 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 1719 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
| 1720 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1720 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
| 1721 #undef DEFINE_BUILTIN_ACCESSOR_C | 1721 #undef DEFINE_BUILTIN_ACCESSOR_C |
| 1722 #undef DEFINE_BUILTIN_ACCESSOR_A | 1722 #undef DEFINE_BUILTIN_ACCESSOR_A |
| 1723 | 1723 |
| 1724 | 1724 |
| 1725 } } // namespace v8::internal | 1725 } } // namespace v8::internal |
| OLD | NEW |