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 <memory> | 8 #include <memory> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 class Debug; | 89 class Debug; |
90 class PromiseOnStack; | 90 class PromiseOnStack; |
91 class Redirection; | 91 class Redirection; |
92 class Simulator; | 92 class Simulator; |
93 | 93 |
94 namespace interpreter { | 94 namespace interpreter { |
95 class Interpreter; | 95 class Interpreter; |
96 } | 96 } |
97 | 97 |
98 // Static indirection table for handles to constants. If a frame | |
99 // element represents a constant, the data contains an index into | |
100 // this table of handles to the actual constants. | |
101 // Static indirection table for handles to constants. If a Result | |
102 // represents a constant, the data contains an index into this table | |
103 // of handles to the actual constants. | |
104 typedef ZoneList<Handle<Object> > ZoneObjectList; | |
105 | |
106 #define RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate) \ | 98 #define RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate) \ |
107 do { \ | 99 do { \ |
108 Isolate* __isolate__ = (isolate); \ | 100 Isolate* __isolate__ = (isolate); \ |
109 if (__isolate__->has_scheduled_exception()) { \ | 101 if (__isolate__->has_scheduled_exception()) { \ |
110 return __isolate__->PromoteScheduledException(); \ | 102 return __isolate__->PromoteScheduledException(); \ |
111 } \ | 103 } \ |
112 } while (false) | 104 } while (false) |
113 | 105 |
114 // Macros for MaybeHandle. | 106 // Macros for MaybeHandle. |
115 | 107 |
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1689 | 1681 |
1690 EmbeddedVector<char, 128> filename_; | 1682 EmbeddedVector<char, 128> filename_; |
1691 FILE* file_; | 1683 FILE* file_; |
1692 int scope_depth_; | 1684 int scope_depth_; |
1693 }; | 1685 }; |
1694 | 1686 |
1695 } // namespace internal | 1687 } // namespace internal |
1696 } // namespace v8 | 1688 } // namespace v8 |
1697 | 1689 |
1698 #endif // V8_ISOLATE_H_ | 1690 #endif // V8_ISOLATE_H_ |
OLD | NEW |