| 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 } | 614 } |
| 615 | 615 |
| 616 inline Object* scheduled_exception(); | 616 inline Object* scheduled_exception(); |
| 617 inline bool has_scheduled_exception(); | 617 inline bool has_scheduled_exception(); |
| 618 inline void clear_scheduled_exception(); | 618 inline void clear_scheduled_exception(); |
| 619 | 619 |
| 620 bool IsJavaScriptHandlerOnTop(Object* exception); | 620 bool IsJavaScriptHandlerOnTop(Object* exception); |
| 621 bool IsExternalHandlerOnTop(Object* exception); | 621 bool IsExternalHandlerOnTop(Object* exception); |
| 622 | 622 |
| 623 inline bool is_catchable_by_javascript(Object* exception); | 623 inline bool is_catchable_by_javascript(Object* exception); |
| 624 inline bool is_catchable_by_wasm(Object* exception); | |
| 625 | 624 |
| 626 // JS execution stack (see frames.h). | 625 // JS execution stack (see frames.h). |
| 627 static Address c_entry_fp(ThreadLocalTop* thread) { | 626 static Address c_entry_fp(ThreadLocalTop* thread) { |
| 628 return thread->c_entry_fp_; | 627 return thread->c_entry_fp_; |
| 629 } | 628 } |
| 630 static Address handler(ThreadLocalTop* thread) { return thread->handler_; } | 629 static Address handler(ThreadLocalTop* thread) { return thread->handler_; } |
| 631 Address c_function() { return thread_local_top_.c_function_; } | 630 Address c_function() { return thread_local_top_.c_function_; } |
| 632 | 631 |
| 633 inline Address* c_entry_fp_address() { | 632 inline Address* c_entry_fp_address() { |
| 634 return &thread_local_top_.c_entry_fp_; | 633 return &thread_local_top_.c_entry_fp_; |
| (...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 | 1672 |
| 1674 EmbeddedVector<char, 128> filename_; | 1673 EmbeddedVector<char, 128> filename_; |
| 1675 FILE* file_; | 1674 FILE* file_; |
| 1676 int scope_depth_; | 1675 int scope_depth_; |
| 1677 }; | 1676 }; |
| 1678 | 1677 |
| 1679 } // namespace internal | 1678 } // namespace internal |
| 1680 } // namespace v8 | 1679 } // namespace v8 |
| 1681 | 1680 |
| 1682 #endif // V8_ISOLATE_H_ | 1681 #endif // V8_ISOLATE_H_ |
| OLD | NEW |