OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
7 | 7 |
8 #include "../include/v8-debug.h" | 8 #include "../include/v8-debug.h" |
9 #include "allocation.h" | 9 #include "allocation.h" |
10 #include "assert-scope.h" | 10 #include "assert-scope.h" |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 bool ShouldReportException(bool* can_be_caught_externally, | 749 bool ShouldReportException(bool* can_be_caught_externally, |
750 bool catchable_by_javascript); | 750 bool catchable_by_javascript); |
751 | 751 |
752 // Attempts to compute the current source location, storing the | 752 // Attempts to compute the current source location, storing the |
753 // result in the target out parameter. | 753 // result in the target out parameter. |
754 void ComputeLocation(MessageLocation* target); | 754 void ComputeLocation(MessageLocation* target); |
755 | 755 |
756 // Out of resource exception helpers. | 756 // Out of resource exception helpers. |
757 Object* StackOverflow(); | 757 Object* StackOverflow(); |
758 Object* TerminateExecution(); | 758 Object* TerminateExecution(); |
| 759 bool IsExecutionTerminating(); |
759 void CancelTerminateExecution(); | 760 void CancelTerminateExecution(); |
760 | 761 |
761 void InvokeApiInterruptCallback(); | 762 void InvokeApiInterruptCallback(); |
762 | 763 |
763 // Administration | 764 // Administration |
764 void Iterate(ObjectVisitor* v); | 765 void Iterate(ObjectVisitor* v); |
765 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); | 766 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); |
766 char* Iterate(ObjectVisitor* v, char* t); | 767 char* Iterate(ObjectVisitor* v, char* t); |
767 void IterateThread(ThreadVisitor* v, char* t); | 768 void IterateThread(ThreadVisitor* v, char* t); |
768 | 769 |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 } | 1484 } |
1484 | 1485 |
1485 EmbeddedVector<char, 128> filename_; | 1486 EmbeddedVector<char, 128> filename_; |
1486 FILE* file_; | 1487 FILE* file_; |
1487 int scope_depth_; | 1488 int scope_depth_; |
1488 }; | 1489 }; |
1489 | 1490 |
1490 } } // namespace v8::internal | 1491 } } // namespace v8::internal |
1491 | 1492 |
1492 #endif // V8_ISOLATE_H_ | 1493 #endif // V8_ISOLATE_H_ |
OLD | NEW |