| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 : result_size_(result_size), mode_(mode) { } | 418 : result_size_(result_size), mode_(mode) { } |
| 419 | 419 |
| 420 void Generate(MacroAssembler* masm); | 420 void Generate(MacroAssembler* masm); |
| 421 | 421 |
| 422 private: | 422 private: |
| 423 void GenerateCore(MacroAssembler* masm, | 423 void GenerateCore(MacroAssembler* masm, |
| 424 Label* throw_normal_exception, | 424 Label* throw_normal_exception, |
| 425 Label* throw_termination_exception, | 425 Label* throw_termination_exception, |
| 426 Label* throw_out_of_memory_exception, | 426 Label* throw_out_of_memory_exception, |
| 427 bool do_gc, | 427 bool do_gc, |
| 428 bool always_allocate_scope); | 428 bool always_allocate_scope, |
| 429 int alignment_skew = 0); |
| 429 void GenerateThrowTOS(MacroAssembler* masm); | 430 void GenerateThrowTOS(MacroAssembler* masm); |
| 430 void GenerateThrowUncatchable(MacroAssembler* masm, | 431 void GenerateThrowUncatchable(MacroAssembler* masm, |
| 431 UncatchableExceptionType type); | 432 UncatchableExceptionType type); |
| 432 | 433 |
| 433 // Number of pointers/values returned. | 434 // Number of pointers/values returned. |
| 434 const int result_size_; | 435 const int result_size_; |
| 435 const ExitFrame::Mode mode_; | 436 const ExitFrame::Mode mode_; |
| 436 | 437 |
| 437 // Minor key encoding | 438 // Minor key encoding |
| 438 class ExitFrameModeBits: public BitField<ExitFrame::Mode, 0, 1> {}; | 439 class ExitFrameModeBits: public BitField<ExitFrame::Mode, 0, 1> {}; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 private: | 608 private: |
| 608 Major MajorKey() { return ToBoolean; } | 609 Major MajorKey() { return ToBoolean; } |
| 609 int MinorKey() { return 0; } | 610 int MinorKey() { return 0; } |
| 610 }; | 611 }; |
| 611 | 612 |
| 612 | 613 |
| 613 } // namespace internal | 614 } // namespace internal |
| 614 } // namespace v8 | 615 } // namespace v8 |
| 615 | 616 |
| 616 #endif // V8_CODEGEN_H_ | 617 #endif // V8_CODEGEN_H_ |
| OLD | NEW |