OLD | NEW |
1 // Copyright 2011 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 |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 virtual bool IsPregenerated(); | 625 virtual bool IsPregenerated(); |
626 static void GenerateAheadOfTime(); | 626 static void GenerateAheadOfTime(); |
627 | 627 |
628 private: | 628 private: |
629 void GenerateCore(MacroAssembler* masm, | 629 void GenerateCore(MacroAssembler* masm, |
630 Label* throw_normal_exception, | 630 Label* throw_normal_exception, |
631 Label* throw_termination_exception, | 631 Label* throw_termination_exception, |
632 Label* throw_out_of_memory_exception, | 632 Label* throw_out_of_memory_exception, |
633 bool do_gc, | 633 bool do_gc, |
634 bool always_allocate_scope); | 634 bool always_allocate_scope); |
635 void GenerateThrowTOS(MacroAssembler* masm); | |
636 void GenerateThrowUncatchable(MacroAssembler* masm, | |
637 UncatchableExceptionType type); | |
638 | 635 |
639 // Number of pointers/values returned. | 636 // Number of pointers/values returned. |
640 const int result_size_; | 637 const int result_size_; |
641 SaveFPRegsMode save_doubles_; | 638 SaveFPRegsMode save_doubles_; |
642 | 639 |
643 Major MajorKey() { return CEntry; } | 640 Major MajorKey() { return CEntry; } |
644 int MinorKey(); | 641 int MinorKey(); |
645 | 642 |
646 bool NeedsImmovableCode(); | 643 bool NeedsImmovableCode(); |
647 }; | 644 }; |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 int MinorKey() { return 0; } | 1113 int MinorKey() { return 0; } |
1117 | 1114 |
1118 void Generate(MacroAssembler* masm); | 1115 void Generate(MacroAssembler* masm); |
1119 | 1116 |
1120 DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub); | 1117 DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub); |
1121 }; | 1118 }; |
1122 | 1119 |
1123 } } // namespace v8::internal | 1120 } } // namespace v8::internal |
1124 | 1121 |
1125 #endif // V8_CODE_STUBS_H_ | 1122 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |