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); |
624 | 625 |
625 // JS execution stack (see frames.h). | 626 // JS execution stack (see frames.h). |
626 static Address c_entry_fp(ThreadLocalTop* thread) { | 627 static Address c_entry_fp(ThreadLocalTop* thread) { |
627 return thread->c_entry_fp_; | 628 return thread->c_entry_fp_; |
628 } | 629 } |
629 static Address handler(ThreadLocalTop* thread) { return thread->handler_; } | 630 static Address handler(ThreadLocalTop* thread) { return thread->handler_; } |
630 Address c_function() { return thread_local_top_.c_function_; } | 631 Address c_function() { return thread_local_top_.c_function_; } |
631 | 632 |
632 inline Address* c_entry_fp_address() { | 633 inline Address* c_entry_fp_address() { |
633 return &thread_local_top_.c_entry_fp_; | 634 return &thread_local_top_.c_entry_fp_; |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1672 | 1673 |
1673 EmbeddedVector<char, 128> filename_; | 1674 EmbeddedVector<char, 128> filename_; |
1674 FILE* file_; | 1675 FILE* file_; |
1675 int scope_depth_; | 1676 int scope_depth_; |
1676 }; | 1677 }; |
1677 | 1678 |
1678 } // namespace internal | 1679 } // namespace internal |
1679 } // namespace v8 | 1680 } // namespace v8 |
1680 | 1681 |
1681 #endif // V8_ISOLATE_H_ | 1682 #endif // V8_ISOLATE_H_ |
OLD | NEW |