OLD | NEW |
1 | 1 |
2 // Copyright 2011 the V8 project authors. All rights reserved. | 2 // Copyright 2011 the V8 project authors. All rights reserved. |
3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
5 // met: | 5 // met: |
6 // | 6 // |
7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
10 // copyright notice, this list of conditions and the following | 10 // copyright notice, this list of conditions and the following |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 __ nop(); | 641 __ nop(); |
642 } | 642 } |
643 | 643 |
644 ASSERT_EQ(table_entry_size_, masm()->SizeOfCodeGeneratedSince(&start)); | 644 ASSERT_EQ(table_entry_size_, masm()->SizeOfCodeGeneratedSince(&start)); |
645 } | 645 } |
646 | 646 |
647 ASSERT_EQ(masm()->SizeOfCodeGeneratedSince(&table_start), | 647 ASSERT_EQ(masm()->SizeOfCodeGeneratedSince(&table_start), |
648 count() * table_entry_size_); | 648 count() * table_entry_size_); |
649 } | 649 } |
650 | 650 |
651 | |
652 void FrameDescription::SetCallerPc(unsigned offset, intptr_t value) { | |
653 SetFrameSlot(offset, value); | |
654 } | |
655 | |
656 | |
657 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { | |
658 SetFrameSlot(offset, value); | |
659 } | |
660 | |
661 | |
662 #undef __ | 651 #undef __ |
663 | 652 |
664 | 653 |
665 } } // namespace v8::internal | 654 } } // namespace v8::internal |
OLD | NEW |