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