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 "include/v8-debug.h" | 9 #include "include/v8-debug.h" |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 Code* pending_handler_code_; | 279 Code* pending_handler_code_; |
280 intptr_t pending_handler_offset_; | 280 intptr_t pending_handler_offset_; |
281 Address pending_handler_fp_; | 281 Address pending_handler_fp_; |
282 Address pending_handler_sp_; | 282 Address pending_handler_sp_; |
283 | 283 |
284 // Communication channel between Isolate::Throw and message consumers. | 284 // Communication channel between Isolate::Throw and message consumers. |
285 bool has_pending_message_; | 285 bool has_pending_message_; |
286 bool rethrowing_message_; | 286 bool rethrowing_message_; |
287 Object* pending_message_obj_; | 287 Object* pending_message_obj_; |
288 Object* pending_message_script_; | 288 Object* pending_message_script_; |
289 int pending_message_start_pos_; | |
290 int pending_message_end_pos_; | |
291 | 289 |
292 // Use a separate value for scheduled exceptions to preserve the | 290 // Use a separate value for scheduled exceptions to preserve the |
293 // invariants that hold about pending_exception. We may want to | 291 // invariants that hold about pending_exception. We may want to |
294 // unify them later. | 292 // unify them later. |
295 Object* scheduled_exception_; | 293 Object* scheduled_exception_; |
296 bool external_caught_exception_; | 294 bool external_caught_exception_; |
297 SaveContext* save_context_; | 295 SaveContext* save_context_; |
298 v8::TryCatch* catcher_; | 296 v8::TryCatch* catcher_; |
299 | 297 |
300 // Stack. | 298 // Stack. |
(...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1594 } | 1592 } |
1595 | 1593 |
1596 EmbeddedVector<char, 128> filename_; | 1594 EmbeddedVector<char, 128> filename_; |
1597 FILE* file_; | 1595 FILE* file_; |
1598 int scope_depth_; | 1596 int scope_depth_; |
1599 }; | 1597 }; |
1600 | 1598 |
1601 } } // namespace v8::internal | 1599 } } // namespace v8::internal |
1602 | 1600 |
1603 #endif // V8_ISOLATE_H_ | 1601 #endif // V8_ISOLATE_H_ |
OLD | NEW |