OLD | NEW |
1 // Copyright 2012 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 |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 void DoThrow(Object* exception, MessageLocation* location); | 778 void DoThrow(Object* exception, MessageLocation* location); |
779 // Checks if exception should be reported and finds out if it's | 779 // Checks if exception should be reported and finds out if it's |
780 // caught externally. | 780 // caught externally. |
781 bool ShouldReportException(bool* can_be_caught_externally, | 781 bool ShouldReportException(bool* can_be_caught_externally, |
782 bool catchable_by_javascript); | 782 bool catchable_by_javascript); |
783 | 783 |
784 // Attempts to compute the current source location, storing the | 784 // Attempts to compute the current source location, storing the |
785 // result in the target out parameter. | 785 // result in the target out parameter. |
786 void ComputeLocation(MessageLocation* target); | 786 void ComputeLocation(MessageLocation* target); |
787 | 787 |
788 // Override command line flag. | |
789 void TraceException(bool flag); | |
790 | |
791 // Out of resource exception helpers. | 788 // Out of resource exception helpers. |
792 Failure* StackOverflow(); | 789 Failure* StackOverflow(); |
793 Failure* TerminateExecution(); | 790 Failure* TerminateExecution(); |
794 void CancelTerminateExecution(); | 791 void CancelTerminateExecution(); |
795 | 792 |
796 // Administration | 793 // Administration |
797 void Iterate(ObjectVisitor* v); | 794 void Iterate(ObjectVisitor* v); |
798 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); | 795 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); |
799 char* Iterate(ObjectVisitor* v, char* t); | 796 char* Iterate(ObjectVisitor* v, char* t); |
800 void IterateThread(ThreadVisitor* v, char* t); | 797 void IterateThread(ThreadVisitor* v, char* t); |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1569 } | 1566 } |
1570 | 1567 |
1571 EmbeddedVector<char, 128> filename_; | 1568 EmbeddedVector<char, 128> filename_; |
1572 FILE* file_; | 1569 FILE* file_; |
1573 int scope_depth_; | 1570 int scope_depth_; |
1574 }; | 1571 }; |
1575 | 1572 |
1576 } } // namespace v8::internal | 1573 } } // namespace v8::internal |
1577 | 1574 |
1578 #endif // V8_ISOLATE_H_ | 1575 #endif // V8_ISOLATE_H_ |
OLD | NEW |