OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 | 593 |
594 void Generate(MacroAssembler* masm); | 594 void Generate(MacroAssembler* masm); |
595 void SaveDoubles() { save_doubles_ = true; } | 595 void SaveDoubles() { save_doubles_ = true; } |
596 | 596 |
597 private: | 597 private: |
598 void GenerateCore(MacroAssembler* masm, | 598 void GenerateCore(MacroAssembler* masm, |
599 Label* throw_normal_exception, | 599 Label* throw_normal_exception, |
600 Label* throw_termination_exception, | 600 Label* throw_termination_exception, |
601 Label* throw_out_of_memory_exception, | 601 Label* throw_out_of_memory_exception, |
602 bool do_gc, | 602 bool do_gc, |
603 bool always_allocate_scope, | 603 bool always_allocate_scope); |
604 int alignment_skew = 0); | |
605 void GenerateThrowTOS(MacroAssembler* masm); | 604 void GenerateThrowTOS(MacroAssembler* masm); |
606 void GenerateThrowUncatchable(MacroAssembler* masm, | 605 void GenerateThrowUncatchable(MacroAssembler* masm, |
607 UncatchableExceptionType type); | 606 UncatchableExceptionType type); |
608 | 607 |
609 // Number of pointers/values returned. | 608 // Number of pointers/values returned. |
610 const int result_size_; | 609 const int result_size_; |
611 bool save_doubles_; | 610 bool save_doubles_; |
612 | 611 |
613 Major MajorKey() { return CEntry; } | 612 Major MajorKey() { return CEntry; } |
614 int MinorKey(); | 613 int MinorKey(); |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 private: | 930 private: |
932 MacroAssembler* masm_; | 931 MacroAssembler* masm_; |
933 bool previous_allow_; | 932 bool previous_allow_; |
934 | 933 |
935 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope); | 934 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope); |
936 }; | 935 }; |
937 | 936 |
938 } } // namespace v8::internal | 937 } } // namespace v8::internal |
939 | 938 |
940 #endif // V8_CODE_STUBS_H_ | 939 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |