| 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 <queue> | 8 #include <queue> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 MessageLocation* location); | 737 MessageLocation* location); |
| 738 | 738 |
| 739 // Out of resource exception helpers. | 739 // Out of resource exception helpers. |
| 740 Object* StackOverflow(); | 740 Object* StackOverflow(); |
| 741 Object* TerminateExecution(); | 741 Object* TerminateExecution(); |
| 742 void CancelTerminateExecution(); | 742 void CancelTerminateExecution(); |
| 743 | 743 |
| 744 void RequestInterrupt(InterruptCallback callback, void* data); | 744 void RequestInterrupt(InterruptCallback callback, void* data); |
| 745 void InvokeApiInterruptCallbacks(); | 745 void InvokeApiInterruptCallbacks(); |
| 746 | 746 |
| 747 void RequestMemoryPressureInterrupt(); |
| 748 |
| 747 // Administration | 749 // Administration |
| 748 void Iterate(ObjectVisitor* v); | 750 void Iterate(ObjectVisitor* v); |
| 749 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); | 751 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); |
| 750 char* Iterate(ObjectVisitor* v, char* t); | 752 char* Iterate(ObjectVisitor* v, char* t); |
| 751 void IterateThread(ThreadVisitor* v, char* t); | 753 void IterateThread(ThreadVisitor* v, char* t); |
| 752 | 754 |
| 753 // Returns the current native context. | 755 // Returns the current native context. |
| 754 Handle<Context> native_context(); | 756 Handle<Context> native_context(); |
| 755 | 757 |
| 756 // Returns the native context of the calling JavaScript code. That | 758 // Returns the native context of the calling JavaScript code. That |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1566 | 1568 |
| 1567 EmbeddedVector<char, 128> filename_; | 1569 EmbeddedVector<char, 128> filename_; |
| 1568 FILE* file_; | 1570 FILE* file_; |
| 1569 int scope_depth_; | 1571 int scope_depth_; |
| 1570 }; | 1572 }; |
| 1571 | 1573 |
| 1572 } // namespace internal | 1574 } // namespace internal |
| 1573 } // namespace v8 | 1575 } // namespace v8 |
| 1574 | 1576 |
| 1575 #endif // V8_ISOLATE_H_ | 1577 #endif // V8_ISOLATE_H_ |
| OLD | NEW |